No student devices needed. Know more
21 questions
Which of the following can be used to know about a command?
ls
man
cat
mkdir
Which of the following commands is used to display the directory attributes
cat
ls
mkdir
cp
Which command is used to remove a file?
remove
del
rm
mv
The following command can list out all the current active logins.
A - whoami
B - who am i
C - who
D - None of the above.
In a system, if 5 people are currently using the vi editor. then the number of corresponding processes will be
1
5
2
0
Which of the following commands can not accept an argument
pwd
ls
mkdir
None of the above
The mv command changes
Only the directory entry
Only the directory entry and i-node
Only the i-node number
None of the above
Unix is a
Single User, Single tasking OS
Single User, Multi-tasking OS
Multi-User, Multi- tasking OS
None
Unix operating system is written in
Ada Language
Perl Language
C Language
Pascal Language
Which command is used to create a file
ls
cat
man
pwd
A process is ___
A - Collection of threads
B - A thread
C - A running program
D- Software
Which key combination can save the written program in vi?
A - qw
B - save
C - wq
D - wq!
Choose option to list files by modification time.
ls –mt
ls –t
ls –a
ls –l
What is the key combination to indicate for most of the UNIX command that input is completed?
Ctrl+d
Ctrl+c
Ctrl+x
None of the above.
What does the following command do?
$ chmod o-x; u-r wine
Execute permission for others is removed
Read permission for others is added
Read permission for user is added
Read permission for user is removed
BOTH A AND d
On a typical UNIX installation kernel resides in the following directory?
/home
/ OR /boot
/image
None of the above.
Out of the following which can place in home directory?
cd
cd ~
cd .
None.
Which symbol will be used with grep command to match the pattern pat at the beginning of a line?
^pat
$pat
pat$
pat^
None of the above
Which command sends the word count of the file infile to the newfile.
$wc infile <newfile
$wc infile >newfile
$wc infile - newfile
$wc infile | newfile
Which command is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric characters?
more [emp][!0-9]
cat emp[!0-9]
cat emp[a-z]
cat emp[x-z]
Which symbol is used to separate more than one command in the same command line?
$
#
:
;
^
Explore all questions with a free account