Next:
Packing up and backing
Up:
A Guide for Linux
Previous:
Viewing postscript and PDF
Contents
Advanced User's Guide
Subsections
Packing up and backing up your files
Archiving files with
tar
Compressing files with
gzip
Compressing files with
bzip2
Backing up your files
Recovering lost files
Other useful commands
Obtaining information about other users
Changing your personal information
Changing your login shell
Disk quota
Checking disk usage
Counting the number of characters, words and lines
Finding patterns in files using your buddy
grep
Locating files in the system
Finding files in your home directory
Using
find
for useful tasks
Sorting files
Displaying the last few lines in a file
Finding the differences between two text files
Finding the differences between two binary files
Time a command or a program
Spell checking
Finding the date and the time
Watching a command
Recording a terminal session
Compiling, linking, running and debugging C, C++ programs
cdecl: a tool for help with C/C++
Improving your productivity
Repeating and editing previous commands
Input-Output redirection
Processes
Creating and managing processes
Killing processes
Playing Lego in UNIX
Running commands in series
Combining commands using pipes
Customizing your shell
Startup or run control files
Changing your shell prompt
Setting the path: how the shell finds programs
Aliases
Customizing ls
Enhancing cd
Filters: cool objects
Character transliteration with
tr
Comparing sorted file with
comm
Stream editing with
sed
String processing with
awk
Shell programming
Creating new commands
Command arguments and parameters
Program output as arguments
Shell metacharacters
Shell variables
Loops and condition statements in shell programs
Arithmetic in shell scripts
Interactive programs in shell scripts
Useful commands for shell scripts
The
basename
command
The
test
command
More shell script examples
Printing with proper tab spaces
Simple test script
Changing file extensions in one fell swoop
Replacing a word in all files in a directory
Counting files greater than a certain size
Counting number of lines of code recursively
Backing up your files periodically
Backing up your files with minimal disk space
Backing up only files that have changed
Watching if a user logs in or logs out
Functions
Amit Jain 2009-08-23