Linux Commands Flashcards
1
Q
pwd
A
shows current directory location
2
Q
ls
A
lists the contents of current directory
3
Q
cd
A
navigates to and from directories
cd /var/log
4
Q
mv
A
move or rename files
5
Q
cp
A
copies files and directories
6
Q
rm
A
does not remove directories by default (use -r option\ or -d if directory is empty)
7
Q
find
A
used to find files
8
Q
cat
A
The cat command allows the creation of single or multiple files, view file contents, concatenate files, and redirect output in the terminal to a file
9
Q
grep
A
used to search for one or more patterns
10
Q
nano & vi
A
File editors
11
Q
sudo
A
elevate privileges to superuser
12
Q
su
A
switch user
13
Q
chmod
A
change permissions of files
14
Q
chown
A
change ownership over files
15
Q
ifconfig
A
network interface configuration