//
archives

command line

This tag is associated with 2 posts

How to set up UNIX permission for files and directories. Cleverly.

Sometimes you need to recursively set a specific UNIX permission for a whole set of files and/or directories. And you want to have a different permission for your files and for your directories. For example, when installing a CMS like Joomla (or Moodle), you might want to recursively set the UNIX permissions to 700 for … Continue reading

Php from Command Line

A really simple, still useful tip for php developers. It is possible to execute a php command directly from the command line by doing the following: php -r ‘COMMAND’ For example: php -r ‘echo substr(“hello world”, 6);’ Enjoy!

Follow

Get every new post delivered to your Inbox.