System information

An Introduction to Shells in General
Axis Communications AB provides NO support for application development of any kind. The information
here is provided "as is", and there is no guarantee that any of the examples shown will work in your
particular application.
Revision 1.02 October 2002 61
Linux debian 2.2.15pre13 #5 Tue Mar 14 16:03:50 MST 2000
i686 unknown
5.3.54 uniq
Syntax: uniq [OPTION]... [INPUT [OUTPUT]]
Discard all but one of successive identical lines from INPUT (or standard input), writing to
OUTPUT (or standard output).
Options:
-c prefix lines by the number of occurrences
-d only print duplicate lines
-u only print unique lines
Example:
$ echo -e "a
a
b
c
c
a" | sort | uniq
a
b
c
5.3.55 usleep
Syntax: usleep N
Pause for N microseconds.
Example:
$ usleep 1000000
[pauses for 1 second]
5.3.56 wc
Syntax: wc [OPTION]... [FILE]...
Print line, word, and byte counts for each FILE, and a total line if more than one FILE is
specified. With no
FILE, read standard input.
Options:
-c print the byte counts
-l print the newline counts
-L print the length of the longest line
-w print the word counts
Example:
$ wc /etc/passwd
31 46 1365 /etc/passwd