![]() ![]() The "magic process" in the case of the above example is "gnome-session", which will launch the GNOME desktop environment. This is sometimes called the "magic process", as the X session will end when this application stops running. The second line specifies the application that drives the X session. In the case of the example shown above, the bash (Bourne Again Shell) has been specified as the shell. The first line is common to all Linux shell scripts it specifies the shell used to process the script. The simplest possible X session script consists of two commands, as shown in the example below: #!/usr/bin/env bash ![]()
0 Comments
Leave a Reply. |