SAGARFIVE

Linux Directories – Read

1 To Read File cat <filename>
2 To Read Top 5 lines head -5 <filename>
3 To Read bottom 6 lined tail -6 <filename>
4 To Read File with line number cat -n <filename>
5 Copy content from old file to new Cat <oldfile > > <newfile>
6 Add multiple files data into one cat <file1> <file2 >… > <newfilename>
7 Reverse line reading tac <filename>
8 Read sufficient in screen size more <filename>
9 Read with search less <filename> ,next /<enter text to search>
10 Word count wc <filename>