Skip to main content

Posts

 Notes by vishalk17 ( t.me/vishalk17 ) Devops    Chapter 3 : Linking/archieve/add-remove-users/disk space/size of file ===================================================================== groupadd command in Linux with examples           Groups  in Linux refer to the user groups. In Linux, there can be many users of a single system. In a scenario where there are many users, there might be some privileges that some users have and some don’t, and it becomes difficult to manage all the permissions at the individual user level. So using groups, we can group together a number of users, and set privileges and permissions for the entire group. groupadd command is used to create a new user group.      We can use either usermod or gpasswd command to add user to group in Linux operating system. And both commands are very easy to use.   Syntax groupadd [option] group_name            Every new group created is registered in the file “/etc/group“. To verify that the group has b
Recent posts

Chapter 2 : Linking/archieve/add-remove-users/disk space/size of file

Notes by vishalk17 ( t.me/vishalk17 ) Devops    Chapter 2 : Linking/archieve/add-remove-users/disk space/size of file ===================================================================== Linking:   Soft Links vs Hard Links The  ln  command can be used to create two different kinds of links: Soft links (for files / directories) Hard links (only for files) Soft (Symbolic) Links (for files /directories) A soft link, sometimes called a symbolic link or  symlink , points to the location or  path  of the original file. It works like a hyperlink on the internet. Here are a few important aspects of a soft link: If the original file is moved or deleted, the symbolic link won’t work. A soft link can refer to a file on a different file system. Soft links are often used to quickly access a frequently-used file without typing the whole location. A soft link is something like a shortcut in Windows. How to Use the ln Command  By default, the ln command cre