Low End Mac Reader Specials
TypeStyler For Mac OS X is Now Shipping! Download The Free Fully Functional 60 Day Tryout at www.typestyler.com
Don't install Parallels to play poker online! Poker Mac will show you how
to download and install a native Mac poker application such as Full
Tilt Poker Mac.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
Compare products like desktop computers, apple laptops, apple macs, and LCD Monitors side by side! All the information and reviews to make the best purchasing decision for new mobile phones, sat nav systems, or MP3 players. The Ciao online shopping community makes searching products easy for you.
5 Ways to Use the Terminal in OS X, from Useful to Just Fun
- 2006.01.10
Popularity: ![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Short link: http://bit.ly/GGFM8
Like many Mac users, part of the reason I started using a Mac was the graphical interface and not having to use a command line. It was a big selling point for Apple in the early days of the Mac, with their literature often belittling Unix and DOS/Windows systems for their reliance on "obscure commands".
Of course, since 2001 we've had a Unix variant under the hood of the Mac OS. Apple is now quite proud to promote its command line environment (see Based on Unix on Apple's website).
When OS X debuted, I had very little command line experience. I'd hardly ever used a PC until I occasionally got stuck with them in the labs at college, so I'd never used DOS for more than a few minutes.
My first two years in college, we got email by dialing a terminal program into the university's Unix servers, but I only knew the commands to get and manipulate my mail.
I wasn't very happy with the prospect of having to learn some Unix when I first installed Mac OS X 10.0. Technically there wasn't any need to use the Terminal, but it helped to gain some functionality out of the OS and fix things for which there was no graphical program.
The first thing I learned to do was compile software from source, because there was a video poker game that would run on OS X when compiled straight from source - and I was desperate for a game other than Apple's Chess program.
The next thing I learned to do was delete files with root power, using the sudo command. (You may remember how sometimes you just couldn't empty your trash in the early versions of OS X.)
In the days before Apple supplied a "Repair Permissions" featurein Disk Utility, it sure helped to know the chown and chmod commands, which change file ownership and permissions.
And so on, until one day the Terminal became one of my regular applications. After a while, I had learned enough and actually started to like it. Around the same time, I'd also started to tinker with Linux, and that certainly helped my familiarity with and acceptance of the command line.
Now I wouldn't do without the Terminal, although in today's OS X it's not needed near as much as in earlier versions. The bugs that sent you to the command line in those days are long gone, and there are now GUI front-ends for nearly everything in the Unix underpinnings. If there isn't, it won't be long until somebody builds one in XCode.
But that doesn't mean there still isn't some fun to be had. Here's a rundown of five fun things to do in the Terminal:
Browse the Web
Forget Firefox, Safari, and Camino. The fastest browser on the Mac is without a doubt Links. Of course, it doesn't load any pictures, animations, or Flash movies, but it's great for low-bandwidth connections and for just reading on the Web.
After you download and install the Mac OS X installer package, just open up your Terminal and type links - http://www.lowendmac.com/ to visit Low End Mac in text-only mode. Use the up and down arrows to scroll among the links on the page, and press return on a highlighted link to follow it.
The G key will bring up a URL box for when you'd like to browse to a different site. The Q key quits Links. To get a full list of keyboard shortcuts, press the escape key, and you'll get a menu bar with all the options and their keyboard equivalents.
Make a Remote Mac Sing
This one requires you to have a administrative login account on a remote Mac that has Remote Login (SSH) enabled. Assuming your friend or co-worker's Mac meets these requirements, you can play a heck of a April fool's joke.
In the Terminal, first remotely login to the system by using ssh <username>@<remote Mac's IP address or hostname>.
Once logged in, enter this command:
sudo osascript -e "set Volume 20"
And then press return. This sends an AppleScript to set the volume to an audible level. Then enter the following command:
sudo osascript -e 'say "Dum dum dum dum dum dum dum he he he ho ho ho fa lah lah lah lah lah lah fa lah full hoo hoo hoo" using "Cellos"'
This sends an AppleScript to say the phrase using the Cellos voice. The results are quite humorous. You can try it out on your own system to hear what it sounds like.
Look at a Calendar
The cal command presents you with a quick and easy calendar month view. Just type cal, hit return, and you'll see a calendar of the current month.
You can also view the calendar for any year past or future by typing the year after cal. For example, cal 2005 will show us last year's calendar.
Want to see the calendar for a specific month and year? Use the month's number and the year after the cal command: cal 3 2006 will show the calendar for March 2006.
Watch Star Wars: Episode IV
ASCII art has been with us as long as we've been using computers, and there's a lot of great ASCII animation out there. How about watching the original Star Wars in ASCII animation?
A telnet server out there on the Internet serves up this amazing adaptation. Just enter telnet towel.blinkenlights.nl and hit return. You'll then be treated to a new twist on a familiar tale.
The last time I watched this, it wasn't complete, although it mentioned that scenes will be added in the future. I'm not sure how complete it is right now, but I hope to find the time to watch it again sometime soon.
If you'd like to quit before the end, you can type control-] to get to the telnet prompt. At the prompt, type quit and press return.
Make a Banner
You can also make your own ASCII art banners. Just type banner followed by a phrase of your choosing to create a huge text banner. For example, banner Welcome to Low End Mac will create a banner out of the phrase "Welcome to Low End Mac."
It's pretty neat to watch it flow across the screen, but you can actually make a printable version.
First let's change directories to your Desktop:
cd ~/Desktop/
Then create a new blank file called banner.txt:
touch banner.txt
Now type your banner command, followed by > banner.txt:
banner Welcome to Low End Mac > banner.txt
The ">" directs the output of the previous command into the
specified file. Double click the banner.txt file on your Desktop, and
you'll see your printable banner in your default text editor.
Recent Plays Well with Others articles
- End of G4 models points to unprecedented value for used G4 Macs, 06.02. The PowerPC G4 may no longer have a place in Apple's product line, but that's a far cry from saying G4-based Macs are obsolete. If anything, there value is going to increase.
- X11: Your window for using Unix apps on the Mac, 05.17. Mac OS X is a Unix variant. X11 is the tool that lets you access Unix applications using a graphical interface with mouse support.
- 6 extensions to make Firefox even better, 03.29. Improve Firefox with everything from web developer tools to nuking unwanted ads, from faster page loads to knowing the weather.
- Intel Mac mini confounds market with higher price, 03.23. After the raging success of the $499 Mac mini, why did Apple feel a need to move away from the entry-level market by making the Intel Mac mini more expensive?
- More in the Plays Well with Others index.
Links for the Day
- Mac of the Day: 'WallStreet' PowerBook G3, May 1998 - WallStreet offered 3 screen sizes and CPU speeds from 233 to 292 MHz.
- Group of the Day: Mac UK is for Mac users in the United Kingdom.
- February 9 in LEM history: 00: Think choices - Promoting the Macintosh - 01: Apple vs. Mac clones - 05: Apple and the $100 laptop - Yojimbo - Core Duo vs. G5 - 07: The story behind After Dark - Microsoft Office 2007
- Support Low End Mac
Recent Content on Low End Mac
- Do We Really Need Another Mac Email Client?, Charles W. Moore, Miscellaneous Ramblings, 02.08. Mac users have a host of free and low-cost email clients to choose from. Does Brent Simmons' 'Letters' project make any sense at all?
- MacBook Pro a Revelation, Dan Knight, Mac Musings, 02.08. After using G4 Macs for over a decade, spending a weekend prepping a first generation MacBook Pro was a real eye opener.
- 42 Reasons a Netbooks Is Better than an iPad, Hard Drive Upgrade Value, Faster Netbooks, and More, The 'Book Review, 02.05. Also why the iPad can't compete with netbooks, 802.11n WiFi card for older Intel MacBooks and Mac minis, and a DJ keyboard cover for MacBooks.
- iPad Perfect for Handheld Computing, John Hatchett, Recycled Computing, 02.05. You can hold the iPad in one hand and operate it with the other, giving it real advantages over a laptop computer.
- iPad Targets Netbook Users, iPad 'Flaws' Don't Matter, In-page Search for iPhone Safari, and More, iNews Review, 02.05. Also FSF considers iPad 'iBad' for freedom, Touch Mouse app turns iPhone into wireless keyboard and trackpad, privacy screen for iPhone, and more.
- Touch Shifts the Apple Empire, Tim Nash, Taking Back the Market, 02.05. Apple dominates mobile computing, and it will be difficult for competitors to match the value of the iPad.
- 90% of Premium PCs Are Macs, OS and Browser Market Share, Chrome Browser to Dominate, and More, Mac News Review, 02.05. Also 27" iMac too popular for supply, eco-friendly 2 TB hard drive, Puppy Linux for PowerPC Macs, 6-core Mac Pro rumored, and more.
- iPad Should Support a Stylus, CoolBook Quiets MacBooks, Puppy Linux for PowerPC Macs, and More, Charles W. Moore, Miscellaneous Ramblings, 02.03. Also the iPad as a genie in a bottle, Eudora Classic 6.2, notebook battery life, and more uses for 'obsolete' technology.
- More links in our archive.
Recent Deals
- Best 15" MacBook Pro Deals, 02.02. Used 2 GHz, $700; 2.4, $999; refurb 2.53, $1,449; 2.8, $1,699; 3.06, $2,199; new 2.53, $1,610; 2.66, $1,839; 2.8, $2,109; 3.06, $2,550; more.
- Best G3 iMac Deals, 02.02. 500 MHz CD-ROM, $40; 450 MHz DVD-ROM, $60; 600 MHz CD-ROM, $230 shipped; 700 MHz CD-RW, $300 shipped.
- Best eMac Deals, 02.02. 1 GHz SuperDrive, $269; 1.25 Combo, $100; SD, $360; 1.42 GHz Combo, $299; SD, $439.
- Best Mac mini Deals, 02.01. Used 1.25 GHz G4 Combo, $369; 1.5, $399; Core Solo, $399; 1.83 GHz Core Duo SD, $439; new 2.26 GHz nVidia, $580; 2.53 GHz, $759; Server, $985.
- Best iBook G4 Deals, 02.01. 12" 1.07 GHz Combo, $200; 1.33 GHz, $259; 14" 1.42 GHz SuperDrive, $399.
- Best Titanium PowerBook G4 Deals, 02.01. 800 MHz Combo, $285; 867 MHz SuperDrive, $400; 1 GHz Combo, $549.
- Best 13" MacBook & MacBook Pro Deals, 01.29. Used 1.83 GHz, $570; 2.0, $599; 2.4 GHz, $800; 2.26 MB, $849; new, $925 after rebate; Pro, $1,108, 2.53, $1,399 a/r.
- Best Power Mac G5 Deals, 01.29. 1.8 GHz single, $399; dual, $479; 2.0, $549; 2.5, $609; 2.7, $799; 2.3 GHz dual-core, $709; 2.5 GHz Quad, $939.
- Best Mac OS X 10.0-10.3 Deals, 01.29. Mac OS X 10.0, $30; 10.1, $20; 10.2, $50; 10.3, $50; 10.3 Server, unlimited users, $130.
- More deals in our archive.
About LEM | Support | Usage | Privacy | Contacts
Navigation
Used Mac Dealers
Apple History
Video Cards
Email Lists
Favorite Sites
MacSurfer
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System
6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Affiliates
The Apple
Store
Mac
Connection
B&H
MacMall
TechRestore
ExperCom
Crucial
Memory
batteries.com
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System 6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Mac Connection
B&H
MacMall
TechRestore
ExperCom
Crucial Memory
batteries.com
