๐Ÿ”ฅ ๐”๐ง๐ฅ๐ž๐š๐ฌ๐ก ๐˜๐จ๐ฎ๐ซ ๐ƒ๐ž๐ฏ๐Ž๐ฉ๐ฌ ๐๐จ๐ญ๐ž๐ง๐ญ๐ข๐š๐ฅ: ๐„๐ฌ๐ฌ๐ž๐ง๐ญ๐ข๐š๐ฅ ๐‹๐ข๐ง๐ฎ๐ฑ ๐‚๐จ๐ฆ๐ฆ๐š๐ง๐๐ฌ ๐Œ๐š๐ฌ๐ญ๐ž๐ซ๐ฒ!
๐๐š๐ซ๐ญ-6๐Ÿš€

๐Ÿ”ฅ ๐”๐ง๐ฅ๐ž๐š๐ฌ๐ก ๐˜๐จ๐ฎ๐ซ ๐ƒ๐ž๐ฏ๐Ž๐ฉ๐ฌ ๐๐จ๐ญ๐ž๐ง๐ญ๐ข๐š๐ฅ: ๐„๐ฌ๐ฌ๐ž๐ง๐ญ๐ข๐š๐ฅ ๐‹๐ข๐ง๐ฎ๐ฑ ๐‚๐จ๐ฆ๐ฆ๐š๐ง๐๐ฌ ๐Œ๐š๐ฌ๐ญ๐ž๐ซ๐ฒ! ๐๐š๐ซ๐ญ-6๐Ÿš€

ยท

2 min read

Embark on the next phase of Linux command mastery for DevOps professionals! Dive deep into advanced commands, from ownership management to system monitoring, and streamline your workflows. Let's elevate your DevOps game together! ๐Ÿš€

1. ๐‚๐ก๐š๐ง๐ ๐ž ๐Ž๐ฐ๐ง๐ž๐ซ (๐œ๐ก๐จ๐ฐ๐ง):

The '๐œ๐ก๐จ๐ฐ๐ง' command is used to modify the ownership of a file or directory to another user.
Both the owner and the root user have the authority to change the owner using this command.

Example:
๐’”๐’–๐’…๐’ ๐’„๐’‰๐’๐’˜๐’ <๐’๐’˜๐’๐’†๐’“> <๐’‡๐’Š๐’๐’†>

2. ๐‚๐ก๐š๐ง๐ ๐ž ๐†๐ซ๐จ๐ฎ๐ฉ (๐œ๐ก๐ ๐ซ๐ฉ):

The '๐œ๐ก๐ ๐ซ๐ฉ' command is used to alter the group ownership of files and directories.

Example:
๐’„๐’‰๐’ˆ๐’“๐’‘ <๐’ˆ๐’“๐’๐’–๐’‘> <๐’‡๐’Š๐’๐’†๐’๐’‚๐’Ž๐’†>

3. ๐’๐จ๐ซ๐ญ (๐ฌ๐จ๐ซ๐ญ):

The '๐ฌ๐จ๐ซ๐ญ' command in Linux arranges the contents of a file in a specified order, typically alphabetical.

Example:
๐’”๐’๐’“๐’• <๐’‡๐’Š๐’๐’†๐’๐’‚๐’Ž๐’†>

4. ๐‚๐ฎ๐ญ (๐œ๐ฎ๐ญ):

The '๐œ๐ฎ๐ญ' command extracts bytes, characters, or fields from each line of a file and writes these bytes, characters, or fields to standard output.

Example:
๐’„๐’–๐’• -๐’ƒ 1 <๐’‡๐’Š๐’๐’†๐’๐’‚๐’Ž๐’†>
-b 1 extracts only the first byte of each line in a column-wise manner.

5. ๐“๐จ๐ฉ (๐ญ๐จ๐ฉ):

The '๐ญ๐จ๐ฉ' command displays the system processes, CPU status, and memory status.

Example:
๐’•๐’๐’‘

6. ๐–๐จ๐ซ๐ ๐‚๐จ๐ฎ๐ง๐ญ (๐ฐ๐œ):

The '๐ฐ๐œ' command counts the number of lines, words, and bytes of a file.

Example:
๐ฐ๐œ <๐Ÿ๐ข๐ฅ๐ž๐ง๐š๐ฆ๐ž>

7. ๐‹๐จ๐œ๐š๐ญ๐ž (๐ฅ๐จ๐œ๐š๐ญ๐ž):

The '๐ฅ๐จ๐œ๐š๐ญ๐ž' command is used to find files within the current directory.

Example:
๐’๐’๐’„๐’‚๐’•๐’† <๐’‡๐’Š๐’๐’†๐’๐’‚๐’Ž๐’†>

8. ๐…๐ซ๐ž๐ž (๐Ÿ๐ซ๐ž๐ž):

The '๐Ÿ๐ซ๐ž๐ž' command provides information about the available disk space on a file system.

Example:
๐’‡๐’“๐’†๐’† -๐’‰

9. ๐•๐ข๐ซ๐ญ๐ฎ๐š๐ฅ ๐Œ๐ž๐ฆ๐จ๐ซ๐ฒ ๐’๐ญ๐š๐ญ๐ข๐ฌ๐ญ๐ข๐œ๐ฌ (๐ฏ๐ฆ๐ฌ๐ญ๐š๐ญ):

The '๐ฏ๐ฆ๐ฌ๐ญ๐š๐ญ' command in Linux/Unix is a performance monitoring command of the system as it gives the information about processes, memory, paging, block IO, disk, and CPU scheduling.

Example:
๐’—๐’Ž๐’”๐’•๐’‚๐’•

10. ๐Š๐ข๐ฅ๐ฅ (๐ค๐ข๐ฅ๐ฅ):

The '๐ค๐ข๐ฅ๐ฅ' command is used to terminate a specific process.

Example:
๐’Œ๐’Š๐’๐’ <๐’‘๐’“๐’๐’„๐’†๐’”๐’”_๐’Š๐’…_>
or
๐’Œ๐’Š๐’๐’ <๐’‘๐’“๐’๐’„๐’†๐’”๐’”_๐’๐’‚๐’Ž๐’†>

๐‡๐ž๐ซ๐ž ๐ข๐ฌ ๐ญ๐ก๐ž ๐Ÿ๐ข๐ซ๐ฌ๐ญ ๐ฉ๐š๐ซ๐ญ -> ayushmaggo.hashnode.dev/1

๐‡๐ž๐ซ๐ž ๐ข๐ฌ ๐ญ๐ก๐ž ๐ฌ๐ž๐œ๐จ๐ง๐ ๐ฉ๐š๐ซ๐ญ -> ayushmaggo.hashnode.dev/2

Here is the third part -> ayushmaggo.hashnode.dev/3

Here is the fourth part -> ayushmaggo.hashnode.dev/4

Here is the fifth part -> https://ayushmaggo.hashnode.dev/5

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.

ย