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)