๐ฅ ๐๐ง๐ฅ๐๐๐ฌ๐ก ๐๐จ๐ฎ๐ซ ๐๐๐ฏ๐๐ฉ๐ฌ ๐๐จ๐ญ๐๐ง๐ญ๐ข๐๐ฅ: ๐๐ฌ๐ฌ๐๐ง๐ญ๐ข๐๐ฅ ๐๐ข๐ง๐ฎ๐ฑ ๐๐จ๐ฆ๐ฆ๐๐ง๐๐ฌ ๐๐๐ฌ๐ญ๐๐ซ๐ฒ! ๐๐๐ซ๐ญ-8๐
Table of contents
- 1. ๐๐จ๐ฐ ๐ญ๐จ ๐๐ซ๐๐๐ญ๐/๐๐๐ ๐ ๐ง๐๐ฐ ๐ฎ๐ฌ๐๐ซ (๐ฎ๐ฌ๐๐ซ๐๐๐):
- 2. ๐๐จ๐ฐ ๐ญ๐จ ๐๐๐/๐๐ซ๐๐๐ญ๐ ๐ ๐ง๐๐ฐ ๐ ๐ซ๐จ๐ฎ๐ฉ (๐ ๐ซ๐จ๐ฎ๐ฉ๐๐๐):
- 3. ๐๐จ๐ฐ ๐ญ๐จ ๐๐๐ฅ๐๐ญ๐ ๐ ๐ฎ๐ฌ๐๐ซ (๐ฎ๐ฌ๐๐ซ๐๐๐ฅ):
- 4. ๐๐จ๐ฐ ๐ญ๐จ ๐๐๐ฅ๐๐ญ๐ ๐ ๐ ๐ซ๐จ๐ฎ๐ฉ (๐ ๐ซ๐จ๐ฎ๐ฉ๐๐๐ฅ):
- 5. ๐๐จ๐๐ญ ๐๐ข๐ง๐ค ๐ข๐ง ๐๐ข๐ง๐ฎ๐ฑ:
- 6. ๐๐๐ซ๐ ๐๐ข๐ง๐ค ๐ข๐ง ๐๐ข๐ง๐ฎ๐ฑ:
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.