Hello readers! Today, we are gonna learn some of the handy and most commonly used Linux commands.
To view what's written in a file.
To change the access permissions of files.
If we consider the image below, the directory .cache has only read, write and execute options for the user.
To give read and write access to the group, chmod command can be used in the following way:
To check which commands you have run till now.
To remove a directory/ Folder.
To create a fruits.txt file and to view the content.
Add content in devops.txt (One in each line) - Apple, Mango, Banana, Cherry, Kiwi, Orange, Guava.
To Show only top three fruits from the file.
To Show only 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, Grey.
To find the difference between fruits.txt and Colors.txt file
Thanks for reading my blog!