terminal

Search terminal

How to Make a Mac Talk: Text to Speech

Mar 28, 2010 - 22 Comments

Want to have a Mac read text in a document or webpage to you? Text To Speech is an excellent feature which allows Mac users to have words on screen spoken aloud. You can make your Mac talk to you in various different ways, at different speeds, and even speaking with different voices, all by … Read More

Anti-Piracy Message in Mac OS X Kernel Extension

Mar 19, 2010 - 6 Comments

Apple has hidden an anti-piracy message within Mac OS system software as a kernel extension. “com.apple.Dont_Steal_Mac_OS_X” is a kernel extension that runs within Mac OS X, it’s function is thought to insure that Mac OS X is running only on certified Apple hardware. And aside from the not-so-subtle name of the kernel extension, it includes … Read More

TTYtter, the command line Twitter client

Feb 17, 2010 - Leave a Comment

TTYtter is a rather fun command line based Twitter client. Written in Perl, it’s got all the essential ingredients needed for basic Twitter needs without ever leaving a Terminal window. Running TTYtter is easy enough, it just needs your login information and off it goes. You can either run it through perl with: perl /path/to/ttytter.pl … Read More

How to Disable Access to System Preferences on Mac

Feb 11, 2010 - 9 Comments
System Preferences in Mac OS X

In some situations, you may wish to disable access to the System Preferences on a Mac. Often this is for lab environments or public use workstations, or perhaps for locking down a particular workstation for various reasons. While a common approach is to create a new user account that has limited access to system features … Read More

Change the Delay When Dragging Windows Within Spaces on Mac

Feb 10, 2010 - 8 Comments

Spaces is a really nice feature of Mac OS X that lets you place different windows and applications within their own workspace. Dragging a window to a new Space is just a matter of holding onto the window and pulling it towards the end of the screen. You may have noticed that there’s a delay … Read More

Go Back to the Previous Directory via Command Line

Feb 9, 2010 - 5 Comments

It’s easy to accidentally change directories to something you weren’t intending to (say, accidentally hitting cd and returning home, thus losing your place in a complicated directory structure seep in the file system somewhere), but thankfully there’s a command that will immediately take you back to the previous directory, regardless of what it was. The … Read More

Lock the Dock in Mac OS X

Feb 8, 2010 - 11 Comments

If you need to prevent the Dock icons from changing or being modified on a Mac, you can use defaults command strings to lock down the OS X Dock and prevent any adjustments or changes to how it appears on screen.

Track an Applications Usage in Mac OS X with opensnoop

Jan 27, 2010 - 4 Comments

Using the command line tool ‘opensnoop’ you can track any Mac applications (or system process) usage of the file system. This is a very handy tool for administrators and troubleshooting! The simplest way to use it is as follows:

Use your Mac as a Psychotherapist

Jan 23, 2010 - 8 Comments

Need a therapy session? Your Mac has you covered. Yes, you read that right. You can use your Mac as a psychotherapist from the Terminal, thanks to emacs the text editor. Say what? If you’re confused don’t be, it’s an easter egg that has long existed and it’s easy to access.

Change the Dock item click-and-hold behavior in Snow Leopard

Jan 13, 2010 - 6 Comments

Snow Leopard changed the way the Dock behaves when a Dock item has been clicked on and held down, since 10.6 it launches Expose for that specific application. You may recall how Leopard handled the click-and-hold though, which was to launch the contextual menu (the same one you get when you right-click in 10.6). Using … Read More

Watch Star Wars Episode IV: A New Hope in ASCII via Telnet

Dec 18, 2009 - 8 Comments

ASCII art is just one of those wonderful retro throwbacks to the earliest days of computing. So, if you’re looking for a nostalgic return to the the days of BBS, MUD, and IRC, and perhaps a little bored at school or work, why not watch the entirety of Star Wars Episode IV: A New Hope … Read More

How to Schedule Sleep and Wake Events from Terminal in Mac OS X

Dec 18, 2009 - 6 Comments
Mac Terminal icon

Like many of us, I’m often busy and out of the home, leaving my Mac on a desk. I regularly use my home machine as a local fileserver though and other people in the household are dependent on it being up and running. Now here’s the situation I’m presented with: I leave town earlier than … Read More

Opening Finder Windows from the Terminal

Dec 15, 2009 - 8 Comments

Finder, the Mac OS X file system browser, is ultimately just a nice looking GUI application, and it can be interacted with fluidly from the command line. This means you can jump to directories and open literally any Mac Finder window directly from the terminal by using a simple command string based upon the ‘open’ … Read More

Accessing the OS X Clipboard from the Command Line

Dec 9, 2009 - 6 Comments

With the pbcopy and pbpaste commands, you can use the command line to manipulate clipboard contents but also access your Mac OS X clipboard directly through the Terminal. Yes, that means you can access what you copied in a GUI app and use it in the command line seamlessly, and vice versa. We’ve shown a … Read More

What is My IP Address? How Do I Get My External IP Address in Mac OS X?

Dec 8, 2009 - 13 Comments

One of the quickest ways to get your external IP address in Mac OS X or unix is by launching the Terminal and typing one of the following commands with curl. To be perfectly clear here, we’re looking for the external public IP address of the hardware in use, this is what broadcasts to the … Read More

List All Mounted Drives and their Partitions from the Terminal

Dec 1, 2009 - 7 Comments

To list all mounted drives and their accompanying partitions from the Terminal on Mac OS X, you can use the diskutil command with the list flag. This approach will display all disks, drives, volumes, and containers on any drive connected to the Mac, including boot volumes, hidden volumes (like the Recovery partition), empty volumes, unformatted … Read More

Open Current Folder in Finder from Terminal of Mac OS X

Nov 30, 2009 - 14 Comments

Want to open a Finder window from the current directory location in Terminal? Mac OS makes this easy! From the Mac Terminal, you can immediately open whatever folder or directory you are working within into the Finder of MacOS and Mac OS X by simply typing the a short command string and executing it. To … Read More

Schedule a Mac to Startup via Command Line with pmset

Nov 28, 2009 - 5 Comments
Terminal in macOS

Most Mac users who want to schedule a Mac to startup at a specific time will use the Energy Saver schedule tool in System Preferences, but for the more technically savvy, another option is to schedule the boot time of a Mac through the command line. We’ll show you how to use the pmset command … Read More

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site