Linux: Difference between revisions

From lurkmore wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
'''Linux''' is neither [[Windows]] nor [[Mac OS]].
'''Linux''' is neither [[Windows]] nor [[Mac OS]].


Currently, the best distros there are CentOS, Debian 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]].
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'': <code>find .(/dir) -type d -exec chmod 755 {} \;</code>
: Replace ''755'' with the permissions you need.
 
To chmod all files or folders by name: <code>find .(/dir) -name filename -exec chmod 755 {} \;</code>
: Replace ''filename'' with the name you want.


== Related articles ==
== Related articles ==

Revision as of 22:22, 28 September 2016

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