Hi:
What is the file to set alias?
I thought it was ~/.profile:
# ~/.profile: Executed by Bourne-compatible login SHells.
#
# Path to personal scripts and executables (~/.local/bin).
#
if [ -d "$HOME/.local/bin" ] ; then
PATH=$HOME/.local/bin:$PATH
export PATH
fi
# Environnement variables and prompt for Ash SHell
# or Bash. Default is a classic prompt.
#
PS1='\u@\h:\w\$ '
EDITOR='nano'
PAGER='less -EM'
export PS1 EDITOR PAGER
# Alias definitions.
#
alias df='df -h'
alias du='du -h'
alias ls='ls -p'
alias ll='ls -l'
alias la='ls -la'
#mis alias
alias bajadas='cd /archivos/bajadas ; ls'
alias linux='cd /archivos/linux ; ls'
alias terminados='cd /archivos/bajadas/terminados ; ls'
alias conciertos='cd /archivos/conciertos'
alias iso='wodim -v dev=/dev/scd0 speed=4 -eject'
alias borrar='wodim -blank=fast -v -eject dev=/dev/scd0'
# Avoid errors... use -f to skip confirmation.
alias rm='rm -i'
alias mv='mv -i'
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
umask 022
that's my profile file.
But any alias works to me.Even the defaults one.
Normally I use the bashrc file.
We have not the alias command to use from the shell.Me no at least.
Where do I have to write it?
Thanks a lot.