Linux Operating System Fundamentals
Test your knowledge of Linux operating system concepts including file system structure, commands, permissions, runlevels, desktop environments, and text editors.
Questions
Which of the following directories in Linux file system contains boot loader files, such as Grub or Lilo the kernel, initrd and system.map config files?
- /sbin
- /bin
- /boot
- /lib
- /dev
Which of the following files in /var directory hold directories for mail, news and other transferred work?
- log
- spool
- run
- tmp
- lock
Which command in Linux is used to view system load, amount of time that it has been running, etc.?
- uname
- hostname
- lsattr
- uptime
- chmod
Which of the following runlevel numbers in Linux is used to indicate multi-user mode with networking and X windows?
- 0
- 1
- 2
- 5
- 4
Which of the following actions in Linux starts the process when the specified run-level is started and init will wait for its termination?
- respawn
- wait
- boot
- once
- sysinit
Which of the following directories of /usr directory contains local system specific data, user and system binaries and their libraries?
- /usr/sbin
- /usr/bin
- /usr/local
- /usr/share
- /usr/lib
Which of the following softwares provides an integrated set of cross-platform applications for Linux?
- X window system
- KDE
- Compiler
- Interpreter
- Desktop interface
Which of the following components of Linux user environment helps the user to enter commands and displays their results back on screen?
- Kernel
- Shell
- Terminal emulator
- Linux desktop
- Open source community
Which of the following meta characters in awk utility of Linux is used to match range of instances in command?
- [ ]
- { }
- +
- ?
- |
Which of the following system variables in Linux indicates the maximum number of lines present in the history file?
- BASH_VERSION
- HISTFILESIZE
- IFS
- HOME
- LANG
Which of the following desktop environments in Linux is written in C++ and developed on the Qt toolkit library?
- GNOME
- KDE
- XFCE
- X window system
- Xorg
Which of the following types of file permission in Linux is granted to users who have neither the UID nor the GID of the file and is also known as other permission?
- Group permission
- Owner permission
- World permission
- Read permission
- Execute permission
Which of the following in stream editor (sed) command in Linux is used to suppress the output of sed command?
- -e
- -f
- -n
- -a
- exit()
Which of the following vi editor commands in Linux is used to paste deleted or copied text before the character or line cursor is on?
- P
- J
- H
- K
- L
Which of the following directories in X.org directory is used for system X11 configuration and support files in Linux?
- /usr/X11R6/lib
- /etc/X11
- /usr/share/x11
- /usr/include/x11
- /usr/share/X11/doc