Some useful terminal commands in OS X - OS X

Users browsing this thread: 4 Guest(s)
Deliverance
Members
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
Code:
defaults write com.apple.finder 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
Code:
ls -a

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

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

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

Highlight items in stacks.
Code:
defaults write com.apple.dock 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.
Code:
defaults write com.apple.dashboard 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