Engineering Network Services - CSU
| |
Unix Information
Special command line characters
These commands allow for the manipulation of data.
| . |
(A dot or period)
Shorthand for current directory. |
| .. |
(Two dots)
Shorthand for parent directory of the current directory. |
| ~userName |
(A tilde - found just above the tab key)
Shorthand for the home directory of "userName". Ex. cd ~joeblow |
| * |
(asterisk) Match zero or more characters. |
Examples. |
| ? |
Match zero or one character. |
Examples. |
| >file |
Redirect output to file. WARNING: If file exists, it will be over written. |
Examples. |
| >>file |
Redirect output and append to file. |
Examples. |
| <file |
Read input from file. |
Examples. |
| cmd1 | cmd2 |
Use cmd1's output as input to cmd2. The '|' is know as the pipe character. |
Examples. |
|
|
This document last modified Monday March 01, 2010