What does Linux stand for?
Linus' Unix
Line User Interface System
Local Internet User Exchange
It's named after Linus Torvalds
4
In what year was the Linux kernel first released?
1989
1991
1993
1995
2
Who created the Linux kernel?
Richard Stallman
Linus Torvalds
Dennis Ritchie
Ken Thompson
2
What is the default shell in most Linux distributions?
sh
csh
bash
zsh
3
What command is used to list files in a directory?
dir
list
ls
show
3
What does the chmod command do?
Change file ownership
Change file permissions
Change file location
Change file modification time
2
Which directory contains user home directories?
/usr
/home
/root
/var
2
What is the Linux kernel licensed under?
MIT License
BSD License
GPL
Apache License
3
What command displays the current working directory?
cwd
pwd
dir
path
2
Which file contains user account information?
/etc/shadow
/etc/passwd
/etc/users
/etc/accounts
2
What does the sudo command do?
Shutdown the system
Execute commands as superuser
Save user data
Switch user display
2
What is the process ID of the first process in Linux?
0
1
-1
100
2
Which command is used to search for text within files?
find
search
grep
locate
3
What does the apt command do in Debian-based systems?
Automate processing tasks
Adjust process timing
Package management
Application performance testing
3
Which directory contains system configuration files?
/sys
/etc
/config
/system
2
What command is used to display running processes?
list
proc
ps
show
3
What does the touch command do?
Test connectivity
Create empty files or update timestamps
Transfer files
Terminate processes
2
Which signal number is used for SIGKILL?
1
9
15
18
2
What is the maximum filename length in most Linux filesystems?
128 characters
255 characters
512 characters
1024 characters
2
What command is used to change directories?
chdir
cd
dir
goto
2
Which file system is native to Linux?
NTFS
FAT32
ext4
HFS+
3
What does the tar command do?
Terminate and restart
Archive files
Target processes
Test archive readiness
2
What is the root user's UID?
-1
0
1
100
2
Which command displays disk space usage?
diskspace
du
space
usage
2
What does the pipe symbol | do in Linux?
Logical OR operation
Redirect output to another command
Comment in scripts
Background process
2
What command is used to find files in Linux?
search
locate
find
seek
3
Which directory contains temporary files?
/temp
/tmp
/temporary
/var/tmp
2
What does the kill command do?
Delete files
Send signals to processes
Stop the system
Terminate user sessions
2
What is the default port for SSH?
21
22
23
25
2
Which command displays the manual pages?
help
info
man
docs
3
What does GRUB stand for?
General Run Up Bootstrap
Grand Unified Bootloader
GRand Unified Bootloader
Global Resource Utility Boot
3
What command is used to compress files with gzip?
compress
zip
gzip
pack
3
Which directory contains kernel and bootloader files?
/kernel
/boot
/sys
/lib
2
What does the ln command create?
Line numbers
Links to files
Login names
List nodes
2
What is the purpose of /dev/null?
Development null space
Discard output
Device number allocation
Debugging utility
2
Which command shows network interface information?
netinfo
ifconfig
netstat
ipshow
2
What does the cron daemon do?
Create random numbers
Schedule tasks
Control resources
Copy remote objects
2
Which file contains cron jobs for root?
/var/cron
/etc/crontab
/root/cron
/sys/cron
2
What command is used to change file ownership?
chmod
chown
chgrp
owner
2
What does the df command display?
Disk files
Disk free space
Data format
Directory functions
2
Which command is used to mount filesystems?
attach
mount
connect
link
2
What is the purpose of the swap partition?
System backup
Virtual memory
Temporary storage
System recovery
2
What does the rsync command do?
Remote system control
Remote file synchronization
Restart system
Resource sync
2
Which directory contains shared libraries?
/share
/libraries
/lib
/bin
3
What command displays the first 10 lines of a file?
top
head
first
begin
2
What does the tail command do by default?
Shows last 10 lines
Follows file changes
Terminates processes
Tests file integrity
1
Which command is used to extract tar archives?
tar -x
tar -e
untar
extract
1
What is the purpose of /proc directory?
Process storage
Virtual filesystem with process info
Procedure files
Program cache
2
What does the which command do?
Show which files are open
Locate executable path
Which process is running
Determine file type
2
Which command displays system uptime?
time
uptime
systime
runtime
2
What is the default umask value?
0022
0755
0644
0777
1
What does the nice command do?
Display welcome messages
Change process priority
Network interface control
Name interface connection
2
Which file contains hostname information?
/etc/host
/etc/hostname
/sys/hostname
/var/hostname
2
What command shows open network connections?
netopen
netstat
connections
opennet
2
Which signal is sent by Ctrl+C?
SIGTERM
SIGKILL
SIGINT
SIGHUP
3
What does the alias command do?
Align files
Create command shortcuts
Allocate memory
Alternative names
2
What is the purpose of /var/log directory?
Variable logs
System log files
Variety of logs
Verification logs
2
Which command is used to compare two files?
comp
diff
compare
check
2
What does the useradd command do?
Use admin mode
Create new user accounts
User addition to groups
Update existing accounts
2
What is the maximum number of processes per user by default?
1024
Unlimited
Depends on system
Set in /etc/limits
3
Which command displays memory usage?
mem
free
memory
usage
2
What does the hostname command do?
Host name resolution
Display or set system hostname
Host number assignment
Host network mapping
2
What is the purpose of the init system?
Initialize network
First process that starts other processes
Initialize hardware
Internet tools
2
Which command is used to archive and compress with bzip2?
tar -j
tar -z
tar -b
tar -c
1
What does the who command display?
Who owns files
Currently logged in users
File information
Process owners
2
What is the purpose of /etc/fstab?
File system table for mounting
Fast boot configuration
File storage table
System backup files
1
Which command displays kernel messages?
kmsg
dmesg
kernlog
sysmsg
2
What does the chgrp command do?
Change graphics
Change group ownership
Check groups
Choose group
2
What is the default runlevel for multi-user mode with networking?
1
2
3
5
3
Which command is used to send ICMP packets?
echo
ping
send
icmp
2
What does the fg command do?
File get
Bring background job to foreground
Format graphics
Fast grep
2
What is the purpose of /etc/resolv.conf?
Resource resolution
DNS resolver configuration
Resolve conflicts
Resolution settings
2
Which command displays file type information?
type
file
info
stat
2
What does the bg command do?
Background graphics
Resume suspended job in background
Binary grep
Backup group
2
What is the purpose of the PATH environment variable?
File paths
Directories to search for executables
Network paths
System paths
2
Which command is used to set environment variables?
set
export
env
var
2
What does the dd command do?
Delete directory
Convert and copy files
Disk diagnostic
Data dump
2
What is the purpose of /etc/hosts file?
Host configuration
Static hostname to IP mapping
Host services
Host keys
2
Which command displays the last logged in users?
lastlog
last
history
login
2
What does the watch command do?
Monitor files
Execute command repeatedly
Watch processes
System monitoring
2
What is the default timeout for sudo password?
5 minutes
10 minutes
15 minutes
30 minutes
3
Which command is used to check filesystem integrity?
check
fsck
diskcheck
verify
2
What does the tee command do?
Test execution environment
Read from stdin and write to file and stdout
Terminate environment
Transfer execution
2
What is the purpose of /etc/profile?
User profiles
System-wide shell initialization
Profile data
Process files
2
Which command displays disk partition information?
partitions
fdisk -l
diskpart
parts
2
What does the xargs command do?
X window arguments
Build command lines from input
Extra arguments
Execute arguments
2
What is the purpose of the shebang (#!) in scripts?
Comment marker
Specify interpreter
Shell bang command
System header
2
Which command is used to create hard links?
link
ln
hardlink
mklink
2
What does the screen command do?
Screen capture
Terminal multiplexer
Display screen info
Screen saver
2
What is the purpose of /etc/sudoers file?
Sudo configuration
Define sudo privileges
Super user list
System users
2
Which command displays SELinux status?
selinux
sestatus
seinfo
getenforce
2
What does the awk command do?
Awkward syntax
Text processing and pattern scanning
Audio workstation
Archive worker
2
What is the default text editor in most Linux systems?
emacs
nano
vi
gedit
3