Linux MCQs with answers Page - 82

Here, you will find a collection of MCQ questions on Linux. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 833.24K Points
Coach

Q. Which menuconfig/xconfig menu has the disk configuration options?

  • (A) General setup
  • (B) SCSI devices
  • (C) File systems
  • (D) Block devices

A

Admin • 833.24K Points
Coach

Q. Which script is executed when a nonlogin bash shell is started?

  • (A) .cshrc
  • (B) /etc/profile
  • (C) .bash_nologin
  • (D) .bashrc

A

Admin • 833.24K Points
Coach

Q. Which command inserts text into vi at the current cursor location?

  • (A) i
  • (B) T
  • (C) f
  • (D) a

A

Admin • 833.24K Points
Coach

Q. Where are user crontab files stored?

  • (A) ~/.cron
  • (B) /var/spool/cron
  • (C) /var/spool
  • (D) /etc/crontab

A

Admin • 833.24K Points
Coach

Q. The proper way to tar files without compressing is:

  • (A) tar -cvzf backup.tar /home/Jason
  • (B) tar -zvf backup.gz /home/Jason
  • (C) tar -cvf backup.tar /home/Jason
  • (D) none of these

A

Admin • 833.24K Points
Coach

Q. To limit the amount of space core dumps may occupy use:

  • (A) ~/.ulimit
  • (B) quota
  • (C) ulimit
  • (D) climit

A

Admin • 833.24K Points
Coach

Q. Which type of backup is used to back up only the files that have changed since the last full backup?

  • (A) Differential
  • (B) Incremental
  • (C) Partial
  • (D) Full

A

Admin • 833.24K Points
Coach

Q. Which mode of cpio is used to copy files from an archive file?

  • (A) Copy-out
  • (B) Copy-in
  • (C) Copy-pass
  • (D) none of these

A

Admin • 833.24K Points
Coach

Q. The default location of the system log containing login times for users is:

  • (A) var/log/login
  • (B) /var/log/lastlog
  • (C) /var/log/users
  • (D) /var/log/utmp

A

Admin • 833.24K Points
Coach

Q. Which option on the cron command is used to display entries in the current crontab?

  • (A) -e
  • (B) -r
  • (C) -l
  • (D) -s

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