Some useful terminal commands in OS X - OS X
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.
dionysus
Members
Thankyou for the command to disable the dashboard. Don't really have memory problems except if Im watching netflix but it still helps.
yrmt
Grey Hair Nixers
Man, wait when we start that wiki, I have hundreds of these commands.

For example I use pmset -g Batt a lot.
Deliverance
Members
(10-07-2013, 07:48 AM)yrmt Wrote: Man, wait when we start that wiki, I have hundreds of these commands.

For example I use pmset -g Batt a lot.
Okay haha just figured I'd post them anayway :P
yrmt
Grey Hair Nixers
Don't worry, the post is appreciated. Thanks!
dami0
Long time nixers
These are pretty damn good. Reminds me of the time I realised there was such a thing as "open" on Macs. My mind imploded.
atnd
Registered
I'm really interested about knowing this kind of stuff, so I'm searching info. Do you have some books and/or sites to learn about mac os x?
eye
Members
(10-07-2013, 07:48 AM)yrmt Wrote: Man, wait when we start that wiki, I have hundreds of these commands.

We are starting a wiki?
jmbi
Long time nixers
(25-12-2014, 08:50 AM)eye Wrote:
(10-07-2013, 07:48 AM)yrmt Wrote: Man, wait when we start that wiki, I have hundreds of these commands.

We are starting a wiki?

That was posted 530 days ago. We had a wiki, but some people threw a fit over things that were posted on it, so we don't have a wiki anymore.