Linux

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/79

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:12 AM on 3/24/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

80 Terms

1
New cards

Hard Disk Drive vs Solid State Disk

Hard disks have a motor and moving parts, while solid state disks do not and provide faster access to stored data.

2
New cards

CentOS

A Linux distribution that allows Red Hat Enterprise Linux users to apply their knowledge for a hobby project.

3
New cards

Reverse DNS

The process of assigning hostnames to IP addresses.

4
New cards

SATA Bus

Type of bus that connects hard disk drives with the motherboard.

5
New cards

DNS Resolution Command

The 'host' command is used to resolve a DNS name to an IP address.

6
New cards

Top Command

Displays running processes ordered by CPU or RAM consumption.

7
New cards

Free Command

Displays memory usage information including total, used, and available memory.

8
New cards

dmesg

Displays the content of the Linux kernel’s ring buffer and may not show older information.

9
New cards

Last Command Output

Shows the last login information and session details.

10
New cards

File Ownership

Each file is owned by exactly one user and one group.

11
New cards

UID for Root User

0 is the UID of the root user.

12
New cards

chmod 654

Modifies permissions, setting them to -rw-r-xr-- for a regular file.

13
New cards

Tar Compression Options

-z and -j handle compression in tar commands.

14
New cards

/tmp Permissions

Set to rwxrwxrwt, allowing all users to write but restricting deletion.

15
New cards

/etc/passwd Information

Stores the username, numerical user ID, and user’s default shell.

16
New cards

Add User with Home Directory

The command 'useradd -m tux' creates a user with a home directory.

17
New cards

Create Archive with Tar

Use 'tar -cf work.tar ./work/' to create an archive.

18
New cards

Execute Shell Script

Use 'bash test.sh' or './test.sh' to execute a valid shell script.

19
New cards

Exit less Command

Press 'q' to exit the less command.

20
New cards

Start Loop in Shell Script

The keyword 'for' is used to begin a loop in a shell script.

21
New cards

Find File Command

The 'find /home -name foo.txt' command is used to search for files.

22
New cards

Output of Shell Script Loop

The script outputs a.txt b.txt when using for file in *.txt.

23
New cards

Execute Bit for Script

The execute bit should be set in permissions to execute a shell script.

24
New cards

Sort Output Command

Use 'export-logs | sort' to sort the output of the export-logs command.

25
New cards

Linux Distribution Definition

A bundling of the Linux kernel, system utilities, and other software.

26
New cards

OS on Raspberry Pi

Stored on a removable SD card inserted into the Raspberry Pi.

27
New cards

Vector Graphics Editor

Inkscape is a graphical editor for vector graphics.

28
New cards

Red Hat Package Manager

rpm is the package management tool used in Red Hat-based systems.

29
New cards

Root Privilege Indicator

The '#' character in the shell prompt indicates root privileges.

30
New cards

Public Cloud Services

Include Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS).

31
New cards

Free Software License

Defines the conditions for modifying and distributing licensed software.

32
New cards

Web Browser Cookies Risks

Support identification and tracking of users, which is a security risk.

33
New cards

Remove Empty Directory Command

Use 'rmdir Downloads' or 'rm -r Downloads' to remove an empty directory.

34
New cards

Recursive Directory Listing

Includes the content of sub-directories.

35
New cards

Commands for ls Usage

Use 'man ls' or 'info ls' to get information on the ls command.

36
New cards

Documentation Directory

/usr/share/doc/ contains documentation and example configuration files.

37
New cards

Display Directory Content

'ls ../Documents/' displays the content of /home/user/Documents/.

38
New cards

Add to PATH Variable

Use 'export PATH=/new/dir:$PATH' to add a directory to the PATH.

39
New cards

Copy Text Files Command

'cp *.txt /tmp/' copies all .txt files to the /tmp/ directory.

40
New cards

Split Command Across Lines

Use '\' to split a command across multiple lines.

