LinuxDevCenter.com
oreilly.comSafari Books Online.Conferences.

advertisement


Linux Power Tools

eval: When You Need Another Chance
Ever want to use a variable to get a variable in a shell script or to construct a command on the fly? Find out how in this excerpt from Unix Power Tools, 2nd Edition.

Build Strings with { }
Save typing by expanding strings at the shell prompt. Learn hot to use the {} pattern-expansion characters in this excerpt from Unix Power Tools, 2nd Edition.

Handle Too-Long Command Lines with xargs
That command line getting too long? Conquer it with one of the tools that makes Unix "weird and wonderful" in this excerpt from Unix Power Tools, 2nd Edition.

xargs: Problems with Spaces and Newlines
Gnu's xargs patches up a sticky problem in the original - it choked on filenames with spaces or newlines. Find out how to take advantage of that patch in this excerpt from Unix Power Tools, 2nd Edition.

Using Standard Input and Output
A quick review of basic redirection techniques used by every Unix guru.

The () Subshell Operators
Learn why using parentheses to group commands is a useful shell trick in this modified excerpt from Unix Power Tools, 2nd Edition.

What Can You Do with an Empty File?
There are more uses for /dev/null than you might have imagined. Learn four of them in this excerpt from Unix Power Tools, 2nd Edition.

Copying Directory Trees with cp -r
Want to recursively copy everything under a given directory? Don't get caught by the gotcha's. Learn about cp -r in this excerpt from Unix Power Tools, 2nd Edition.

Copying Directory Trees with (tar | tar)
Not just for tape archives, tar can overcome several of the pitfalls of using cp -r. Find out how in this excerpt from Unix Power Tools, 2nd Edition.

Telling tar Which Files to Exclude or Include
Sometimes you don't want to tar just everything in a directory. Or maybe you want to include some subdirectories and exclude others. Find out how in this excerpt from Unix Power Tools, 2nd Edition.

Protecting Files with the Sticky Bit
Want to keep others from altering or deleting your files even if they have write permissions to your directory? Learn about the sticky bit in this excerpt from Unix Power Tools, 2nd Edition.

Checking Differences with diff
Quickly examine differences between similar files.

Comparing Three Different Versions with diff3
Got three similar files to compare? Use diff3!

Context diffs
Context diffs show the lines around changes in similar files.

ex Scripts Built by diff
diff can build automatic editing scripts you can use to change multiple files or to store a revision history.

Looking for Closure
A gawk script that can be used to make sure items that need to occur in pairs actually do so.

Change Many Files by Editing Just One
Use ed and diff to edit mulitple files.

patch: Generalized Updating of Files that Differ
There's an easy way to make changes based on diffs, use Larry Wall's patch utility.

Hacking on Characters with tr
Want to quickly strip special characters from a file or change a mac text file into a Unix text file? Learn how in this excerpt from Unix Power Tools, 2nd Edition.

Trapping Exits Caused by Interrupts
If your shell script is terminated prematurely it could get messy. Learn how to trap those unruly interrupts in this excerpt from Unix Power Tools, 2nd Edition.

Handling Command-Line Arguments with a for Loop
Need a shell script that can step through its command line arguments one by one? Read how to do it with a for loop in this excerpt from Unix Power Tools, 2nd Edition.

The exec Command
There is more than one use for exec, learn a couple of new ones in this excerpt from Unix Power Tools, 2nd Edition.

Standard Input to a for Loop
A for loop can be used to step through a list of arguments from standard input. Find out how in this excerpt from Unix Power Tools, 2nd Edition.

Making a for Loop with Multiple Variables
Got more than one variable you want to use in your for loop? Find out how in this excerpt from Unix Power Tools, 2nd Edition.

Linux Online Certification

Linux/Unix System Administration Certificate Series
Linux/Unix System Administration Certificate Series — This course series targets both beginning and intermediate Linux/Unix users who want to acquire advanced system administration skills, and to back those skills up with a Certificate from the University of Illinois Office of Continuing Education.

Enroll today!


Linux Resources
  • Linux Online
  • The Linux FAQ
  • linux.java.net
  • Linux Kernel Archives
  • Kernel Traffic
  • DistroWatch.com


  • Sponsored by: