Language Selection

English French German Italian Portuguese Spanish

How to use permission command chmod in Linux with various parameters

Filed under
Linux


In Linux, if you want to manage permission of files or directories all you can do using chmod command.

Through this command, you can ensure a specific person has certain rights to access, modification, and other things.

In this article, we will guide you through the concept of chmod how you can implement it in your system.

Chmod
Chmod stands for change file mode bits.

In a Linux every file has given three properties

r – Read

w – Write

x – Execute

All files are associate with certain permission and attributes to

u – Owner

g – Group

o – Others

Through chmod you can change the file permission, but if you want to change ownership then you have to use chown or chgrp commands in the terminal.

So, now we will show you some commands with examples through this you will get better idea
Read more

More in Tux Machines

today's howtos

  • How to install ShellCheck on FreeBSD to analysis scripts - nixCraft

    ShellCheck is easy to use, free, and open-source static analysis tool that automatically finds bugs in your shell scripts. If you write shell scripts for automation or containers, you need this tool. Let us see how to install and use ShellCheck on the FreeBSD development Unix server.The post How to install ShellCheck on FreeBSD to analysis scripts appeared first on nixCraft.

  • How to Install and Configure Squid Proxy on Linux System

    Squid proxy server is an open-source proxy server for Linux distributions. You can install the Squid proxy server on your network to pass all your bandwidth through the proxy server. Now, you may ask why you would use the Squid proxy server? Here is the answer, the Squid allows you to connect your computers without an active internet connection through the proxy server. You can also enable the DNS cache, web cache, memory cache, and other internet caching to faster load the web pages. You can see that the Squid proxy server can enable caching, increase your server’s efficiency, improve the network performance, reduce bandwidth usages, and make your server secure.

  • Save a copy of all debian packages in the form in which they are installed and configured on your system
  • Install Kubernetes Dashboard

    Dashboard is a web-based Kubernetes user interface.

  • Pulling changes from GitHub to Git - The Linux Juggernaut [Ed: Careful not to conflate Microsoft proprietary software with Git, which is Free software. Git is not GitHub.]

    In our previous article, we demonstrated how we would push our git repositories from our local system out to GitHub. In this article, we will demonstrate how we would actually make changes in a file within a repository on GitHub and then pull the changes/updates to our local machine.

  • Fixing git/github merge conflicts - The Linux Juggernaut

    In our previous article on the git version control system, we explained how we could modify our files in repositories in our GitHub account and then pull the changes from GitHub to the git repositories on our local system and keep the files in synchronization. Now, what if we modified the same piece of information in a file on GitHub as well as within our local git repository? In this article, we will demonstrate how we would proceed if we modified the same information in a file on GitHub as well as locally within our git repository.

  • How To Install Ubuntu Mate On The Raspberry PI 400

    In this guide I will show you how to install Ubuntu Mate on the Raspberry PI 400. [...] Raspberry PI Imager is available for Windows, MacOS, Ubuntu and Raspberry PI OS. If you are using Windows open Windows Explorer and double click on the downloaded file (called something like imager_n where n is the verson number). When the installer pops up click “Install” and then click “Finish”. Raspberry PI Imager should start automatically but if it doesn’t you can find it by clicking on the Windows start menu and searching for “Imager”. If you are using Ubuntu, the downloaded file can be found in the “Downloads” folder. Open the file manager and click on the downloaded Raspberry PI imager file and you will be able to install the application as you would any other .deb file.

  • List of Commands to get Linux system info using terminal - Linux Shout

    In Linux, we can use the command terminal to check various system hardware configurations and information such as CPU, Memory, hard disk, etc., and here are those to use… Although there are tools that can display Linux system info graphically, however, here we are going to use the inbuilt commands. The question of how a system is equipped and how it performs in harsh everyday life is not only of theoretical interest. Lot’s of time to solve a problem we need to know hardware and its utilization to remove some bottleneck. Thus, if you are new to Linux systems or running any cloud server where you want to know about the system load, the network interface, and type of processor and chipset, or what hardware is actually in the system? Then here some top commands to follow…

  • How to Install and Use Yarn on Ubuntu 20.04 - LinuxBuz

    Yarn is an open-source dependency manager for javascript developed by Facebook. It is an alternative to the popular npm package manager. Yarn provides an easier way to automate the process of installing, updating, configuring, and removing packages from the system. Yarn is faster because it caches every package it downloads. So you don't need to download it again.

  • How to Install Cockpit in Debian 10 – Linux Hint

    Cockpit is an open-source and free remote server management software that is sponsored by Red Hat. This software has a simple, web-based interface for managing the administrative tasks of a Linux-based server through a web browser. Cockpit can run on several Linux-based operating distributions, including Ubuntu, Debian, Fedora, CentOS, and more. Cockpit gives you a real-time report of the CPU, RAM, and disk utilization of your system. Using this application, you can perform server tasks management remotely, such as creating user accounts, configuring the network, managing services, monitoring the system, managing the firewall, configuring OpenVPN, and more. Cockpit supports the Openshift cluster and Kubernetes. You can also measure your system performance and update your system using the Cockpit tool.

  • How to Check Version and Update Fedora Linux Kernel – Linux Hint

    For any operating system, the kernel is at the core. Linux is the kernel, rather than the entire operating system, of any Linux distribution. The kernel is responsible for interacting between the hardware of the computer and the software. The Linux kernel is regularly updated to offer the best possible experience. This guide shows you how to check the version and update the kernel of Fedora.

  • How to Run Google Chrome OS from a USB Drive – Linux Hint

    Google Chrome OS is based on the open-source Chromium OS. It is a browser-based operating system. You will only have the Google Chrome web browser installed on it. You can install Chrome web apps or extensions from the Chrome Web Store and add more functionality to the operating system. Sadly, the Google Chrome OS is not publicly available for download, and only the source code of Chromium OS is publicly available. So, you can’t run the Google Chrome OS or Chromium OS directly on your computer. Luckily, a few Chromium OS-based operating systems are available that you can download and install on your computer. The most popular one is Neverware’s CloudReady OS. This article will show you how to make a Live bootable USB thumb drive of Neverware’s CloudReady OS and run it from the USB thumb drive. So, let’s get started.

