CLI Shortcuts Flashcards
1
Q
CTRL + c
A
Kill command for stuck process
>
2
Q
echo
A
prints the string written with quotes on the next line
3
Q
CTRL + a
A
Move cursor to front
4
Q
CTRL + e
A
Move cursor to end
5
Q
CTRL + u
A
Clear current line
6
Q
CTRL + l
A
Clear terminal window (does not clear history)
7
Q
Up arrow
A
Go to previous command
8
Q
Down arrow
A
Go to next command
9
Q
ls -a
A
List all (displays all the hidden files and folders in current directory)
10
Q
q
A
Quit (alternative to CTRL + c)
11
Q
..
A
Move up one directory in filesystem
12
Q
../../..
A
Move up three directories in filesystem
13
Q
Absolute Path
A
Full path starting from the system’s Root directory
14
Q
Relative Path
A
Partial path starting from anywhere in the filesystem except for the Root
15
Q
touch +
A
create a new file in the current directory