Linux Commands Flashcards
pwd
shows current directory location
ls
lists the contents of current directory
cd
navigates to and from directories
cd /var/log
mv
move or rename files
cp
copies files and directories
rm
does not remove directories by default (use -r option\ or -d if directory is empty)
find
used to find files
cat
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
grep
used to search for one or more patterns
nano & vi
File editors
sudo
elevate privileges to superuser
su
switch user
chmod
change permissions of files
chown
change ownership over files
ifconfig
network interface configuration
ip
currently preferred IP configuration utility
dig
testing DNS
ps, top
ps shows all processes
Top shows CPU, RAM and other utility utilizations
kill
terminates designated program
man
equivalent to /?