Bash Cmds Flashcards
1
Q
Cd
A
Change directory
2
Q
.. or .
A
Parent directory
Current directory
3
Q
~
A
Home directory
4
Q
Vi
A
Text editor
5
Q
Ls
A
List
6
Q
Ls user
A
Lists directories
7
Q
Pwd
A
Print working directory
8
Q
Ls-s
A
Reference to a file
9
Q
Chmod
A
Give permissions
10
Q
Less[file]
A
Show one page at a time
11
Q
Touch file
A
Create a file
12
Q
Ls -l file
A
Gives info about file
13
Q
Echo
A
Display a line of txt/str on stdr or file
14
Q
Rm
A
Remove
15
Q
Type
A
Determine if cmd built in, an alias, or executable
16
Q
Cat[file 1,file 2]
A
Copy files to stdout as listed
17
Q
Date
A
Displays date and time
18
Q
Wc[file]
A
Word count (#lines, words, chars)