Table of contents
Here I have completed the task related to Linux commands.
Day 3 Tasks:
Basic main command
- touch
<filename>
-> It is used to create a new file.
- xdg-open
<filename>
-> It opens the file in a text editor.
- cat -> It prints out the standard output present in the file.
- chmod -> It is used to change the permission of a file or directory.
- history -> It is used the check the command history log in the Linux terminal.
- rmdir -> It is used to remove the directory or folder.
head -> It shows the output of the header part.
head -n 3 -> It will show starting 3 lines.
tail -> It shows the output of the footer part.
tail -n 3 -> It will show the ending 3 lines.
- diff -> It is used to find out the difference between two or more files when there is a lot of content in it.