chmod – POFTUT

Tagged: chmod

0

Linux umask Command Tutorial with Examples, Numeric and Symbolic Representations

umask command is used to set default file and folder permission in  Linux operating system. File and folder permissions are important because the permission enables or deny different users, groups and others to access, read, write and execute of the given file. In this tutorial, we will learn how to use umask command to set default read, write and execute permissions. Syntax The syntax of the umask command is very simple where...

0

What Does “chmod +x” Command In Linux and Unix?

chmod  is very useful tool to manage file modes like read write execute. One of the most used option for chmod is +x which stands for execution rights. In this tutorial we will look different use cases for user or owner, group and others roles. List Current User and Group Of A File We generally need to know given file current user and group. We will use ls  command with -al options in...

0

How To Change File and Directory Permissions with Chmod Recursively

We have an archive which is archived by someone else and we want to change file and directory permissions. In order to change all sub files and directories permissions we need to run chmod recursively. Recursively means please apply given permissions all given files and folders and their sub files and folders. -R or –recursive Option In order to change files and directories permissions recursively chmod provides recursive feature with -R or –recursive options....

0

What is chmod 777

chmod 777 is very popular ownership command. 777 simply means give all rights to the all users. chmod 777 generally used to make operations more smoothly because it will remove all ownership related problems. We generally use chmod 777 some error message like below.

All Files and Directories Recursively One of the most popular use case for chmod 777 is changing given directory and child directories permission recursively. We can use -R option for this....

0

Linux Chown Command Tutorial with Examples To Change Ownership Of Files

chown command is used to change file and folders user , group and other ownership. chown is very useful tool but sometimes becomes very dangerous because it can harm current owner policy.chown mainly changes read , write and execute owner according to given user or group. Syntax Syntax of chown is like below.

List User and Group Owner Before starting to change file and folders owner in Linux we should list current owners of the file....

0

Useful Linux Commands A System Administrator Should Know

Linux is command based operating system. Most of things are done in cli based environment bash . In this tutorial we will look popular and useful commands used by Linux system administrators and user. You can access detailed tutorials simply clicking links below. tr tr command is used to translate or delete characters in the given text. Linux tr Command Tutorial With Examples ps ps command is used to list and get detailed...

0

Hello World Python

We have talked about Python programming language previously. You can find them in Programming > Python section. Creating working environment for Python development and running our first python application is the first step to learning PYthon. In this tutorial we will look a Hello World python application about how can we create and run? Create Source Code File We will follow simple steps to create a source code or application file. In...

0

How To Prevent Deleting Files Accidentally?

Every system admin horror is deleting files accidentally especially important and not backup ed configuration files. Here is how can we recover deleted files from Linux systems which is next situation if we skipped this step. Ask Before Deleting Files rm is defacto tool to remove files from Linux system. We can setup a mechanism to ask before deleting files with simple alias setup like below.

This will add new...

1

How To Set Permission For Folders and Subfolders in Linux

During daily Linux administration we generally work generally with file and directory permissions. In this tutorial we will look different examples about how to change and revert Linux file and directory permissions. There is different ways to set folder and sub folder permission in Linux but here we will describe most convenient way. Read Only Owner Say we have folder /opt/lamp and we want to change all sub folders permission to...

Enjoy this blog? Please spread the word :)