Dương Mạnh Cường
New member
How do I view the contents of a file in Linux?
Answer
5 commands to view files in Linux
Answer
5 commands to view files in Linux
- Cat. This is the simplest and perhaps the most popular command to view a file in Linux. …
- nl. The nl command is almost like the cat command. …
- Less. Less command views the file one page at a time. …
- Head. Head command is another way of viewing text file but with a slight difference. …
- Tail.