Professional Documents
Culture Documents
MCQ Module2
MCQ Module2
ANDHRA PRADESH
EXAMINATION CELL
C Type
D Ls –l
A print
B ptr
C lpr YES
A –l
B -o
C –a
D –i YES
A which YES
B where
C wexec
D what
A grep
B wc YES
C count
D cut
A less YES
B sed
C pause
D grep
B windows
B private-key cryptography
A port 21
B port 22 YES
C port 23
D port 24
A telnet
B rlogin
A public-key
B host based
C password
21 Lpq command
D none
22 Lpr command
23 Who command is
24 Who am I command is
C Both A and B
D none
25 Su stands for
B Subuser
C Both A and B
D None
C Both A and B
D None
28 script command
D none
29 Whichis command is
30 Locate command
C Finds printers
D none
31 Free command is used to
D Deletes space
D none
B Cat >filename
C Cat>>filename
D none
D none
36 Pipe command
C Added to a command
D All YES
37 Passwd command
C Changes username
D none
38 To display current path in which we are
A cd
B Show directory
C pwd YES
D none
A \
B / YES
C ./
D none
A Man
B Info
C Help
D All YES
41 To copy files or directories we use
A Copy command
B Cp command YES
C Cpy command
D none
42 Top command is used to
A Display top of the stack
B Displays the linux processes YES
C Shows the recent commands types
D none
43 Kill command is used to
A Terminate a process YES
B Find the process and display its status
C Stop the system
D none
44 To print the first n lines we use the
following command
A Head filename
B Head -n num filename YES
C Head -n filename
D none
45 To display last lines of a file
A Head
B Tail YES
C Last
D none
46 Ps command is used to
A Display the list of processes that are
terminated
B writes the status of active processes YES
C Displays the list of users that are running
the processes
D none
47 The command used to compress in linux
A Tar
B Gzip
C Bzip
D All YES
48 xz command is used to
A Compress or decompress files YES
B Execute a file
C Delete files
D none
49 File command is used to
A Displays files in a directory
B Lists the files with new extensions
C determine the type of a file YES
D none
50 Sort command is used to
A Sort file contents
B Sort list obtained by ls command
C Sort can be applied using pipe
D All the above YES