0 Replies - 1103 Views - Last Post: 28 June 2007 - 07:42 PM

#1 no2pencil  Icon User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6543
  • View blog
  • Posts: 30,648
  • Joined: 10-May 07

Setting up common aliases

Posted 28 June 2007 - 07:42 PM

Description: place this code in ~/.profileUsing the .profile to create easy to use aliases.
### file protection ###
alias rm='rm -i'

### list ###
# uncomment the following if you can produce color text
#alias ls='ls -color'
#produces long output
alias ll='ls -l'
#produces hidden files
alias la='ls -a'

### editors ###
# uncomment the following line if you have vim installed
#alias vi='vim'

### dos aliases ###
alias cls='clear'
alias dir='ls -l'
alias copy='cp'
alias del='rm'


Is This A Good Question/Topic? 0
  • +

Page 1 of 1