Linux Tips

How to: chmod 644 all files within a directory (SSH – LINUX)

0
1 0

Secure Shell or SSH is a network protocol that allows you to transfer data using a secured channel between network devices. The two major versions of the protocol are SSH1 or SSH-1 and SSH2 or SSH-2. Used mainly in multiuser operating systems as Linux and UNIX, SSH was developed as a replacement for Telnet and other protocols’s insecure remote access, which send information, notably the password in cleartext, allowing its discovery by traffic analysis. Encryption used by SSH intends to ensure the confidentiality and integrity of data transmitted over an insecure network such as the Internet.

Today we will present you some very important tips when using SSH:How to chmod 644 all files within a directory?

 

How to chmod 644 all files within a folder?

[box type=”info” align=”aligncenter” width=”550px” ]

ANSWER: find /path/to/base/dir -type f -exec chmod 644 {} ;[/box]

 

How to chmod 755 all directories?

[box type=”info” align=”aligncenter” width=”550px” ]

ANSWER: find /path/to/base/dir -type d -exec chmod 755 {} ;[/box]

[divider]

StanleyTips.com is equal with a source of updated IT news including: Google Doodle news, Easter Eggs news, Magento tutorials, WordPress News and Tutorials, Windows tips, Linux tips, SEO tips and more.

[divider]

Stanley
I am a self made webmaster, blogger, web technology enthusiast and founder of StanleyTips.com.
You may also like
linux ssh shell chmod 775 only for folders
How to: chmod 755 all directories without files (SSH – LINUX)
Install Adobe Photoshop CS6 in Ubuntu Linux Machine
How to: Install Adobe Photoshop CS6 in Ubuntu Linux Machine

Enjoy This Article?

Join My Mailing List...

Facebook

Twitter

THANK YOU