Linux terms Flashcards

1
Q

Bootloader

A

A piece of code that runs to guide the booting process to start the operating system. Parrot Linux uses the GRUB Bootloader.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

OS Kernel

A

The kernel is the main component of an operating system. It manages the resources for system’s I/O devices at the hardware level.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Daemons

A

Background services are called “daemons” in Linux. Their purpose is to ensure that key functions such as scheduling, printing, and multimedia are working correctly. These small programs load after we booted or log into the computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

OS Shell

A

The operating system shell or the command language interpreter (also known as the command line) is the interface between the OS and the user. This interface allows the user to tell the OS what to do. The most commonly used shells are Bash, Tcsh/Csh, Ksh, Zsh, and Fish.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Graphics server

A

This provides a graphical sub-system (server) called “X” or “X-server” that allows graphical programs to run locally or remotely on the X-windowing system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Window Manager

A

Also known as a graphical user interface (GUI). There are many options, including GNOME, KDE, MATE, Unity, and Cinnamon. A desktop environment usually has several applications, including file and web browsers. These allow the user to access and manage the essential and frequently accessed features and services of an operating system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Utilities

A

Applications or utilities are programs that perform particular functions for the user or another program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Hardware

A

Peripheral devices such as the system’s RAM, hard drive, CPU, and others.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Kernel

A

The core of the Linux operating system whose function is to virtualize and control common computer hardware resources like CPU, allocated memory, accessed data, and others. The kernel gives each process its own virtual resources and prevents/mitigates conflicts between different processes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Shell

A

A command-line interface (CLI), also known as a shell that a user can enter commands into to execute the kernel’s functions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

System Utility

A

Makes available to the user all of the operating system’s functionality.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

/

A

The top-level directory is the root filesystem and contains all of the files required to boot the operating system before other filesystems are mounted as well as the files required to boot the other filesystems. After boot, all of the other filesystems are mounted at standard mount points as subdirectories of the root.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

/bin

A

Contains essential command binaries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

/boot

A

Consists of the static bootloader, kernel executable, and files required to boot the Linux OS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

/dev

A

Contains device files to facilitate access to every hardware device attached to the system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

/etc

A

Local system configuration files. Configuration files for installed applications may be saved here as well.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

/home

A

Each user on the system has a subdirectory here for storage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

/lib

A

Shared library files that are required for system boot.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

/media

A

External removable media devices such as USB drives are mounted here.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

/mnt

A

Temporary mount point for regular filesystems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

/opt

A

Optional files such as third-party tools can be saved here.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

/root

A

The home directory for the root user.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

/sbin

A

This directory contains executables used for system administration (binary system files).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

/tmp

A

The operating system and many programs use this directory to store temporary files. This directory is generally cleared upon system boot and may be deleted at other times without any warning.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

/usr

A

Contains executables, libraries, man files, etc.

26
Q

/var

A

This directory contains variable data files such as log files, email in-boxes, web application related files, cron files, and more.

27
Q

\d

A

Date (Mon Feb 6)

28
Q

\D{%Y-%m-%d}

A

Date (YYYY-MM-DD)

29
Q

\H

A

Full hostname

30
Q

\j

A

Number of jobs managed by the shell

31
Q

\n

A

Newline

32
Q

\r

A

Carriage return

33
Q

\s

A

Name of the shell

34
Q

\t

A

Current time 24-hour (HH:MM:SS)

35
Q

\T

A

Current time 12-hour (HH:MM:SS)

36
Q

\@

A

Current time

37
Q

\u

A

Current username

38
Q

\w

A

Full path of the current working directory

39
Q

whoami

A

Displays current username.

40
Q

id

A

Returns users identity

41
Q

hostname

A

Sets or prints the name of current host system.

42
Q

uname

A

Prints basic information about the operating system name and system hardware.

43
Q

pwd

A

Returns working directory name.

44
Q

ifconfig

A

The ifconfig utility is used to assign or to view an address to a network interface and/or configure network interface parameters.

45
Q

ip

A

Ip is a utility to show or manipulate routing, network devices, interfaces and tunnels

46
Q

netstat

A

Shows network status.

47
Q

ss

A

Another utility to investigate sockets.

48
Q

ps

A

Shows process status.

49
Q

who

A

Displays who is logged in.

50
Q

env

A

Prints environment or sets and executes command.

51
Q

lsblk

A

Lists block devices.

52
Q

lsusb

A

Lists USB devices

53
Q

lsof

A

Lists opened files.

54
Q

lspci

A

Lists PCI devices.

55
Q

-a, –all

A

print all information, in the following order, except omit -p and -i if unknown:

56
Q

-s, –kernel-name

A

print the kernel name

57
Q

-n, –nodename

A

print the network node hostname

58
Q

-r, –kernel-release

A

print the kernel release

59
Q

-v, –kernel-version

A

print the kernel version

60
Q

-m, –machine

A

print the machine hardware name

61
Q

-p, –processor

A

print the processor type (non-portable)

62
Q

-i, –hardware-platform

A

print the hardware platform (non-portable)