1.11 - Linux Commands Flashcards
man
display help for commands
ls
list files in directory
mv
move or rename a file
cp
copy a file
rm
remove a file
mkdir
create a new folder
df
display free storage space
ps
displays list of running processes
top
displays running processes and resource usage
find
search for text in files in a directory
grep
search with regular expression
dig
troubleshoot DNS
cat
displays the contents of a file
nano
text editor
pwd
set or change a password
ip
displays and configure a NIC
rmdir
remove folder
rm-r
remove folder AND files inside
su / sudu
super user
all commands executed at high privilege
NOT used a lot [security problems]
use pseudo these days
cd
back to home directory
cd -
back to where you were before
cd..
closes folder
VI
text editor command
dd
disk to disk
copies entire partition to another one
EX:
/dev/sdb & /dev/sdc
*sudo dd if= /dev/sbd of= /dev/sdc
>
create file
kill
kills process
shutdown
shutdowns Linux