Day3: Basic Linux Commands

Day 3 Task - Basic Linux Commands that are used in day-to-day activities

What is Linux command to-

1.To view what's written in a file-cat filename

2.To change the access permissions of files.

chmod- To provide required permissions.

e.g.-chmod 777-READ WRITE EXECUTE for All

r = read permission
w = write permission
x = execute permission
= no permission

Linux File Permissions Explained: A Practical Approach

3.To check the history

"History"

4.To remove directory/folder

rm -rf/rm (r===recursively)

5.To create fruits.txt file and view the content

6.Add contents in DevOps.txt(1 in each line)-apple,mango,banana,cherry,kiwi,orange,guava

7.To show only top3 fruits from the file

8.To show only bottom3 fruits from the file.

9.To create another files colors.txt and to view the content

10.Add contents in Colors.txt

11.To find the difference between devops.txt and colors.txt

Thank You,

#day3challenge #90daysofdevops

I extend my heartfelt thanks to each and every one of you who has dedicated time to read, engage with, and support my journey.

Should you identify any areas for correction or have additional insights to contribute to the blogs, please feel free to reach out. Your feedback is not only welcome but also immensely valued and appreciated.

~ Suresh Kumar🙂