Bash Aliases Not Working
I've added a few bash aliases to my /.bashrc file. These are:
alias cp='cp -v -i'
alias rm='rm -i'
alias mv='mv -i'
alias mountfloppy='mount -t vfat /dev/fd0 /mnt/floppy/ | sudo nautilus'
alias umountfloppy='sudo umount /dev/fd0'
However, I cannot add certain others. For example, I would like:
alias df='df -h'
alias update='sudo apt-get update && sudo apt-get upgrade'
When I try 'df', I get the output of 'df', not 'df -h'.
When I type 'update', it says:
No command 'update' found, did you mean:
Command 'uupdate' from package 'devscripts' (main)
Command 'lupdate' from package 'libqt4-dev' (main)
Command 'lupdate' from package 'qt3-dev-tools' (main)
update: command not found
This isn't absolutely necessary, but I would especially like to be able to upgrade my software with one command. What am I doing wrong?