5

trying to create an alias in Ubuntu 12.10 but its not working

view full story
linux-howto

http://askubuntu.com – I am trying to create an alias and I have added these lines in ~/.bash_aliases alias server-python='open http://localhost:8000 && python -m SimpleHTTPServer' alias ssh-saad='ssh saad@<my-server>' <my-server> is replaced by the ip add of my server. So in my ~/.bashrc file these lines are uncommented if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi and in my ~/.profile # if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi so I believe whenever I start the ter (HowTos)