Some useful terminal commands in OS X - OS X

Users browsing this thread: 1 Guest(s)
Though most of these might be well known I figured I'd make a thread about them anyway.

How to show hidden files in Finder and the terminal.
This command will show all hidden files inside of Finder
defaults write AppleShowAllFiles TRUE
killall Finder
To hide files then just change the value to FALSE and kill finder again.

This command will show hidden files inside of the treminal
ls -a

The PMSET command. This command allows you to better fine tune your Mac's behavior.
Displays setting in use
pmset -g

To set the display sleep time to 10 minutes use this:
pmset -b displaysleep 10

To set a time as to when your mac should poweron use this:
pmset repeat wakeorpoweron MTWRF 8:00:00

Highlight items in stacks.
defaults write mouse-over-hilite-stack -boolean yes
killall Dock
To disable item highlighting then change the value to FALSE.

Disable the dashboard if you have memory issues.
defaults write mcx-disabled -boolean yes
killall Dock

These are just some basic commands I have come across while using OS X. I hope this is useful to someone lol.

Messages In This Thread
Some useful terminal commands in OS X - by Deliverance - 10-07-2013, 02:57 AM