Use terminal to write commands

1. Show hidden files

defaults write com.apple.finder AppleShowAllFiles true

Replace ‘true’ with ‘false’ to put things back to normal.

2. A very useful tip if you use lot of screen grabbing.
Change your screen grab format

defaults write com.apple.screencapture type jpg

Alternate formats are ‘tiff’ and ‘pdf’ or the default, ‘png’. Logout and back in for changes to take effect.

Change your screen capture location

defaults write com.apple.screencapture location [path]

3. For Linux fan
Open Applications from terminal(command)

`open `

e.g.

open /Applications/Preview.app

or

open Desktop/image.jpg

If you use the “-a” option to the ‘open’ command, then you don’t need to give a path – the system will find the application wherever it is.
E.g.:

open -a Preview
open -a Safari