Fiile Handling Commands

 cat ­ used to display the contents of a small file on terminal
      usage: cat <file name>
      cat when supplied with more than one file will concatenate the files without
 any header information
● more and less commands are used to view large files one page at a time
      usage: more <file name>
      usage: less <file name>

●wc command is used to count lines, words and characters, depending on the
option used.
     usage: wc [options] [file name]
    You can just print number of lines, number of words or number of charcters
by using following options:
     ­l : Number of lines
     ­w : Number of words
     ­c : Number of characters

Comments

Popular Posts