Linux Utility Commands Aptitude Questions and Answers

Linux Utility Commands Aptitude Questions and Answers: This section contains aptitude questions and answers on Linux Utility Commands.
Submitted by Nidhi, on May 04, 2020

This section contains Aptitude Questions and Answers on Linux Utility Commands.

1) Which of the following command is used to search the file(s) within the specified directory?
  1. search
  2. find
  3. fileseach
  4. fsearch

2) There are the following commands that are given below, which of them are correct "locate" command in the Linux operating system?
  1. The locate command is also used to search a file.
  2. The locate command searches the file into the database.
  3. The locate command slower than find command.
  4. The locate command search file in MySQL database only.

Options:

  1. A and B
  2. A and C
  3. A, B, and C
  4. A, B, C, and D

3) Which of the following command is used to update the database used by the "locate" command?
  1. updatelocate
  2. updatelocatedb
  3. locatedb
  4. updatedb

4) Which of the following option is used to search a file with inode number using "find" command?
  1. -inode
  2. -inum
  3. -inod
  4. -in

5) Which exact command is used to find files whose permissions are "765" in the current directory?
  1. find . -perm 765
  2. find . -per 765
  3. find . -p 765
  4. find . -prm 765

6) What status is returned on an error by the "updatdb" command?
  1. 0
  2. 1
  3. 2
  4. 3

7) Which of the following configuration file is used by "updatedb" command?
  1. /etc/db.conf
  2. /etc/locatedb.conf
  3. /etc/updatedb.conf
  4. /etc/update.conf

8) Which of the following command is used to display the calendar?
  1. cal
  2. calendar
  3. calen
  4. cln

9) Which exact command is used to see the calendar of the year 2020?
  1. cal 2020
  2. cal -y 2020
  3. calendar 2020
  4. None of the above

10) The "locate" command is a?
  1. Foreground process
  2. Background process

11) In which unit, time passed in sleep command by default?
  1. Seconds
  2. Minutes
  3. Milliseconds
  4. Microseconds

12) Which of the following command is used to view the content of the compressed file?
  1. cat
  2. gzip
  3. zcat
  4. zipcat

13) Which of the following command are used for compressed files?
  1. zcat
  2. zmore
  3. zless
  4. zgip

Options:

  1. A and B
  2. A and C
  3. A, B, and C
  4. A, B, and D

14) What is the extension of compressed file generated by "bzip2" command?
  1. .zip2
  2. .bz2
  3. .b2
  4. .z2

15) Which of the following command is not used to extract a compressed file?
  1. untar
  2. tar
  3. gunzip
  4. bunzip2






Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.