OS X Kill Finder or Dock

When you are getting the spinning beachball on Mac OS X System Applications/Tools, like the Finder when trying to connector to a failed network share. Your solution is the always winning Terminal. Start Terminal through menu or spotlight, and try the following commands.

The Finder crashed:

killall -KILL Finder

The Dock crashed:

killall -KILL Dock

Spaces crashed:
killall -KILL Dock

The Menubar crashed/refuses to be clickable:
killall -KILL SystemUIServer

The services should automatically restart after they have been killed. If they dont, you might have to reboot your computer. If this option is not available through menus, get back to Terminal and give the following command:
sudo shutdown -r now – provide your Admin password and your machine should be restarting).

Enable Text Selection in Quick Look / Preview

If you want to select text from files opened with Quick Look and Preview

Open Terminal and paste the following commands

And then

If you want to reverse the changes

And repeat the Finder restart

Command Line encrypt & decrypt of files – OpenSSL

Ever had the need to quickly encrypt a file?
We have previously shown you a tool called Cryptor for simple Encryption/Decryption on OSX.

In this post we will show you how to use OpenSSL.

OpenSSL - Command Line usage

With OpenSSL you can perform quick and easy encrypt/decrypt of files from the Command Line.
As long as OpenSSL is installed on your system, you can use the same examples as below on any OS (Windows,Linux,OSX).

Continue reading

Run SoftwareUpdate from command line – OSX

I suddenly found the need for running the SoftwareUpdate application on my Mac via SSH.

Some time on Google and i found this to be a plain simple task
Open “terminal” (or if you connect remotely through SSH)

Command below will show you the triggers

To download and install updates, run

That should run your update and install all downloaded packages.