You are here
bash
The shell used in DICE is bash. A shell provides the command line interface to Linux. To get a shell, open a terminal window or login using ssh
.
- ⇒ How to open a terminal window.
- ⇒ Connecting from outside the University - an overview.
- ⇒ The complete reference manual.
To get help with bash, type one of these commands at a bash prompt, for instance in a terminal window:
info bash
displays the GNU Bash Reference Manual. It's a gentle introduction. If you're not familiar with theinfo
system, either keep pressing theSpace
bar to scroll through the whole manual one node at a time, or pressH
(uppercase H) to see a short tutorial called How to use info. Pressq
to quit the info system.help
gives a brief list ofbash
commands. Typehelp
then the name of one of those commands (for examplehelp alias
) to find out more about that command.man bash
provides a rigorous and thorough description of every aspect of bash.
Bash commands such as alias
and function
can be used to define new commands or alter the behaviour of existing ones. For example this alias would make the ls
command automatically give more informative output:alias ls='ls -F --color=auto'
Bash startup files are personal lists of commands (such as alias
or function
definitions) which are automatically run when logging in or starting a shell.
Last reviewed:
29/06/2022