Command Line Tips

Doing some things from the command line can be a lot faster and easier than using a GUI program. Don't forget that, unlike Windows, Linux is case sensitive. Getting a directory listing with ls doesn't give you enough information unless you add some options. You can have the options automatically added by creating an alias. Edit /etc/bash.bashrc and add the following to the bottom:
alias v="ls -FlAb"
Open a new terminal to try it out and now you can just type v to get a full directory listing. You can change the v to anything that you want. Just make sure that it doesn't conflict with an existing command.
rm will silently delete anything that you specify. To make it ask for confirmation add the following alias:
alias rm="rm -i"
To take the pain out of using find to search for files add the following alias:
alias f="find -xdev -iname"

To fully update your system issue the following commands:
sudo su
apt-get update
apt-get upgrade
apt-get dist-upgrade
su pi

Using shutdown is too much typing. Use the following two commands instead: