-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Linux Command Line and Shell Scripting Bible - Third Edition
By :
So far, you've seen two methods for displaying the output from your scripts:
Both methods produced an all-or-nothing approach to data output. There are times, however, when it would be nice to display some data on the monitor and other data in a file. For these instances, it comes in handy to know how Linux handles input and output so you can get your script output to the right place.
The following sections describe how to use the standard Linux input and output system to your advantage, to help direct script output to specific locations.
The Linux system handles every object as a file. This includes the input and output process. Linux identifies each file object using a file descriptor. The file descriptor is a non-negative integer that uniquely identifies open files in a session. Each process is allowed to have up to nine open file descriptors at a time...
Change the font size
Change margin width
Change background colour