Linux

From lurkmore wiki
Jump to navigationJump to search

Linux is a kernel and is neither Windows nor Mac OS (which are OS's).

Currently, the biggest systemd/Linux distros are Debian, CentOS, Ubuntu, and Fedora. Extreme beginners, or people who are given computers with an operating system meant to replace Windows, are generally going to be using Ubuntu.

find(1) recursive chmod on all directories or by file or folder name

To recursively chmod all directories 755: find ./dir -type d -exec chmod 755 {} \;

Replace 755 with the permissions you need.
Permissions 750 is often a good choice (owner rwx+group rx), as 755 (owner rwx+group rx+others rx) gives every account read access.

To chmod all files or folders by name: find ./dir -name filename -exec chmod 755 {} \;

Replace filename with the name you want.

Related articles