[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [RAQ2] Shell Aliases



Hostmaster <hostmaster@xxxxxxxxxx> wrote:
> How do you get the shell to recognize an alias?

Create or modify .profile in the $HOME directory of the user you want to create
aliases for.
1. pico -w $HOME/.profile
2. chmod 600 $HOME/.profile

For reference, here's part of the file for my root user.

export TERM=vt220
alias df="df -h"
alias du="du -h"
alias pico="pico -d -w -z"
alias ls="ls -alF --color=always"
cat /etc/admin.motd

Steven Werby {steven-lists@xxxxxxxxxxxx}