Upload_transparent

UNIX Tips and Tricks for a New User, Part 4 Some Nifty Shell Tricks

 
 
 
 
 
bagsta

by bagsta

Value This
Doc
Scribd
Average
     
Pages: 27 43
Words: 7992 13640
Characters: 43881 81678
Lines: 507 623
     
     
Letters per word: 5.49 5.99
Words per line: 15.76 21.89
Words per page: 296.0 317.21

Add to your reading list

Flag_red Flag this document

Document Information

3,048 Reads | 0 Comments

Description

When writing a shell program, you often come across some special situation that you'd like to handle automatically. This tutorial includes examples of such situations from small Bourne shell scripts. These situations include base conversion from one string to another (decimal to hex, hex to decimal, decimal to octal, and so on), reading the keyboard while in a piped loop, subshell execution, inline input, executing a command once for each file in a directory, and multiple ways to construct a continuous loop. Part 4 of this series wraps up with a collection of shell one-liners that perform useful functions.

Found @ ibm.com

Pdf_16x16 27 Pages


Date Added

06/20/2008

Category
Tags
Groups
Copyright

Attribution Non-commercial

More info »

 

or use Facebook Connect

rebel_nerd_cloud

rebel_nerd_cloud

Very needed...Thank you!

07/22/2008