Command options

Options modify the way that a command works. They usually consist of a hyphen followed by a single letter.

For example the wc command counts the number of words, characters and lines in a file. By using a different option you can choose what is counted.

   wc -w file1   counts the words
   wc -c file1   counts the characters
   wc -l file1   counts the lines

[Home] [Search] [Index] This site maintained by webmaster@softlab.ece.ntua.gr