Skip to content

Instantly share code, notes, and snippets.

@MilanGrubnic70
Last active April 2, 2016 01:38
Show Gist options
  • Save MilanGrubnic70/0f6e7fab76d3a5ca8884 to your computer and use it in GitHub Desktop.
Save MilanGrubnic70/0f6e7fab76d3a5ca8884 to your computer and use it in GitHub Desktop.
Set up bash profile with aliases.
Type:
nano ~/.profile_bash
ctrl + o
enter
ctrl + x
to use:
echo "Hello, Milan Grubnić!"
alias his="history"
alias hist="history"
alias lsa="ls -alt"
alias ll="ls -la"
alias cl="clear"
alias so="source ~/.bash_profile"
alias bashpro="nano ~/.bash_profile"
export USER="Milan Grubnić"
export PS1="~> "
or
nano ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment