This is Ubuntu. I have the memory of a fish.
Command | Comment |
---|---|
df -h | Disk Free. -h is more readable |
fdisk -l | list of volumes including sizes |
du -h --max-depth=1 | List of dirs with sizes |
mv |
Move / Rename |
tail -f filename | show contents of a file. |
tail -n 500 filename | show contents of a file -n specify number of lines |
apt-get install procps | to install the "free" and "ps" commands to check memory usage |
ps aux | Show processes |
free --mega | can't remember! Ha |
cat /proc/meminfo | Memory usage |
env | show environment variables |
echo $PATH | Shwo path var |
lsb_release -r | Ubuntu version |
history | grep searchstring | search history for search string |
history 10 | see last 10 bash commands |
