Day 3: Hands-on Linux
90DaysOfDevOps

To view what's written in a file.
cat <file_name>To change the access permissions of files.
chmod <permissions> <file_name>To check which commands you have run till now.
historyTo remove a directory/ Folder.
rmdir <directory_name>To create a fruits.txt file and to view the content.
touch fruits.txt cat fruits.txtAdd content in devops.txt (One in each line) - Apple, Mango, Banana, Cherry, Kiwi, Orange, Guava

To Show only the top three fruits from the file.
head -3 devops.txtTo Show only the bottom three fruits from the file.
tail -3 devops.txtTo 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.
shown in the above image.
To find the difference between fruits.txt and Colors.txt file.
diff fruits.txt Colors.txt




