Message-ID: <3A4226C1.50EF2F7D@wanadoo.nl>
Date: Thu, 21 Dec 2000 16:50:25 +0100
From: jayhen
Subject: Alias file
I know that this is a lame question but I'm looking for the alias file
that contails the information below so that I can add some aliases of my
own. I have tried to make an alias and .alias file but neither works.
What am I over looking?
Here is some more information that might be helpful.
1) As a normal user I can use these aliases but I cannot find the alias
file to add my own aliases.
2) As root I cannot use these aliases and I can find the files aliases
and aliases.db but aliases contains other information.
3) If I enter the connand newaliases, none of the aliases work as root
or a user.
alias +='pushd .'
alias -='popd'
alias ..='cd ..'
alias ...='cd ../..'
alias A:='echo -e '\''Error: There is no such thing as a drive A: in
Un*x!\n Use mtools, mount or autofs to access your floppy.'\'''
alias C:='echo -e '\''Error: There is no such thing as a drive C: in
Un*x!\n Your harddisk should already be mounted (via /etc/fstab or
autofs).'\'''
alias beep='echo -en "\x07"'
alias cd..='echo '\''Error: Try: cd ..'\'''
alias chkdsk='echo -e '\''Error: Your filesystems are checked on
bootup.\n If you want to do it manually, use fsck.\n Use df
and mount for an overview of your disks.'\'''
alias copy='echo '\''Error: Try the command: cp -piv'\'''
alias del='echo '\''Error: Try the command: rm -iv'\'''
alias dir='ls -l'
alias dos2unix='recode ibmpc..lat1'
alias format='echo -e '\''Error: The D*S concept of formatting a disk is
screwed.\n Maybe you want to create a filesystem? Use mkfs
then.'\'''
alias l='ls -alF'
alias la='ls -la'
alias ll='ls -l'
alias ls='ls $LS_OPTIONS'
alias ls-l='ls -l'
alias md='mkdir -p'
alias mem='echo '\''Error: Try the command: free'\'''
alias move='echo '\''Error: Try the command: mv -iv'\'''
alias o='less'
alias rd='rmdir'
alias rehash='hash -r'
alias unix2dos='recode lat1..ibmpc'
alias unmount='echo "Error: Try the command: umount"'
alias ver='echo '\''Error: Try the command: uname -a'\'''
alias which='type -p'
Regards,
Jay