HEAD COMMAND IN LINUX O.S
head is a program on Unix and Unix-like operating systems used to display the beginning of a text file or piped data
head [options] [file(s)]
head is a program on Unix and Unix-like operating systems used to display the beginning of a text file or piped data
head [options] [file(s)]
- Head Command show First 10 lines
head <file name>
- If you want to show first n lines
head -n<no. of .lines> <file name>
- multiple file and show final 10 linux including all files
head <file1><file2><file3......>
- Show n lines of the in Multiple files
head -<no of lines> <file 1> <file2>....
- print No of characters in Each lines
head -c<no of charector> <file name>
Comments
Post a Comment