[ Prev ] [ Index ] [ Next ]

Get running shell

Created Sonntag 24 März 2024


Get the running shell by asking after running process:
$ echo $0


$0 is the substituate variable for the first argument of the command line which is the name of the executed command (application/command/script).