1Carefully read the question and answer accordingly.Which of the following commands is used for an automatic remainder service?
A.Calendar
write
mail
mesg
Ans: A
Carefully read the question and answer accordingly.
How to execute ls command inside a vi editor?
A.we can’t execute
!ls
:!ls a
:ls
3.Carefully read the question and answer accordingly.Which of the following keys is used to move the cursor to the end of the paragraph?
A.|
$
} a
{
4.Carefully read the question and answer accordingly.
The telnet command is used to communicate with another host using ------ protocol.
A.SOS
TCP\IP a
SWAG
TELNET a
5.What command is used to delete a directory?
A.deldir
rmvdir
rmdir a
delete
6.Carefully read the question and answer accordingly.
State whether TRUE or FALSE:
The “cat” utility can be used to open a file and even concatenate a file.
FALSE
TRUE a
7.
Carefully read the question and answer accordingly.
Unix file System -----
Single path name must NOT LONGER than 1023 chars
File tree can be arbitrarily deep.
All of the listed options a
File name must NOT LONGER than 256 chars.
8.Carefully read the question and answer accordingly.Which command is used to display the top of the file?
grep
more
cat
head a
9.Carefully read the question and answer accordingly.
Which of the below statement are true about Shell script?
Enhances portability
Needs to compilation
is not good in arthimetic operations
All of the listed options a
9.Carefully read the question and answer accordingly.What do you use to forward errors to a file?
1> filename
2> filename a
&> filename
2> /dev/null
11.Which of the utility can be used for searching lines or specific strings of characters in one or more files?
more
pr
grep a
shell
12.Carefully read the question and answer accordingly.Which one of the following options is not a shell in UNIX system?
Bourne Shee
Net Shell a
Korn shell
C shell
13.Which command is used to copy all files having the string chap and any two characters after that to the progs directory?
cp chap[12] /progs/*.*
cp chap?? progs a
cp chap?? /progs/*
cp chap* progs
14.Who needs to possess the superuser account?
System administrator a
Ordinary users
Department manager
President of the company
15.Which command sends the word count of the file infile to the newfile?
wc infile - newfile
wc infile | newfile
wc newfile
wc infile >newfile a
16.Which symbol will be used with grep command to match the pattern pat at the beginning of a line?
^pat a
$pat
pat^
pat$
17.Carefully read the question and answer accordingly.The advantage of binary files over text files is that ----------
all of the listed options
it can be accessed faster
they are more reliable a
it is compact
18.Carefully read the question and answer accordingly.Which of the following is not a communication command?
mesg
mail
grep a
write
19.Carefully read the question and answer accordingly.
What is Unix Shell?
It is an editor application
Kernel process scheduler
Command line interpreter a
All of the listed options
20.n which section of a process,the information about the arguments to the program are available?
Text
Data
Stack a
user Block
A.Calendar
write
mesg
Ans: A
Carefully read the question and answer accordingly.
How to execute ls command inside a vi editor?
A.we can’t execute
!ls
:!ls a
:ls
3.Carefully read the question and answer accordingly.Which of the following keys is used to move the cursor to the end of the paragraph?
A.|
$
} a
{
4.Carefully read the question and answer accordingly.
The telnet command is used to communicate with another host using ------ protocol.
A.SOS
TCP\IP a
SWAG
TELNET a
5.What command is used to delete a directory?
A.deldir
rmvdir
rmdir a
delete
6.Carefully read the question and answer accordingly.
State whether TRUE or FALSE:
The “cat” utility can be used to open a file and even concatenate a file.
FALSE
TRUE a
7.
Carefully read the question and answer accordingly.
Unix file System -----
Single path name must NOT LONGER than 1023 chars
File tree can be arbitrarily deep.
All of the listed options a
File name must NOT LONGER than 256 chars.
8.Carefully read the question and answer accordingly.Which command is used to display the top of the file?
grep
more
cat
head a
9.Carefully read the question and answer accordingly.
Which of the below statement are true about Shell script?
Enhances portability
Needs to compilation
is not good in arthimetic operations
All of the listed options a
9.Carefully read the question and answer accordingly.What do you use to forward errors to a file?
1> filename
2> filename a
&> filename
2> /dev/null
11.Which of the utility can be used for searching lines or specific strings of characters in one or more files?
more
pr
grep a
shell
12.Carefully read the question and answer accordingly.Which one of the following options is not a shell in UNIX system?
Bourne Shee
Net Shell a
Korn shell
C shell
13.Which command is used to copy all files having the string chap and any two characters after that to the progs directory?
cp chap[12] /progs/*.*
cp chap?? progs a
cp chap?? /progs/*
cp chap* progs
14.Who needs to possess the superuser account?
System administrator a
Ordinary users
Department manager
President of the company
15.Which command sends the word count of the file infile to the newfile?
wc infile - newfile
wc infile | newfile
wc newfile
wc infile >newfile a
16.Which symbol will be used with grep command to match the pattern pat at the beginning of a line?
^pat a
$pat
pat^
pat$
17.Carefully read the question and answer accordingly.The advantage of binary files over text files is that ----------
all of the listed options
it can be accessed faster
they are more reliable a
it is compact
18.Carefully read the question and answer accordingly.Which of the following is not a communication command?
mesg
grep a
write
19.Carefully read the question and answer accordingly.
What is Unix Shell?
It is an editor application
Kernel process scheduler
Command line interpreter a
All of the listed options
20.n which section of a process,the information about the arguments to the program are available?
Text
Data
Stack a
user Block
No comments:
Post a Comment