41
New cards

DNS Record Types for IP

AAAA and A records hold an IP address.

42
New cards

Valid Process ID

21398 is a valid process ID on Linux.

43
New cards

Automatic IP Configuration Protocol

DHCP is the protocol used for automatic IP address configuration.

44
New cards

Hard Disk Partition Representation

/dev/sda2 represents a hard disk partition.

45
New cards

Linux Hardware Drivers

Drivers are either compiled into the Linux kernel or loaded as kernel modules.

46
New cards

/proc/ Directory Contents

Contains one directory per running process.

47
New cards

Long-Term Server Requirement

Ubuntu Linux LTS and Red Hat Enterprise Linux meet the requirements for long-term support.

48
New cards

Writable Directory Mount Requirement

/var must be mounted with read and write access.

49
New cards

Change File Owner Command

'chown tux doku.odt' changes the ownership of a file.

50
New cards

File after Owner Deleted

The UID of the former owner is shown, and ownership remains unchanged.

51
New cards

/etc/skel Functions

Contains default configuration files for new users and is copied at account creation.

52
New cards

Links in Linux File System

A symbolic link can point to a file on another file system.

53
New cards

Information Sources for User IDs

/etc/passwd and /etc/group are sources for user information.

54
New cards

passwd Command Functions

Change a user's password and lock a user account.

55
New cards

su Command Functionality

Runs a shell or command as another user.

56
New cards

Recursive Listing Parameter for ls

'ls -R' prints a recursive listing of a directory's content.

57
New cards

Usage Information for Commands

Displayed by running the command with the -h or --help option.

58
New cards

Current Directory Path Command

'pwd' shows the absolute path to the current working directory.

59
New cards

Display Text File Content Command

'cat Texts\ 2.txt' or 'cat 'Texts 2.txt'' displays the file content.

60
New cards

Display File Names Only Command

'ls -a' shows file names only without additional information.

61
New cards

Purpose of PATH Variable

Allows execution of commands without knowing the executable's location.

62
New cards

Set Variable Command

'USERNAME=bob' sets the variable USERNAME to the value bob.

63
New cards

Manual Pages Command

'man' displays manual pages.

64
New cards

Copy Directory Contents Command

Use 'cp -r /etc/* /root' to copy contents including subdirectories.

65
New cards

Sort File Lines Command

'sort data.csv' sorts the lines of the file alphabetically.

66
New cards

For Loop Structure in Shell Script

for file in *.txt do echo $i done shows the loop structure.

67
New cards

Regular Expression Operator

The '?' operator matches the preceding character zero or one time.

68
New cards

Export Variable for Script

'export MYVAR=value' makes MYVAR available for script execution.

69
New cards

Return Value of Shell Script

The return value of a successful shell script execution is 0.

70
New cards

Create ZIP Archive Command

Use 'zip poems.zip *.txt' to create a ZIP archive.

71
New cards

Typical Shell Script Features

Starts with #! and has the executable permission bit set.

72
New cards

Extract Compressed Archive Command

Use 'tar -xzf file1.tar.gz' to extract contents of a tar.gz file.

73
New cards

Grep Command for Case Insensitive Search

Use 'grep -i linux operating-systems.txt' to find lines containing the term.

74
New cards

True Passwords Statement

Passwords are only stored in hashed form.

75
New cards

Web Server Programs

Apache and NGINX are web server software.

76
New cards

Red Hat Derived Linux Distribution

CentOS is derived from Red Hat Enterprise Linux.

77
New cards

True Statement about Free Software

Free Software may be modified by anyone using it.

78
New cards

Provisioning Linux Instance in Cloud

Pre-prepared images of popular distributions are used for new instances.

79
New cards

Private Browsing Differences

Private windows do not store cookies persistently, do not keep history, and do not send regular cookies.

80
New cards

Preferred Source for Apps in Linux

The distribution's package repository is the preferred source for application installation.