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
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).
If you want to select text from files opened with Quick Look and Preview
Open Terminal and paste the following commands
defaults write com.apple.finder QLEnableTextSelection -bool TRUE
If you want to reverse the changes
defaults write com.apple.finder QLEnableTextSelection -bool FALSE
And repeat the Finder restart
If you are used to Linux, you might have been used to the following command
netstat -atp | grep -i "listen"
In OS X netstat doesn’t work in the exact same way, and you can use the
A simple way of listing your open and listening ports in OS X
sudo lsof -i -P | grep -i "listen"
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
sudo softwareupdate -d -i
That should run your update and install all downloaded packages.
I just experienced that a recent update from Apple rendered my bluetooth functionality completely dead. The status bar icon was greyed out with a horizontal lightning bolt looking icon crossed through it.
After some time on Google, i find i am not the only one
Solutions listed below worked like a charm..
Try resetting the SMC and the PRAM:
Another solution for a Intel based Macbook Pro..
1. shut down the computer.
2. remove power cord.
3. press the power button for 5 sec.
4. connect the power cord.
In OSX 10.6.xx (Snow Leopard) users who use the Terminal application to SSH into remote servers might experience that the backspace key works as the delete key in some applications (VI, Nano, Pico etc) I have not heard of this happening in any other OS or application, so an easy way to fix this in Terminal configuration on your Mac.
Go to Terminal preferences, select the Advanced tab, and check “Delete sends Ctrl-H”. That’s all it takes to get the “delete” key to work correctly in all applications used in your SSH sessions.
Ever wanted to automatically mount your SMB/Windows shares when you log on your Mac??
Here is a small code example written in AppleScript, that will aid you in the process.
Ever wanted to encrypt a single file or folder?
Try Cryptor, an excellent tool for the job.
Download Cryptor here
Connecting your Windows NTFS formatted disk to your Mac will give you option of reading, but not writing data.
Solution : Download Paragon NTFS for Mac
There is a 10 day free trial that works absolutely perfect. Want the full version, you have to invest a few bucks.
It is absolutely worth it …
When using terminal in OS X (or linux for that matter), aliases is always helpful.
So, how do you set them up, and how do you use them..