Syakir on July 9th, 2008

NOTE TO SELF!
chmod 644 `find . -type f -iname “*.php”`
- “.” is the root folder/path you want to mass chmod
- f is for files
- .php is for file extension
chmod 755 `find . -type d`
- “d” is for directory
Popularity: 28% [?]

Popularity: 28% [?]

Continue reading about Chmod

Syakir on March 7th, 2008

If you’re trying to pull some folder from a Linux server to your Windows computer, using .tar/.tar.gz would be hard to extract. There’s an option to compress using zip in Linux in 1 simple step.
zip -9 -r zipname.zip folder
-9 = this is the best compression. option would be -1 to -9
-r = recursive, compress [...]

Popularity: 18% [?]

Continue reading about Zip A Folder Under Linux

Syakir on October 31st, 2007

A great little guide to setting up two accounts so that you don’t have to type in your password when sshing between them. btw, OS X uses OpenSSH. I don’t know what it is for other platforms.
Basic Idea
No-password authentication works because of public key crypto. Let’s say you have a local machine Ooga and a [...]

Popularity: 12% [?]

Continue reading about SSH/SSH2 Password-less Authentication