
221
• offers the user a way to communicate with the OS.
• is selected upon installation of a new user
Type echo $SHELL to find out which shell you use!
different Linux shells and the files executed during login:
• .profile
sh and bash (also executes .bashrc if it exists)
• .cshrc
csh and tcsh
Important differences between shells
1
:
• How do you set environment variables
sh and bash:
1. export variable=value
csh and tcsh:
1.setenv variable value
• tcsh and bash offer history substitution
you can use the arrow keys to repeat and modify previously entered commands.
13.3.1 How to use the bash
• Open a shell and type in commands
• How to repeat a previously entered command
1. use the arrow keys to get a command back
2. hit the Enter key to execute the command again
1. type man sh or man csh for more information on these shells
Comentários a estes Manuais