How To Make A Directory Public In Linux?

Linux provides permissions in order to allow or deny access to a directory. By default, a directory is only accessible by its owner after the directory creation. But sometimes we may want to make a directory public which means everyone can access, read, write and execute the directory content. In this tutorial, we examine how … Read more

How To Change Linux File and Directory Permissions?

How To Change Linux File and Directory Permissions?

Linux is a secure operating system that uses file and directory permissions to allow and deny different access types. In general, a file or directory has 3 operations named read , write and execute . These operations permissions can be set according to the different users or user groups. The chmod command is used to … Read more

What Is “chmod 755” and How To Use It?

What Is "chmod 755" and How To Use It?

In Linux the chmod command is used to change permissions for files and directories. The chmod can be used to set owner, group and other permissions by using read , write and execute . These permissions can be used in different ways where the chmod 755 is popular permission used by system administrators. Simply the … Read more

How To Change Folder and Subfolder Permissions In Linux?

How To Change Folder and Subfolder Permissions In Linux?

Permissions are an important part of Linux security and folders are used with different permissions to protect them. Linux provides read, write and execute permissions by default for files and folders. there are different ways and commands to change folder and subfolder permissions. The defacto command is chmod command which changes the read, write and … Read more

Shebang #! Tutorial In Linux Bash

Shebang #! Tutorial In Linux Bash

In computing and Linux the shebang is a character sequence that consists of # and ! . Simply the shebang is expressed as “#!”. The shebang is also called sha-bang, hashbang, pound-bang, and hash-pling. The shebang is used to specify an interpreter for script files. Linux is popular with its script files and scripting languages … Read more

Linux chmod Command Tutorial with Examples

Linux chmod Command Tutorial with Examples

Linux and Unix operating systems provide the chmod command in order to change access permission for the files and folders. The chmod command name comes from change mode . The read, write, execute permissions with the sticky bit feature can be changed by using the chmod command. The chmod command is created in 1971 with … Read more

Linux Bash “Permission Denied” Error and Solutions

Linux Bash "Permission Denied" Error and Solutions

Linux bash can be used to run and execute scripts, programs, applications, and commands in a fast and practical way. When a script, program, application, or command is tried to be executed there may be errors like “Permission Denied“. This error can be caused for different reasons. In this tutorial, we list some solutions to … Read more

How To Make Bash Script Executable with chmod?

How To Make Bash Script Executable with chmod?

Linux script files are very useful to execute multiple commands again and again. They are a very practical way to executed multiple commands. But in order to run a script file, it should be executable. By default when a script file is created it is not executable. In order to make it executable, the chmod … Read more

What Is “chmod +x” Command In Linux?

What Is "chmod +x" Command In Linux?

Linux provides the chmod command which is used to change file and folder permission. The chmod command is provided by all major Linux distributions like Ubuntu, Debian, CentOS, Mint, Kali, RHEL, SUSE, etc. The chmod command has different options and parameters but the chmod +x is one of the most popular and used options for … Read more

chmod Recursively – Change Files and Folders Permissions Recursively In Linux

chmod Recursively - Change Files and Folders Permissions Recursively In Linux

Linux uses file permission in order to regulate access, modification of the files, and folders. This regulation is called files and folder permissions where every file and folder can be set for different permission for different operations. By using the permission unwanted users can not access, read, or change given files and folders. chmod recursive … Read more