OS2
OS2
Functions defined in the current shell are available to all the subshell
Correct Answer : F
Your Answer :
Correct Answer : T
Your Answer :
Q3. Setting made using stty in a shell script are effective only during
the execution of the script.The orignal setting are restored the moment
Correct Answer : F
Your Answer :
Q4. we can trap a signal such that on occurence of that signal a particular
Correct Answer : T
Your Answer :
Q5. Binary executables required for system administration are usually placed in /etc.
Correct Answer : T
Your Answer :
Your Answer :
Q7. To list hidden as well as normal files in thr current directory the command you would use is--
1. ls - a
2. ls - b
3. ls - l
4. None of above.
Correct Answer : 1
Your Answer :
Correct Answer : F
Your Answer :
Correct Answer : F
Your Answer :
Q10. A PC having its own harddisk and memory continue to use them when it is acting as a terminal for a
host machine.
Correct Answer : F
Your Answer :
Correct Answer : T
Your Answer :
Correct Answer : F
Your Answer :
Correct Answer : F
Your Answer :
echo Hello
echo${newname+Arora}
1. Hello
Hello
2. Error
4. Hello
Hello
Hello
Correct Answer : 4
Your Answer :
Q15. All the utilities, applications, directories and data in Unix are stored as files.
Correct Answer : T
Your Answer :
Q16. The file that controls the printer is stored in a sub-directory called printer created by system
admin.
Correct Answer : F
Your Answer :
Q17. Read,write,execute permissions to a file created by you can be alter by other user
Correct Answer : F
Your Answer :
Q18. How would you perform the following operations on the contents of a given file.
insert a> and a space at the start of every line in the file
1. 1,$s/^/>[][]/g
2. 1,$s/>[][]/g
3. 1,$s/^/>[]/g
Correct Answer : 1
Your Answer :
1. True
2. False
Correct Answer : 4
Your Answer :
Q20. Purpose of .exrc file is convinient way to customize the vi environment and like all
good things you shold put it to utmost use to improve your efficiency .
Correct Answer : T
Your Answer :
a=b
b=c d=c
echo $$b
echo $$$d
1. 521b
521c
2. 512b
512c
3. 100b
100c
4. none of the above
Correct Answer : 1
Your Answer :
Q22. Unix uses serial multitasking to support various programs running in memory
Correct Answer : F
Your Answer :
Q23. the command used for flip the case from upper to lower or vice versa.......
is ~
Correct Answer : T
Your Answer :
Correct Answer : F
Your Answer :
Q25. Comments can be spilt over multiple lines if each line is preceded
by #
Correct Answer : T
Your Answer :
Q26. to delete 5 lines from file & to copy them to buffer x we use "x5dd
Correct Answer : T
Your Answer :
QuestionID : 11479 Subject Name Linux
at 0915am Mar 24
ctrl d
------------------------------------------
Correct Answer : T
Your Answer :
Q28. If the printer goes out of order the system administrator can ensure that the system refuses to
accept new printing job
Correct Answer : T
Your Answer :
Correct Answer : F
Your Answer :
Q30. The file /bin/sysadmsh can be executed only by the system admin.
Correct Answer : T
Your Answer :
1. a=`ls`
2. b=`ls-l`
3. c=`1972`
4. d=`who|grep aal`
Correct Answer : 3
Your Answer :
Correct Answer : 4
Your Answer :
Q33. For a person to receive messages he should have his terminal set to a parameter which will allow
him receive messages.
1. message -on
2. msg -o
3. mesg -y
4. message -y
Correct Answer : 3
Your Answer :
Q34. we can change the prompt to What Next while using the more command
Correct Answer : F
Your Answer :
Correct Answer : 1
Your Answer :
Q36. There is no need to make file system on a disk if we are going to use it only to back up files on it.
Correct Answer : T
Your Answer :
Correct Answer : F
Your Answer :
Correct Answer : F
Your Answer :
1. $1 would be -3
2. $1 would be -
3. $1 would be set
Correct Answer : 4
Your Answer :
Q40. if there are number of file systems then each one will have its own
block
Correct Answer : T
Your Answer :
Q41. A tar command is can be used to list all the backed up files present on floppy disk.
Correct Answer : T
Your Answer :
Q42. Unix commands which accept the input from standard input device
and send the output to the standard output device are known as
filters.
Correct Answer : T
Your Answer :
Q43. k=35
1. blank line
2. dotted line
3. error
4. none
Correct Answer : 1
Your Answer :
[$i=5 -a $z - gt5]
echo $?
1. 1
2. 0
3. none
4. error
Correct Answer : 1
Your Answer :
Q45. To perform the numeric test we must use -ge instead of >=
Correct Answer : T
Your Answer :
Correct Answer : T
Your Answer :
2. list of users who are not allowed to use the "at" command
Correct Answer : 2
Your Answer :
Correct Answer : F
Your Answer :
Correct Answer : F
Your Answer :
4. none
Correct Answer : 1