Tú Linh Nguyễn
New member
How do I view the contents of a file in Linux?
Answer
Manage Files Effectively using head, tail and cat Commands in
Answer
Manage Files Effectively using head, tail and cat Commands in
- head Command. The head command reads the first ten lines of a any given file name. The basic syntax of head command is: head [options] [file(s)]
- tail Command. The tail command allows you to display last ten lines of any text file.
- cat Command. The ‘cat’ command is most widely used, universal tool.