From LURKMORE wiki
Jump to navigationJump to search

Linux is neither Windows nor Mac OS.

Currently, the biggest 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.

Linux resursive 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.

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

Replace filename with the name you want.

Related articles