What Else Does the Shell Do?

When you type a command in at the shell prompt, the shell will analyze the line you have typed and make changes to it before it actually executes it. In actual fact, the shell will read each line a number of times before deciding it is happy with it.

Before we go through the main actions undertaken by the shell, it would make sense to ensure that you are familiar with how UNIX handles reading from and writing to files. This is one of the strong features of UNIX and has contributed to its success and longevity.

File Redirection

For a process to read from a file or write to a file, it must first be opened. This is an action performed by the operating system so you won't actually need to do it yourself, but you do need ...

Get Solaris™ Operating Environment Boot Camp 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.