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:-
To view what's written in a file -> ' cat colors.txt '
To check which commands you have run till now -> ' history '
To remove a directory/ Folder -> ' rm file2.txt '
To create a fruits.txt file -> ' vim fruit.txt '
To view the content in the file -> ' cat fruit.txt '
To Show only the top three fruits from the file -> ' head -3 fruit.txt '
To Show only the bottom three fruits from the file -> ' tail -3 fruit.txt '
To create another file Colors.txt -> ' vim colors.txt '
To view the content of the file -> ' cat colors.txt '
To find the difference between fruits.txt and Colors.txt files. -> ' diff fruit.txt colors.txt '