Table of contents
- What is Linux command to-
- 1.To view what's written in a file-cat filename
- 2.To change the access permissions of files.
- 3.To check the history
- 4.To remove directory/folder
- 5.To create fruits.txt file and to 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 fruits.txt nd colors.txt
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
3.To check the history
"history"
4.To remove directory/folder
rm -rf/rm (r===recursively)
5.To create fruits.txt file and to 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 fruits.txt nd colors.txt
Thank you for reading!! Hope you find this helpful.
#day03challenge#90daysofdevops
Always open for suggestions..!!
Thankyou Shubham Londhe !!