When it comes to Mac computers, there are several command line tricks that can bolster productivity and provide users with valuable information. In order to enter these command lines, users will need to navigate to Terminal. This could be done through the Applications folder, under Utilities. Once in Terminal, these commands can easily be entered. The following 7 are among the most innovative and useful to the everyday user.
When using Terminal to enter commands, it is important to know what database you are currently using. Simply enter “pwd” as your command. This stands for Print Working Database, and will reveal information about the current location. To in turn change to another destination, simply enter “cd” followed by the name of the desired place. For example, “cd desktop” will navigate to the desktop.
Listing files and permissions can have several practical uses. To easily do this within Terminal, the following command should be issued: ls. Care should be taken to enter the letter “l,” not the numeral 1. Adding the –l argument will in turn display permissions and the date of creation for the files in question. Together, it appears like this: ls –l.
If your computer is running slowly, the memory could be at fault. Memory is often utilized by several different applications at one time, causing processing to prove quite slow. Simple enter the word “purge” as the command, which will free up memory without forcing the user to reboot.
If your email is generally sent in HTML format and you do not care to read it this way, you can force Mail to instead display it as plain text. Enter the following command to do so: defaults write com.apple.mail PreferPlainText -bool TRUE
If you enjoy using widgets, you may want to pull a few onto your desktop. Although this isn’t generally allowed, if you enter the following command into Terminal, you will be given permission: defaults write com.apple.dashboard devmode YES. The command may not take effect until the computer has been restarted, at which point the widgets can be repositioned.
If you have ever been using Finder and wished to close out of it, you may be frustrated to discover that there is no “quit” option in the Finder menu. You can easily change this by simply entering this command in Terminal: defaults write com.apple.finder QuitMenuItem -bool YES
killall Finder. This will allow you to Quit the program the next time you use it.
If you want to customize your computer, taking it to the next level, why not cause your screensaver to become your desktop. The following command will take the current screensaver and place it there: /System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background. Should you change your mind once the command has been activated, you can revert by entering “.”