Essential Linux Commands: A Practical Guide to Boost Your Productivity
Table of contents
Basic Linux Commands
To view what is written in a file
The command is "cat" to view the content written in a file
To change the access permission of the file
"chmod" is the command to change the access permissions of the file
To check which commands you have run till now.
"history" is the command to check which commands you have run till now.
To remove a directory/ Folder.
"rmdir" is the command to remove a folder or directory.
To create a fruits.txt file and to view the content.
"touch" is the command to create a file.
To Show only the top three fruits from the file.
To Show only the bottom three fruits from the file.
To create another file Colors.txt and to view the content.
Add content in Colors.txt (One in each line) - Red, Pink, White, Black, Blue, Orange, Purple, and Grey.
To find the difference between fruits.txt and Colors.txt file.