Day 3  - 90 DaysOfDevOps - Basic commands of Linux

Day 3 - 90 DaysOfDevOps - Basic commands of Linux

Linux💻 is a widely used operating system, which is completely controlled by commands. These Commands make it an easier way of using the system, which makes it reliable. These Commands are used on the server side to operate it and provide confidentiality.

🖋️ Below are a few commands used on Linux:-

  1. To view what's written in a file -> ' cat colors.txt '

  2. To check which commands you have run till now -> ' history '

  3. To remove a directory/ Folder -> ' rm file2.txt '

  4. To create a fruits.txt file -> ' vim fruit.txt '

  5. To view the content in the file -> ' cat fruit.txt '

  6. To Show only the top three fruits from the file -> ' head -3 fruit.txt '

  7. To Show only the bottom three fruits from the file -> ' tail -3 fruit.txt '

  8. To create another file Colors.txt -> ' vim colors.txt '

  9. To view the content of the file -> ' cat colors.txt '

  10. To find the difference between fruits.txt and Colors.txt files. -> ' diff fruit.txt colors.txt '