# Day 3 Linux Basic Commands Part 2( Day to Day Activities)

# Day 3 Linux Basic Commands Part 2( Day to Day Activities)

Table of contents

No heading

No headings in the article.

Cat :To view what's written in a file. or it can be used to see the contents of file

chmod :To change the access permissions of files

history: To check which commands you have run till now.

touch: To create a empty file this command can be used and same time we can create multiple empty files with the help of this command

multiple files creation using touch command

echo: This command is used to print the text as well we can use it for add the contents in file using insertion > operator

head -n 3(command name -n count of top lines which you want to show): using this command we can show top three rows or line of file

tail -n 3 (command name -n count of top lines which you want to show): using this command we can show bottom three rows or line of file.

diff: To find the difference between fruits.txt and Colors.txt file

I hope this basic commands of Linux Basic commands are useful day to day activities and for devops. Follow for more updates