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

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

ยท

2 min read

Embark on the last phase of Linux command mastery for DevOps professionals! Dive deep into advanced commands. Let's elevate your DevOps game together! ๐Ÿš€

1. ๐‡๐จ๐ฐ ๐ญ๐จ ๐œ๐ซ๐ž๐š๐ญ๐ž/๐š๐๐ ๐š ๐ง๐ž๐ฐ ๐ฎ๐ฌ๐ž๐ซ (๐ฎ๐ฌ๐ž๐ซ๐š๐๐):

The '๐ฎ๐ฌ๐ž๐ซ๐š๐๐' command is used to add/create new users.

Example:
๐’”๐’–๐’…๐’ ๐’–๐’”๐’†๐’“๐’‚๐’…๐’… -๐’Ž <๐’–๐’”๐’†๐’“_๐’๐’‚๐’Ž๐’†>

The next step is to use the '๐ฉ๐š๐ฌ๐ฌ๐ฐ๐' command to create a password for the new user.

Example:
๐’”๐’–๐’…๐’ ๐’‘๐’‚๐’”๐’”๐’˜๐’… <๐’–๐’”๐’†๐’“_๐’‘๐’‚๐’”๐’”๐’˜๐’๐’“๐’…>

2. ๐‡๐จ๐ฐ ๐ญ๐จ ๐š๐๐/๐œ๐ซ๐ž๐š๐ญ๐ž ๐š ๐ง๐ž๐ฐ ๐ ๐ซ๐จ๐ฎ๐ฉ (๐ ๐ซ๐จ๐ฎ๐ฉ๐š๐๐):

To create a group, use the '๐ ๐ซ๐จ๐ฎ๐ฉ๐š๐๐' command.

Example:
๐’”๐’–๐’…๐’ ๐’ˆ๐’“๐’๐’–๐’‘๐’‚๐’…๐’… <๐’ˆ๐’“๐’๐’–๐’‘_๐’๐’‚๐’Ž๐’†>

3. ๐‡๐จ๐ฐ ๐ญ๐จ ๐๐ž๐ฅ๐ž๐ญ๐ž ๐š ๐ฎ๐ฌ๐ž๐ซ (๐ฎ๐ฌ๐ž๐ซ๐๐ž๐ฅ):

To delete a user, use the '๐ฎ๐ฌ๐ž๐ซ๐๐ž๐ฅ' command.

Example:
๐’”๐’–๐’…๐’ ๐’–๐’”๐’†๐’“๐’…๐’†๐’ <๐’–๐’”๐’†๐’“_๐’๐’‚๐’Ž๐’†>

4. ๐‡๐จ๐ฐ ๐ญ๐จ ๐๐ž๐ฅ๐ž๐ญ๐ž ๐š ๐ ๐ซ๐จ๐ฎ๐ฉ (๐ ๐ซ๐จ๐ฎ๐ฉ๐๐ž๐ฅ):

To delete a group, use the '๐ ๐ซ๐จ๐ฎ๐ฉ๐๐ž๐ฅ' command.

Example:
๐’”๐’–๐’…๐’ ๐’ˆ๐’“๐’๐’–๐’‘๐’…๐’†๐’ <๐’ˆ๐’“๐’๐’–๐’‘_๐’๐’‚๐’Ž๐’†>

5. ๐’๐จ๐Ÿ๐ญ ๐‹๐ข๐ง๐ค ๐ข๐ง ๐‹๐ข๐ง๐ฎ๐ฑ:

Soft link is a special type of file in Linux that points to another file or directory. It contains the path of the target file. Soft link are commonly used to create shortcuts or aliases to file and directories.

You create a soft link using the ln -s command.
๐’๐’ -๐’” /๐’‘๐’‚๐’•๐’‰/๐’•๐’/๐’•๐’‚๐’“๐’ˆ๐’†๐’• /๐’‘๐’‚๐’•๐’‰/๐’•๐’/๐’”๐’๐’‡๐’• ๐’๐’Š๐’๐’Œ

6. ๐‡๐š๐ซ๐ ๐‹๐ข๐ง๐ค ๐ข๐ง ๐‹๐ข๐ง๐ฎ๐ฑ:

A hard link is similar to a soft link. However, a hard link looks like a new file but points back to the data in the original file. A hard link directly points to the same inode, which represents the actual file data.

You create a hard link using the ln command:
๐’๐’ /๐’‘๐’‚๐’•๐’‰/๐’•๐’/๐’•๐’‚๐’“๐’ˆ๐’†๐’• /๐’‘๐’‚๐’•๐’‰/๐’•๐’/๐’‰๐’‚๐’“๐’…๐’๐’Š๐’๐’Œ

๐‡๐ž๐ซ๐ž ๐ข๐ฌ ๐ญ๐ก๐ž ๐Ÿ๐ข๐ซ๐ฌ๐ญ ๐ฉ๐š๐ซ๐ญ -> 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 -> ayushmaggo.hashnode.dev/5

Here is the sixth part -> ayushmaggo.hashnode.dev/6

Here is my seventh part -> https://ayushmaggo.hashnode.dev/7

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.

ย