Linux Administration and Commands Practice Exam

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/130

flashcard set

Earn XP

Description and Tags

Flashcards covering Linux commands, directories, system configuration, processes, and network management based on lecture quiz feedback and questions.

Last updated 1:15 AM on 7/30/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

131 Terms

1
New cards

Sticky Bit (chmod 1777)

A permission set on a directory that allows all users to add files, but ensures only the file owners can delete their own files; it is represented by a lowercase tt in the others permissions.

2
New cards

gdisk

A command used to convert an MBR partition to GPT, which destroys all existing MBR partitions on the disk.

3
New cards

updatedb

A command usually run daily by cron to update the default database (mlocate.dbmlocate.db) so that the locate command can find files on the system.

4
New cards

/usr

A directory under the root folder that contains system commands and utilities for a Linux operating system.

5
New cards

echo command

A utility used to display text (with or without quotation marks) or shell variables (using the $$ sign); it can also be followed by a semicolon to run subsequent commands.

6
New cards

Shell

An interface that interacts with the user, accepts commands, and passes them to the kernel for processing.

7
New cards

cd ../..

A command used to move back two previous directories from the current working directory.

8
New cards

cal

A command that displays a calendar for the current month.

9
New cards

pwd

An abbreviation for 'present working directory,' used to show the full path of the current subdirectory.

10
New cards

/boot

A required separate partition for using Logical Volume Management (LVM) on Linux; it also contains the Linux kernel.

11
New cards

ls -i

An option for the ls command that displays the inode numbers for files; hard links to the same file will share the same inode number.

12
New cards

Symbolic Link Permissions

When displayed with ls -l, these links start with a lowercase ll and typically show read, write, and execute bits set for user, group, and others (lrwxrwxrwxlrwxrwxrwx).

13
New cards

diff

A command used to compare the contents of two text files to identify changes between them.

14
New cards

fsck

A command used to check and repair various kinds of filesystems on Linux for errors.

15
New cards

.iso

A disk image file format commonly used as installation media for virtual machines or burned to optical discs.

16
New cards

parted (print command)

A command used within the parted utility to display a list of existing partitions on a hard drive.

17
New cards

exit

The command used to close or exit the current shell interface.

18
New cards

Options

Specific letters that start with a dash (-) and appear after command names to modify the command's behavior.

19
New cards

& (Ampersand)

A metacharacter used at the command line to indicate background command execution.

20
New cards

tune2fs -i 14d

A command and option combination used to set a full filesystem check to occur every 1414 days.

21
New cards

tail -5

A command used to display the last five lines of a text file.

22
New cards

mkdir -p

An option used with the mkdir command to create parent directories if they do not already exist.

23
New cards

umask 0177

A setting that results in new files receiving default permissions of rw-rw-------, masking off execute for user and all permissions for group/others.

24
New cards

quotacheck

A utility used to scan a filesystem for disk usage, as well as to create, check, and repair quota files.

25
New cards

; (Semicolon)

A metacharacter used as a command terminator that allows two commands to be run in consecutive order.

26
New cards

memtest86

A utility that performs a thorough check of the system RAM for hardware errors.

27
New cards

chmod 740

A command that sets permissions where the owner has read/write/execute (77), the group has read-only (44), and others have no access (00).

28
New cards

/var/lib/mlocate/mlocate.db

The complete path and filename for the database used by the locate and mlocate commands.

29
New cards

tac

The cat command spelled backwards, used to display a text file in reverse order.

30
New cards

ln -s

The command used to create a symbolic link from an original file to a new link name.

31
New cards

blkid

A command used to display the filesystem and partition Universally Unique Identifiers (UUIDs) on a Linux system.

32
New cards

chown :root

A command syntax used to set the group ownership of a file to root without changing the user owner.

33
New cards

/root

The directory specified by the Filesystem Hierarchy Standard as the home directory for the root user.

34
New cards

umount

The command used to properly disconnect or unmount a filesystem, such as an external USB drive.

35
New cards

/etc/updatedb.conf

The configuration file used to define which directories the locate command should exclude from its search database.

36
New cards

@ (At Sign)

The special character displayed by the ls -F command to indicate a linked file.

37
New cards

vmlinuz

The filename of the executable file containing the Linux kernel.

38
New cards

chmod 7777

A command that sets all special permissions (SUID=4, SGID=2, sticky=1) as well as full read/write/execute permissions for everyone.

39
New cards

man uname

The command used to view the manual pages for the uname utility, which displays system and kernel information.

40
New cards

/lost+found/

A directory created by default on ext2, ext3, or ext4 filesystems used by the fsck utility for recovered file fragments.

41
New cards

stat

A command effective at identifying and displaying detailed information about different types of files.

42
New cards

mv

A command used to move files between directories or rename a file by moving it to a new filename.

43
New cards

vi (A key)

While in command mode in the vi editor, this key changes to insert mode and places the cursor at the end of the current line to append text.

44
New cards

/dev/sdb3

The device file representation for the third partition on the second SATA drive.

45
New cards

mkfs.ext2

The default filesystem type created if the mkfs command is executed with only a block device name specified.

46
New cards

/etc/fstab

The configuration file where entries are added to automatically mount partitions at system boot.

47
New cards

/var

A directory under root used to store log files, spools, and print server data.

48
New cards

ps -e

