Shell Modes and Initialization
In this section, we will first discuss the startup procedure for the various Bourne-type shells, and then we will examine the different modes of execution for a shell.
Initialization Procedures
After you log in, a shell is executed on your behalf. When this shell starts executing, it is uninitialized. In this state, several parameters required for its proper operation are not defined. The shell undergoes a process called initialization that defines these parameters. The steps and files involved in initialization are different in each shell, so we will examine the process used by each of the Bourne-type shells individually. In general each of the shells uses default or system-wide configuration files located in the ...
Get Sams Teach Yourself Shell Programming in 24 Hours, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.