Top 150+ Solved Linux Programming MCQ Questions Answer

From 76 to 90 of 196

Q. What command do you use to create Linux file systems?

a. fdisk

b. mkfs

c. fsck

d. mount

  • b. mkfs

Q. What command is used to list the files chap0l, chap02 and chap04?

a. ls chap*

b. ls chap[124]

c. ls - x chap0[124]

d. ls chap0[124]

  • c. ls - x chap0[124]

Q. What command is used to add printing jobs to the queue?

a. lpd

b. lpr

c. lpq

d. lpc

  • b. lpr

Q. What command is used to list contents of directories?

a. tar

b. dir

c. lp

d. ls

  • d. ls

Q. Command used to determine the path of an executable file is

a. which

b. where

c. wexec

d. what

  • a. which

Q. Command used to count number of character in a file is

a. grep

b. wc

c. count

d. cut

  • b. wc

Q. Which of the following command output contains userid?

a. ls

b. help

c. date

d. ls –l

  • d. ls –l

Q. pwd command displays

a. user password

b. password file content

c. present working directory

d. none of the mentioned

  • c. present working directory
Subscribe Now

Get All Updates & News