An option used with the ps command to display a complete list of processes, including those that do not run on a terminal (daemons).

49
New cards

/proc/meminfo

A file in the proc directory that contains information regarding physical and virtual memory (RAM) on the system.

50
New cards

DISPLAY variable

A system variable that contains information about which X server a client is supposed to connect to by default.

51
New cards

\t

A common escape sequence used with the echo command to display a horizontal tab.

52
New cards

SIGQUIT

A kill signal that terminates a process and saves its memory information to a file called 'core' in the current working directory.

53
New cards

LANG

An option passed from the GRUB2 configuration file to the Linux kernel to set the system locale.

54
New cards

pkill

A command used to terminate a process by specifying its process name.

55
New cards

Epoch time

The number of seconds since January 11, 19701970, which is considered the birth date of UNIX.

56
New cards

read -s -p

Options used in a shell script to create a prompt (p-p) and ensure the input (like a password) remains secret (s-s) by not displaying it on screen.

57
New cards

ioports

A file in the /proc directory that contains a list of memory address ranges reserved for device use.

58
New cards

seq 7

A command that displays the numbers 11 through 77 on separate lines.

59
New cards

nl

A command that displays the contents of a file while adding a line number to the left side of each line.

60
New cards

(Double Greater Than)

A redirection operator used to take output from a command and append it to the end of a file.

61
New cards

/etc/localtime

A binary file containing the rules for calculating time based on the local time zone relative to epoch time.

62
New cards

GOK

Acronym for the GNOME On-screen Keyboard.

63
New cards

XFCE

A lightweight desktop environment designed to use very few system resources.

64
New cards

| (Pipe)

A metacharacter used to send the output of one command to another as input.

65
New cards

/etc/cron.monthly

The directory where system administrators store scripts that should be executed once every month by the cron daemon.

66
New cards

r (in top)

The key pressed while the top command is running to 'renice' or change the nice value of a process.

67
New cards

if construct

A shell script element used to determine if two values are equal and conditionally run a set of commands.

68
New cards

pstree

A command that displays the lineage of a process by tracing Parent Process IDs (PPIDs) back to the init daemon.

69
New cards

crontab -l

The command used to display the cron jobs for the currently logged-in user.

70
New cards

(Pound Sign)

A character placed at the beginning of a line in a shell script to mark it as a comment.

71
New cards

timeout

An option in the GRUB Legacy configuration file that sets how many seconds the boot menu displays before loading the default image.

72
New cards

dmesg

A command used to display messages generated by the kernel during the boot sequence.

73
New cards

Zombie process

A process state where the process has finished execution but is waiting for its parent process to release its PID.

74
New cards

Cinnamon

The default desktop environment used by the Linux Mint distribution.

75
New cards

2 (Redirection)

The numeric descriptor representing stderr (standard error) at the command line.

76
New cards

fg

The command used to bring a background job to the foreground of the terminal.

77
New cards

/etc/inittab

The file where the default runlevel is set on some Linux systems.

78
New cards

tee

A command used to send output to the screen while simultaneously writing it to a file.

79
New cards

/usr/share/zoneinfo

The directory containing files for all time zones recognized by the Linux operating system.

80
New cards

menu.lst

The file that holds configuration information for GRUB Legacy on Ubuntu Linux systems.

81
New cards

Nice Value 19

The highest nice value possible, which results in a lower priority for a process.

82
New cards

lsof

An abbreviation for 'list open files,' used to see which files are currently being used by a specific PID.

83
New cards

kill -9

The command and signal (SIGKILL) used to kill a process by sending its resources to /dev/null.

84
New cards

mutter

The default window manager used by the GNOME version 33 desktop environment.

85
New cards

.gitignore

A file used to list filenames that should not be staged when running the git add command.

86
New cards

Upstart

A replacement for the init daemon responsible for starting/stopping services and supervising them during system operation.

87
New cards

systemctl set-default

The command used to set the default runlevel on modern Linux systems using systemd.

88
New cards

Click Assist

An accessibility feature that simulates a right click by holding down the left mouse button.

89
New cards

TZ variable

A system variable that can be modified to override the default system timezone within a specific shell.

90
New cards

ctrl-c

A key combination that sends the SIGINT signal to exit out of programs like top.

91
New cards

compress -v

The option used with the compress command to display the compression ratio for each file.

92
New cards

curl

A command-line tool used to retrieve or obtain a Web page from a BASH prompt.

93
New cards

/etc/systemd/journald.conf

The path to the configuration file for the journald logging service.

94
New cards

APIPA

Automatic Private IP Addressing; it uses the range 169.254.0.0169.254.0.0 through 169.254.255.255169.254.255.255 when DHCP is unavailable.

95
New cards

Wheel Group

A special group that grants its members the permission to run su and sudo commands.

96
New cards

tar -czvf

A tar command combination that creates (cc) a gzipped (zz) archive with a specific filename (ff) while providing verbose (vv) output.

97
New cards

/var/log/btmp

The log file that records failed login attempts on a Linux system.

98
New cards

Zypper

The default package manager for SUSE and openSUSE distributions used to install RPM packages.

99
New cards

ifup eth0

The command used to bring the eth0 ethernet interface back up after it has been shut down.

100
New cards

cloud-init

A tool that reads YAML configuration files at boot time to perform administrative tasks, such as adding apps or modifying settings.