top of page

Multiple Choice Q & A- 1

Writer's picture: easSylinuxeasSylinux

1) Which command is used to count the total number of lines, words and characters contained in a file?


A) count

B) ls

C) wc

D) None of the above


Ans: C) wc


2) Which command is used to find the kernel version?


A) Kernel

B) uname –r

C) uname –v

D) version


Ans: B) uname -r


3) Which of the following command is used to create file Linux?


A) cat

B) touch

C) echo

D) all of the above


Ans: D) all of the above


4) Which command is used to change the permission of file?


A) chmod

B) chown

C) mv

D) umask


Ans: A) chmod


5) Out of following, which is not the communication command?


A) ping

B) telnet

C) mesg

D) grep


Ans: D) grep


6) Where system and mail logs are found in Linux?


A) /var/log/

B) /etc/log/

C) /mail/

D) All of the above


Ans: A) /var/log/


7) How many standard run levels are present in Linux?


A) 6

B) 7

C) 1

D) 3


Ans: B) 7


8) Where we will found the record of new user created by superuser?


A) /etc/default/

B) /etc/passwd/

C) /etc/default/useradd/

D) /etc/


Ans: B) /etc/passwd


9) How to check the password aging of any user?


A) chown –l <username>

B) chage –l <username>

C) chage –r <username>

D) option B and C


Ans: B) chage –l <username>


10) Which port is being utilized for File Transfer Protocol (FTP)?


A) 22

B) 21

C) 17

D) 39


Ans: B) 21


11) Which port is being utilized for HyperText Transfer Protocol (HTTP) for World Wide Web (WWW) services?


A) 80

B) 102

C) 101

D) None of the above


Ans: A) 80


12) Which service allows remote hosts to mount file systems over a network?


A) ssh

B) NFS

C) DNS

D) DHCP


Ans: B) NFS


13) Where the kernel parameters are defined in Linux?


A) /etc/sysctl.conf

B) /etc/proc/

C) /var/

D) Both B and C


Ans: A) /etc/sysctl.conf


14) Where we can find the CPU information in Linux?


A) /etc/sysctl.conf

B) /etc/proc/cpuinfo

C) /proc/cpuinfo

D) None of the above


Ans: C) /proc/cpuinfo


15) Which directory is for temporarily mounted file systems?


A) /lib/

B) /etc/

C) /proc/

D) /mnt/


Ans: D) /mnt/


16) What is the significance of /usr?


A) Stores temporary files.

B) Stores application programs

C) Stores log files, mails & other data

D) This is root directory


Ans: B) Stores application program


17) Which of the following command is used for back up in Linux?


A) mv

B) cp

C) rsync

D) None of the above


Ans: C) rsync


18) Proc file system provides information about?


A) Processes

B) Processor

C) Pseudo File System

D) Proxy Server


Ans: A) Processes


19) The files of /proc directory are


A) Stored in secondary memory

B) Generated by the kernel

C) IP address of the system

D) None of the above


Ans: B) Generated by the kernel


20) How to run the process in background?


A) &

B) *

C) !

D) ?


Ans: A) &



82 views0 comments

Commenti


Never Miss a Post. Subscribe Now!

connect with us and stay in loop with easSylinux

© easSylinux
bottom of page