File Content Related Commands in Linux - BunksAllowed

BunksAllowed is an effort to facilitate Self Learning process through the provision of quality tutorials.

Community

demo-image

File Content Related Commands in Linux

Share This

There are many commands that are used to look at the contents of a file. Here, we will discuss some frequently used commands like head, tac, cat, less & more and strings.

head command

This command is used to display the content from the beginning of a file as shown below.

command_head

tail command

This command is used to display the content from the last part of a file.

command_tail

cat command

This command is used to dispalay content of a file or concatenate content of multiple files as shown below.

command_cat

more command

This command is used to diaplay content of a file in pager form that is either in more format.

command_more

less command

This command is used to diaplay content of a file in pager form that is either in less format.

command_less


Happy Exploring!

Comment Using!!

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.