Linux Command Line Flashcards

(39 cards)

1
Q

“Up arrow” or “down arrow”

A

Scrolls through previous commands

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

[username@machinename ]$

A

Shell prompt

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

Terminal emulator

A

Program that interacts with the shell

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

Shell

A

Passes keyboard commands to the OS

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

Terminal emulator

A

A program used to interact with the shell in a GUI environment

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

Graphical user interface (GUI)

A

Image driven Windows-like interface

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

“Bash”

A

The shell for most Linux distributions (“Born-again shell)

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

Shell prompt

A

What appears in the terminal when a prompt is ready to be entered

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

”#” vs. “$”

A

”#” is super user and “$” is root user

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

date

A

Command that shows date and time

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

cal

A

Command that shows the calendar of the current month

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

df

A

Command that shows the amount of free space on the drives [“Drivespace Free”]

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

free

A

Command that shows the amount of free memory

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

exit

A

Command that ends the terminal session by closing the terminal window

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

Hierarchical directory structure

A

The tree-like ordering of directories (files)

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

Root directory

A

The first directory in the file system

17
Q

Mounted

A

Attached storage devices

18
Q

System administrator

A

Person responsible for maintaining the system

19
Q

ls

A

Command that lists the contents of a directory

20
Q

cd

A

Command used to change directory (such as cd /user/bin)

21
Q

Absolute pathname

A

Gives the full path to a given directory

22
Q

Relative pathname

A

Path that starts with the working directory

23
Q

Current working directory

A

The directory in which currently located

24
Q

Parent directory

A

The directory above the current working directory

25
Home directory
The directory arrived at when logging in
26
pwd
Command that shows the current working directory ("print working directory")
27
cd ..
Changes directory to the parent directory
28
cd .
Changes directory to whatever in the working directory
29
What are filenames that begin with a period?
Hidden
30
Are Linux commands case sensitive?
Yes
31
What should NOT be used in file names?
Spaces
32
What does the "cd" command by itself do?
Changes from working directory to home directory
33
cd -
Changes to previous working directory
34
cd~ user_name
Changes to the home directory of the user
35
~
User's home directory
36
Can multiple directories be shown with the "ls" command?
Yes. Example: ls ~ /usr
37
What "ls" command options list all files, even hidden files?
-a --all
38
What "ls" command options list all files except . and .. ?
-A --almost-all
39
What "ls" command option gives the long format?
-l