Show hidden files in Mac file dialogs
Answer:
To show hidden files in Mac file dialogs (e.g. Open/Save file dialog), you can use the shortcut
shift + command + .
That's it.
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Show hidden files in Mac file dialogs
Answer:
To show hidden files in Mac file dialogs (e.g. Open/Save file dialog), you can use the shortcut
shift + command + .
That's it.
How to check Mac OS version from command
Answer:
To check the Mac OS version, it is easy with the following command.
# defaults read loginwindow SystemVersionStampAsString
10.7.3
Show hidden files in Mac OSX
Answer:
To show all the files in Finder, you can open the terminal and type:
defaults write com.apple.finder AppleShowAllFiles TRUE
Then restart Finder
killall Finder
Install bash completion for Mac OSX
Answer:
Bash completion (bash-complete) is a tool that allow you to auto complete commands and their arguments easily using the "tab" keys.
Firstly, make sure you have installed Homebrew, then
# brew install git bash-completion
And add the following lines in your ~/.bash_profile
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
Restart your terminal and now you can see the effect of bash complete by tabbing..
How to get the MD5 checksum of a file under Mac OSX
Answer:
To get the MD5 checksum of a file under Mac OSX, like the md5sum command in Linux, you can use:
# md5 my-file.zip