Archive of January 2014

Useful *nix command-line stuff

I'm capturing here a few hints and URLs to pages that contain useful *nix (Unix/Linux/etc) commands. Sometimes I forget a command that was once useful, so here I am capturing them for my long-term memory! [Linux Commands - A practical reference](http://www.pixelbeat.org/cmdline.html) # Simple Commands To do something with files in a directory, [easy syntax](http://www.cyberciti.biz/faq/bash-loop-over-file/): `` $ for f in *.c; do cmd $f; done `` I find this simpler than `find *.c -exec cmd {} \;`, which has the habit of including the file path (e.g. `./filename` in the command).
@ 02:59 PM on January 18 | 0 Comments

Warning: session_write_close(): Session callback expects true/false return value in Unknown on line 0

Warning: session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/cpanel/php/sessions/ea-php72) in Unknown on line 0