CSIT175 Linux Flashcards
1
Q
cd
A
change directory
2
Q
~
A
~ (tilde)
shortcut for home
3
Q
pwd
A
print working directory
= display the working directory, to ensure you’re in the right place/directory
4
Q
uname
A
will show what operating system is being run
-a
5
Q
echo
A
echo command displays the text you entered
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
7
Q
set
A
set command displays a wide variety of options relating to bash shell operation.
8
Q
exit
logout
A
terminates the shell
Exit command terminates any shell, but the logout command terminates only login shells
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