Remove Mac OSX's dot underscore files
Answer:
To list the dot underscore files in a Mac directory, you can use:
# find . -name '._*' -exec ls {} \;
To remove them, you can try:
# find . -name '._*' -exec rm -v {} \;
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Remove Mac OSX's dot underscore files
Answer:
To list the dot underscore files in a Mac directory, you can use:
# find . -name '._*' -exec ls {} \;
To remove them, you can try:
# find . -name '._*' -exec rm -v {} \;
How to clear terminal's shell buffer in Mac OS X
Answer:
To clear your terminal's shell buffer in Mac OS X, you can use COMMAND + K
How to show all listening ports in Mac OSX
Answer:
To show all the listening ports in Mac OSX, try
# lsof -iTCP -sTCP:LISTEN
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