Trisquel 9 Review: Freedom Vehicle

Here is my review of Trisquel 9.0 Etiona the newly released computer operating system. It is the successor of Flidas and now based on Ubuntu 18.04. It brings the latest improvements by excellently keeping its user friendliness from the family of most secure operating systems on earth. As always, I choose the Regular Edition, with MATE Desktop choice, to report this to you. We will see what’s new in this release and why I call it Software Freedom Vehicle now continuing Successful Freedom in the past. With Etiona, everyone can see that Free Software as well as copyleft are already practical and now we can see that even clearer than before. Let's go! Read more

Postgresql service failed because the control process exited with an error code

PostgreSQL is a free and open-source, community-driven, standard-compliant, and most popular object-relational database management system. It is used by popular IT companies like Uber, Netflix, Instagram, Spotify, etc. Recently I installed PostgreSQL and getting an error while running daemon. This is mainly because PostgreSQL not getting sufficient permission to create the folder required to store database information. Read more

today's leftovers

  • Bob’s 2021 Tech Predictions: What a Difference a Pandemic Makes

    I predicted that IBM would dump a big division and essentially remake itself as Red Hat, its Linux company. Well yes and no. IBM did announce a major restructuring, spinning-off Global Technology Services just as I predicted (score one for me) but it has all happened slowly because everything slows down during a pandemic. The resulting company won’t be called Red Hat (yet), but the rest of it was correct so I’m going to claim this one, not that anybody cares about IBM anymore.

  • Robert Cringley Predicted 'The Death of IT' in 2020. Was He Right?
  • openSUSE Smiles

    There is no end to my amazement of the openSUSE community. They do such a fantastic job of making a wonderful distribution with all the tools that keep me productive. I am very thankful for the reliability I enjoy using openSUSE. The community members also do a great job of helping me through a jam, should I drive myself into one.

  • Retroarch for Android – The Complete Guide - Make Tech Easier

    The first thing you need to do, of course, is install Retroarch from the Play Store. Once you’ve done that, open Retroarch, and you’ll be presented with the main menu, which may mean absolutely nothing to you if you’re unfamiliar with Retroarch.

  • Considering Preparedness

    In short it is necessary to update your IT Disaster Recovery Plan if you are relying on resources physically based in the United States, I think. Nobody is quite sure what exactly is coming down the pike.

  • Junichi Uekawa: Yesterday was our monthly Debian meeting.

    Yesterday was our monthly Debian meeting. We do one every month for Tokyo and Kansai combined, because it's online and no reason to split for now. I presented what I learnt about nodejs packaging in Debian. This time, I started using Emacs for presentation, presenting PDF file. This week I switched most of my login shells to emacsclient, and experimenting.

  • WordPress Post Vs. Page

    Welcome back to the WordPress 101 series. In this series, we are discussing the basics of WordPress for new WordPress users. In this article, you’ll learn the differences between WordPress post vs. page. Often new users get confused between WordPress posts and pages. I remember my cousin created more than 10 pages before he realized he should’ve created posts, not pages. For new users, it may be difficult to understand why WordPress has two separate options to publish content. For them, one can create 200 pages instead of 200 posts and that should make no difference in how search engines see that content.