0

Linux OS (NCO)

Description: Linux
Number of Questions: 15
Created by:
Tags: Linux Operating System
Attempted 0/15 Correct 0 Score 0

Which of the following Linux commands is used to make a link to a file?

  1. Ls

  2. File

  3. Ln

  4. Cd

  5. rm


Correct Option: C
Explanation:

This Linux command is used to make a link to a file.

Which of the following types of grouping of data in Linux consist of files which contain the list of other files?

  1. Special files

  2. Directories

  3. Links

  4. Domain sockets

  5. Named pipes


Correct Option: B
Explanation:

This type of grouping of data in Linux consist of files which contain the list of other files.

Which of the following is a popular tool for installing, uninstalling, verifying, querying, and updating computer software packages on Unix like systems?

  1. RPM package manager

  2. GRUB

  3. Init

  4. RPM

  5. DISPLAY


Correct Option: A
Explanation:

This is a popular tool for installing, uninstalling, verifying, querying, and updating computer software packages on Unix like systems.

Which of the following aliases in bash shell environment is used to list all listening TCP/UDP ports with the Process ID of the associated process?

  1. C

  2. Ports

  3. Update

  4. Vi

  5. Del


Correct Option: B
Explanation:

This alias in bash shell environment is used to list all listening TCP/UDP ports with the Process ID of the associated process.

Which of the following system variables in shell environment is the search path for commands and it serves as a colon separated list of directories wherein the shell looks for commands?

  1. SHELL

  2. PS1

  3. PATH

  4. TERM

  5. EDITOR


Correct Option: C
Explanation:

This system variable in shell environment is the search path for commands and it serves as a colon separated list of directories wherein the shell looks for commands.

Which of the following output fields of ps command is used to specify terminal associated with the process?

  1. PID

  2. RSS

  3. TTY

  4. STAT

  5. START


Correct Option: C
Explanation:

This output field of ps command is used to specify terminal associated with the process.

Which of the following arguments of ps command is used to display user name and process start time?

  1. a

  2. u

  3. U

  4. w

  5. e


Correct Option: B
Explanation:

This argument of ps command is used to display user name and process start time.

Which of the following files of /var directory are used to hold variable data for programs present in /usr/local directory?

  1. local

  2. lib

  3. lock

  4. log

  5. run


Correct Option: A
Explanation:

These files of /var directory are used to hold variable data for programs present in /usr/local directory.

Which of the following home directories in Linux file system is used for optional software packages?

  1. /usr

  2. /dev

  3. /lib

  4. /opt

  5. /boot


Correct Option: D
Explanation:

This home directory in Linux file system is used for optional software packages.

Which of the following commands is used in vi editor to write to the file and then quit?

  1. :q

  2. :q!

  3. :wq

  4. :e

  5. :r


Correct Option: C
Explanation:

This command is used in vi editor to write to the file and then quit.

Which of the following objects in Linux is a collection of computer files that have been packaged together for backup?

  1. Kernel

  2. Archives

  3. TCP/IP sockets

  4. vi

  5. awk


Correct Option: B
Explanation:

This object in Linux is a collection of computer files that have been packaged together for backup.

Which of the following files in XDM (X Display Manager) is used for user authorisation file where XDM stores keys for clients to read?

  1. Xsetup

  2. Xstartup

  3. .Xauthority

  4. .xsession

  5. Xreset


Correct Option: C
Explanation:

This file in XDM (X Display Manager) is used for user authorisation file where XDM stores keys for clients to read.

Which of the following objects defines main directories and their contents in Linux operating system?

  1. Boot loader

  2. Compiler

  3. Filesystem hierarchy

  4. KDE

  5. fdisk


Correct Option: C
Explanation:

This object defines main directories and their contents in Linux operating system.

Which of the following desktops serves as a default desktop environment for Red Hat Enterprise Linux that is based on the GTK + 2 graphical toolkit?

  1. KDE

  2. GNOME

  3. XFCE desktop

  4. The X window system

  5. Xorg


Correct Option: B
Explanation:

This desktop serves as a default desktop environment for Red Hat Enterprise Linux that is based on the GTK + 2 graphical toolkit.

Which of the following options in sed command which is a stream editor, is used to read the different sed commands from command line?

  1. -e

  2. -f

  3. -n

  4. -l

  5. -k


Correct Option: A
Explanation:

This option in sed command which is a stream editor, is used to read the different sed commands from command line.

- Hide questions