Three useful tips for Mac Users : Terminal command

Now a day, you can tell a lot of college students at U of H use Mac as their personal laptop. Even some professors too. One good thing about working at CLASS OET is we are also using several Mac computers to catch up the current campus computing trend. In this posting, I would like to share very useful tips for Mac users.

Often time, we are required by FDIS to test Blackboard, our current learning management system. Among the test checklist, one of the forms that you need to fill out is our current Java version.

  1. You can check the Java version in several different ways. One of the easiest one is to use Terminal.
Click the magnified glass at the top right corner on Mac.
Spotlight search box will appear.
Enter the key word ‘terminal’
Terminal window will appear.
Type java -version
The following messages will appear. The first line indicates the current version of Java. The current java version is 1.6.x

java version “1.6.0_65”

Java(TM) SE Runtime Environment (build 1.6.0_65-b14–468–11M4833)

Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04–468, mixed mode)

CLASSs-iMac:~ shhwang$

It is very confusing for PC users when they need to take a screenshot on Mac. Because you can simply press print screen or snipping tool to capture a screenshot. On the other hand, you have to know the short cut to capture a screenshot on Mac.

Command + Shift + 3 -> the entire screen capture 
Command + Shift + 4 -> the part of the screen capture.

The thing is if you keep using screen capturing feature, your Mac desktop will get messy quickly because the default designation of the screen capture is the desktop.

2) The good news is you can change where screenshots are saved on Mac. That is where the following commands come in handy.

Open Terminal and type the following command: defaults write com.apple.screencapture location ~/Documents/Screenshots

From http://www.idownloadblog.com/2014/06/15/how-to-change-where-screenshots-are-saved-on-mac/

3) When you get the “Name is used by another user.” error message in your user account, try the following commands in Terminal

sudo dscl . delete /Users/whatevertheshortnameis
sudo dscl . delete /Users/classidt

https://discussions.apple.com/thread/2547071?tstart=0

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.