Chapter 2: Aliases

Chapter 1 << Index >> Chapter 3




Aliases

 Aliases allow a string to be a used as a simple command,
 any arguement passed to the alias is passed to the real command, too; eg:

 ..=cd ../

 .. will then execute cd ../

 ll=ls -l

 ll $HOME/Desktop will then execute ls -l $HOME/Desktop

 (Note: Define Aliases in BashStyle-NG without ' or " characters.)

Default Aliases

 A set of aliases, bs-ng sets by default, regardless of user settings.

reload source ~/.bashrc Reloads the BASHs configuration
rd pw -P If the current directory is a symlink, cd into the real one
ls ls -CF --color=USERSETTING --group-directories-first Use colors (if set by user), display directories before files