[mac]How to make an alias in OS X

  1. Go to your home directory
    [shell]$cd[/shell]
  2. Make or edit {shell}.profile{/shell} file
    [shell]$vi .profile[/shell]

  3. Add an alias to {shell}.profile{/shell} file

alias ls='ls -vGF'
alias ll='ls -al'
Print Friendly, PDF & Email