# shell

brief history

types

login shells

setup only needed once, f.e. run ssh-agent, notify other users (write). usual config files are profile, login and logout. triggered by -l or leading -. can be exitted with logout.

interactive shells

read rc files.

misc

talk with term via stty -a

clean passing of parameters from f.e. find. $0 may also appear in error messages as command name.

sh -c 'echo $0 $1' command_name argument