Home > linux > Tiny Linux Command Reference

Tiny Linux Command Reference

Tiny Linux Command Reference

ls List files/directories in a directory
cat <filename> Read a file.
cp Copy a file
mv Move a file
rm Delete a file
chmod Changes file access permissions
chown Changes file ownership
grep Looks for patterns in files
ln Create’s “links” between files and directories
wc Word count
find Find files and directories.
locate Locate a file name/directory
file <filename> Guess type of file
touch Create an empty file
od View binary files and data
pwd Print working directory
hostname Print name of localhost
whoami Print login name
id Print user id
date Print or change date on system
time <command> Determine the amount of time it takes for a process to complete
who Check who is logged on the system
last Show users last logged-in
uptime Check system uptime as well as load average details
ps List process run by user
ps auxw List all the process on the system
top Keep listing currently running processes
uname -a Info about your local server
lsmod Show the kernel modules currently loaded
dmesg Print kernel messages
tail Similar to cat, but only reads the end of the file
head Similar to tail, but only reads the top of the file
more Llike cat, but opens the file one screen at a time rather
than all at once
less Like more, but less. (LOL *BURP*)
netstat Shows all current network connections.
ifconfig Display info on the network interfaces
ping Sends test packets to a specified server
nslookup Lookup a host/domain.
dig Similar to nslookup.
sudo You know, sudo.
kill terminate a system process
killall Kill program(s) by name
du Shows disk usage.
free Memory info
man Display the contents of the system manual pages
reboot Reboot the machine.
tar Creating and Extracting .tar files
gzip Compress in gzip
zip Compress in zip
unzip Uncompress a zip file
compress Compress files .Z
uncompress Uncompress .Z files
bzip2 Compress files in bzip2 forma

Also check out The Ultimate Linux Reference Guide for Newbies

Categories: linux Tags: