Linux Commands Flashcards
Basic Linux commands - change ownership or change how well something is locked down
chown - for ownership/group
chmod - for file permissions
Basic Linux commands - check mounted drives
mount
Basic Linux commands - how do you view the amount of ram?
free
Basic Linux commands - disk usage
df -h
du
Basic Linux commands - cpu intensive processes running
top -c
htop
Basic Linux commands - how would you edit a file?
VI or Nano
Basic Linux commands - How would you show me all the files in a directory?
ls
Basic Linux commands - need to create a new directory
mkdir
Basic Linux commands - How would you write out the contents of an entire file?
cat
Basic Linux commands - how would you securely copy a file from one place to another
scp
Basic Linux commands - how would you install an application on linux?
use YUM
Basic Linux commands - how would you use check to see if another server is on the network without connecting to it
ping
Basic Linux commands - how do you check the network configuration settings on a linux server?
ifconfig
Basic Linux commands - how do you check the ports being used currently or by a process?
netstat -anp
Basic Linux commands - how do you check processes on a server
ps -ef | grep (if needing a specific item)
Basic Linux commands - how do you move a files?
mv
Basic Linux commands - how do you delete a directory?
rmdir
Basic Linux commands - Allows regular users to run programs with the security privileges of the superuser or root
sudo
Basic Linux commands - change directory
cd
Basic Linux commands - how do you check the working directory you are in
pwd
Basic Linux commands - how do you download files from the internet?
wget
Basic Linux commands - how do you return the unix name, os, kernel, etc?
uname command
Basic Linux commands - how do you see the time taken between IP address hops?
traceroute