arundelo comments on PSA: Learn to code - Less Wrong

34 Post author: John_Maxwell_IV 25 May 2012 06:50PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (77)

You are viewing a single comment's thread. Show more comments above.

Comment author: wmorgan 26 May 2012 07:56:56AM 0 points [-]

The pleonastic cat was intentional (I like the expressiveness), but I didn't know that about pipes. Very cool!

Comment author: arundelo 27 May 2012 05:30:43PM 0 points [-]

It works with && and || too:

touch /var/log/php.log &&
chown nobody:medium /var/log/php.log &&
chmod 640 /var/log/php.log