CSIT175 Linux Flashcards

1
Q

cd

A

change directory

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

~

A

~ (tilde)

shortcut for home

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

pwd

A

print working directory

= display the working directory, to ensure you’re in the right place/directory

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

uname

A

will show what operating system is being run

-a

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

echo

A

echo command displays the text you entered

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

time

A
How long subsequent commands take to execute
Three times are displayed:
total execution time (aka real time);
user CPU time;
system CPU time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

set

A

set command displays a wide variety of options relating to bash shell operation.

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

exit

logout

A

terminates the shell

Exit command terminates any shell, but the logout command terminates only login shells

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

absolute path

A

An absolute path begins with the root directory and follows the directory tree branch by branch until the path to the desired directory or file is completed

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