How To Create Groups In Linux?

How To Create Groups In Linux?

Linux and its distributions provide the groups in order to manage and organize users. The most popular use case for the Linux groups is setting read, write, and execute privileges of the files and directories according to the group. By using Linux groups a file can be shared with the other group users by setting … Read more

Linux ldconfig Command Tutorial

Linux ldconfig Command Tutorial

Linux commands and executables heavily rely on shared libraries where a single shared library is generally used by multiple commands or executables even by other libraries. A shared library is a file that contains binary code in order to run Linux commands and executables properly. The shared means that the library can be used by … Read more

What Does “sudo apt-get update” Do?

What Does "sudo apt-get update" Do?

Linux distributions like Ubuntu, Debian, Mint, Kali, etc. use the deb packages and apt-get for package management. One of the most used package management commands is “sudo apt-get update”. If you are using a newer version the “sudo apt update” command is used. But what does the “sudo apt-get update” comman do? What Does “sudo … Read more

Bash While Loop Tutorial

Bash While Loop Tutorial

Linux bash is like a programming or scripting language that provides similar structures to the programming languages like C#, PHP, Python, C, etc. The while loop also provided by the Linux bash which is simply used to iterate over multiple items which can be numbers, files, folders, users, etc. Bash While Loop Syntax The bash … Read more

What Is Umask In Linux and How To Set Umask?

What Is Umask In Linux and How To Set Umask?

Linux files and directories have access to privileges or rights in order to allow or prevent different users. These permissions consist of reading, write, and execute in basic. There are also some extra permissions. The umask is the expression of these permissions in numerical or symbolic format and also the command which can be used … Read more

How To Remove (Delete) Symbolic Links In Linux?

How To Remove (Delete) Symbolic Links In Linux?

A symbolic link is a file that redirects into another file or folder. Symbolic links also called shortcuts in Windows operating system. Symbolic links provide the ability to put a single file or directory into multiple locations without copying. Symbolic links do not contain actual data where only provides a link to the actual data … Read more

How To Add Apt Repository In Ubuntu and Debian?

How To Add Apt Repository In Ubuntu and Debian?

Ubuntu and Debian use the apt repositories in order to download and install packages. Apt repositories provide the *.deb packages with their metadata information. Ubuntu and Debian provide official Apt repositories with a lot of packages. But in some cases 3rd party apt repositories can be used to install different software packages. The add-apt-repository command … Read more

How To Get Size of Directory/Folder In Linux?

How To Get Size of Directory/Folder In Linux?

Directories or folders can contain multiple files and directories. These multiple files and directories use some disk space and have a size. But when we list the files and directories we see that the directory size is listed as 4096 bytes or 4KB. This is the directory standard size which does not contain the files … Read more