๐ฅ ๐๐ง๐ฅ๐๐๐ฌ๐ก ๐๐จ๐ฎ๐ซ ๐๐๐ฏ๐๐ฉ๐ฌ ๐๐จ๐ญ๐๐ง๐ญ๐ข๐๐ฅ: ๐๐ฌ๐ฌ๐๐ง๐ญ๐ข๐๐ฅ ๐๐ข๐ง๐ฎ๐ฑ ๐๐จ๐ฆ๐ฆ๐๐ง๐๐ฌ ๐๐๐ฌ๐ญ๐๐ซ๐ฒ! ๐๐๐ซ๐ญ-3๐
Table of contents
- 1. ๐๐๐ก๐จ (๐๐๐ก๐จ):
- 2. ๐๐จ๐ฏ๐ (๐ฆ๐ฏ):
- 3. ๐๐จ๐ฉ๐ฒ (๐๐ฉ):
- 4. ๐๐ข๐ฌ๐ค ๐๐ฌ๐๐ ๐ (๐๐ฎ):
- 5. ๐๐ข๐๐ (๐๐ข๐๐):
- 6. ๐๐๐๐ (๐ก๐๐๐):
- 7. ๐๐๐ข๐ฅ (๐ญ๐๐ข๐ฅ):
- 8. ๐๐จ๐ซ๐ (๐ฆ๐จ๐ซ๐):
- 9. ๐๐ข๐ฌ๐ค ๐ ๐ซ๐๐ (๐๐):
- 10. ๐๐ข๐ฌ๐ค ๐ ๐ซ๐๐ -๐ก (๐๐ -๐ก):
Embark on the next phase of Linux command mastery for DevOps professionals! Delve deep into advanced commands and streamline your workflows. Let's elevate your DevOps game together๐
1. ๐๐๐ก๐จ (๐๐๐ก๐จ):
The '๐๐๐ก๐จ' command displays the text passed in as an argument.
Example:
๐๐๐๐ <๐๐๐๐>
2. ๐๐จ๐ฏ๐ (๐ฆ๐ฏ):
The '๐ฆ๐ฏ' command is used to rename or move a directory or file.
To rename a file:
๐๐ <๐๐๐
_๐๐๐๐_๐๐_๐๐๐๐> <๐๐๐_๐๐๐๐_๐๐_๐๐๐๐>
To rename a folder:
๐๐ <๐๐๐
_๐๐๐๐_๐๐_๐๐๐๐
๐๐>/ <๐๐๐_๐๐๐๐_๐๐_๐๐๐๐
๐๐>
To move a file:
๐๐ ๐๐๐๐_๐๐๐๐.๐๐๐ /๐๐๐๐/๐๐/๐
๐๐๐๐๐๐๐๐๐๐
To move a folder:
๐๐ ๐๐๐๐
๐๐_๐๐๐๐ /๐๐๐๐/๐๐/๐
๐๐๐๐๐๐๐๐๐๐/
3. ๐๐จ๐ฉ๐ฒ (๐๐ฉ):
Using the '๐๐ฉ' command, we copy a file in the Linux shell.
Example:
๐๐ <๐๐๐๐๐๐> <๐
๐๐๐๐๐๐๐๐๐๐>
4. ๐๐ข๐ฌ๐ค ๐๐ฌ๐๐ ๐ (๐๐ฎ):
The '๐๐ฎ' command is used to check the information of disk usage of files and directories on a system.
Example:
๐
๐
5. ๐๐ข๐๐ (๐๐ข๐๐):
The '๐ ๐๐๐' command is used to compare the contents of two files line by line and display the differences between them.
Example:
๐
๐๐๐ ๐๐๐๐1 ๐๐๐๐2
6. ๐๐๐๐ (๐ก๐๐๐):
The '๐๐๐๐ ' command displays the starting content of a file. It shows the first 10 lines of the file by default.
Example:
๐๐๐๐
<๐๐๐๐_๐๐๐๐>
7. ๐๐๐ข๐ฅ (๐ญ๐๐ข๐ฅ):
The '๐ญ๐๐ข๐ฅ' command is used to display the last 10 lines of a file by default.
Example:
๐๐๐๐ <๐๐๐๐_๐๐๐๐>
8. ๐๐จ๐ซ๐ (๐ฆ๐จ๐ซ๐):
The '๐ฆ๐จ๐ซ๐' is similar to '๐๐๐ญ' command but the only difference is, in case of larger files, '๐๐๐ญ' command output will scroll off your screen while '๐ฆ๐จ๐ซ๐' command displays output one screenful at a time.
Example:
๐๐๐๐ <๐๐๐๐_๐๐๐๐>
9. ๐๐ข๐ฌ๐ค ๐ ๐ซ๐๐ (๐๐):
The '๐๐' command displays information about total space and available space on a file system.
Example:
๐
๐
10. ๐๐ข๐ฌ๐ค ๐ ๐ซ๐๐ -๐ก (๐๐ -๐ก):
The '๐๐ -๐ก' command displays the output in a more user-friendly format, showing sizes in a human-readable format.
Example:
๐
๐ -๐
๐๐๐ซ๐ ๐ข๐ฌ ๐ญ๐ก๐ ๐๐ข๐ซ๐ฌ๐ญ ๐ฉ๐๐ซ๐ญ -> https://ayushmaggo.hashnode.dev/1
๐๐๐ซ๐ ๐ข๐ฌ ๐ญ๐ก๐ ๐ฌ๐๐๐จ๐ง๐ ๐ฉ๐๐ซ๐ญ -> https://ayushmaggo.hashnode.dev/2
Thank you for reading this blog, and I hope you found it informative. If you found this blog helpful, please like, share, and follow me for more blog posts like this in the future.
--Happy learning!!!