Search This Blog

Thursday, February 5, 2009

Linux questions????????/

Linux is a ---------------Operating System
Multi User

Protocols used by Linux are
TCP/IP &UUCP

ls -o is used for
Except Group

ls - t is used for
Sort by time stamp

mkdir - p is used for
Making directory under parent directory.
Making directory non existing parent directory.
Specified the mode of directory.
None of the above
answer B

Which command is used to see the content of a file
more
cp
cat
rmdir
answer C

who -h is used to
Print column headings


Which command is used to see the system date?
date

What will be the output of the command 'tail sample'?
Last 10 lines of the file.

Which command is used to compare files?
cmp

The --------- command sorts lines of all the named files.
sort

The main function of grep is
look for numeric
look for string match a regular expression..
look for string without regular expression.
None of them.
answer B

What is the relation between grep & egrep
egrap is a mother of grep.
Egrap is totally difference
Egrap is a another version of grep.
None of these.
answer C

Which command is used for character translation?
td vi tr tail C

Output of the command 'wc ' is
Show only line Show only word. Show alphabet, line, word. Show only file name. C

/dev is used for
Executable file Contains include file Contain compiler file. Device file & resource file. D

ls j?e - output will be
Filenames with 3 charcter Filenames with 4 charcter Filenames with 5 charcter Filenames with 10 charcter

The symbol of wildcard(s) is
w `
? * None of the above. C

output of 'sort > shoppinglist' is
Sorting file but not save in file. Without sorting but save in file. Sorting and save in a file. All of the above. C

What is the meaning of chmod 444 stuf?
Gives all user write permission. Gives all user execute permission. Gives all user read permission. All of the above.
C

command for changing the permission relating to files is
chmod

Read & Write permission means
1 6 2 0
B

chmod 632 stuff means
Gives read & write& execute permission for owner write & execute for group read permission for other.
Gives read & write permission for owner write & execute for group Write permission for other. Gives write permission for owner write & execute for group Write permission for other.
Gives read & write permission for owner read & execute for group Write permission for other.
answer B

To see the process status which command you will use?
chmod ps ls-l head
answer B

There can be only ----- job in foreground.
1 2 3 4
A

No comments:

Post a Comment