Category: Commands

Mac OS X locate bash command

11:06 PM by Christian Koch

Filed under Commands

Last modified Sunday September 6th, 2015

To activate on your Mac OS X the locate bash command

Linux shell – execute a programm periodically and watch its output – watch

01:36 PM by Christian Koch

Filed under Commands

Last modified Tuesday June 24th, 2014

In this example I want to view the directory output every 5 seconds: To stop the output press CTRL+C Now to get more awesomeness you can also let watch mark changes in run with the -d parameter:

Optimize png’s from command line with optipng

07:36 PM by Christian Koch

Filed under Commands

Last modified Monday February 3rd, 2014

Be aware that this updates all png’s in the entire subtree of /to/my/parent/folder/with/pngs

jpegtran – Optimize jpeg’s from command line

07:16 PM by Christian Koch

Filed under Commands

Last modified Monday February 3rd, 2014

Be aware that this updates all jpeg's in the entire subtree of /to/my/parent/folder/with/jpegs

Recursively replace a word in multiple files in multiple directories

12:13 AM by Christian Koch

Filed under Commands

Last modified Thursday October 10th, 2013

Great CentOS FTP Tutorial

03:33 PM by Christian Koch

Filed under Commands, vsftp

Last modified Saturday February 2nd, 2013

Copy&Paste and everything wooks great. http://www.etissimo.com/ftp-server-unter-centos-mit-virtuellen-benutzern-einrichten/

Encrypt and decrypt files with OpenSSL

07:08 PM by Christian Koch

Filed under Commands

Last modified Friday January 18th, 2013

To encrypt a file, in my example original.file on your terminal using openssl use the following command: This command encrypts the original.file using blowfish cipher. If you want to use another encryption take a look at the man pages of openssl. To decrypt encrypted.file use the following command: That's it.

Mac OS X – Start insecure Chrome

05:12 PM by Christian Koch

Filed under Commands

Last modified Friday January 18th, 2013

To open Chrome on Mac OS X in insecure Mode for example to open XMLHttpRequest from another Server use this command in your terminal: Be aware not to open other unsecure or unknown Sites that you don't know. You should prefer to open them in the normal Mode ;-)