Command Line

The command line interface is an alternate method of interacting with macOS and Mac OS X, relying on text based command entry to execute commands and perform tasks. It is accessed on the Mac by using the Terminal application. Generally, the command line is considered advanced, and thus it’s usage tends to be more complex than many standard procedures on a Mac.

Search Command Line

How to Change from Bash to Tcsh Shell in OS X Terminal

Feb 27, 2007 - 10 Comments
Change Bash to TCSH or vice versa

Bash is the default shell in Mac OS X and has been since 10.3, it’s generally considered to be the de facto shell standard in the unix world. That said, there are some people who prefer to use the tcsh shell, or perhaps you just want to break away from the norm. Changing the default … Read More

5 Ways to Get Help in the Command Line of Mac OS X

Feb 24, 2007 - 3 Comments
Mac OS X Console Logs from Command Line

Whether you’re a unix novice or veteran to the terminal, if you’re using the command line you’ll often find yourself looking up exactly how to use a specific command for either its understanding the commands full functionality or just to discover the proper syntax. Many of us will just google a command if we can’t … Read More

FinkCommander – Easily Install Unix Software from a GUI

Feb 19, 2007 - 3 Comments

In our “Ten OS X Command Line utilities you might not know about” article, we briefly mentioned FinkCommander, a GUI frontend to the ‘fink’ command line utility. It is the easiest way we know of to explore the wonderful world of free Unix software on the Mac. We think it is such a useful app … Read More

How to Download Flash Videos from the Web with curl

Feb 14, 2007 - 5 Comments

If you’ve ever wondered how to extract flash videos (or any others) from a website, here’s a good way to do it using Safari and the command line download tool ‘curl’. Here’s the description from Chris Martin: “So say you come across a video online that is so great you would really like to save … Read More

Basic Command Line Utilities, Tips, & Commands

Feb 7, 2007 - 9 Comments
Terminal in macOS

Many Mac users avoid the command line altogether, a reasonable amount probably don’t even know it exists. For the curious out there, here are some basic and essential commands and functionalities to know if you want to get started using the Mac OS X Terminal. We’ll cover simple file manipulation, maneuvering in the file system, … Read More

How to Launch GUI Applications from the Terminal

Feb 1, 2007 - 31 Comments
Terminal in macOS

We all know how to launch applications from the GUI with a double-click on the icon or clicking on the app in the Dock, and there are numerous ways to do so, and they’re all relatively speedy. If you spend a decent amount of time with the command line though, it’s nice to be able … Read More

Change the Terminal Message of the Day in Mac OS X

Jan 30, 2007 - 18 Comments
Terminal in macOS

Whenever you launch the Terminal in Mac OS X, you may get a little message: “Welcome to Darwin!” or a “Last Login” time – well, after you’ve seen it a few hundred times you might be sick of it, or perhaps you’d prefer something more amusing, meaningful, or even useful to yourself and other computer … Read More

Capture iSight Images Using the Command Line

Jan 24, 2007 - 7 Comments
Terminal icon

We all know that Photo Booth is great fun and is sure to entertain our friends and family with the goofy effects. But what if you want to take pictures using your iSight from the command line? Unfortunately Apple doesn’t provide this option (at least that we know of), but thanks to a crafty individual … Read More

airport – the Little Known Command Line Wireless Utility for Mac

Jan 18, 2007 - 95 Comments
airport wi-fi network command in Mac OS X

Hidden from the casual Mac user is a spiffy command line utility that allows you to view, configure, and troubleshoot your Mac’s wireless connection, entirely from the Terminal of MacOS and Mac OS X. This command has a help file but is otherwise but not much documentation, and judging by the obscure location of the … Read More

Visor – Systemwide Terminal Access via Hotkey

Jan 16, 2007 - 5 Comments

For those of us who have ever played Quake, this is an easy one to explain. Remember hitting the tilde (~) key would bring down the Quake terminal? Well that is what Visor does for Mac OS X. You assign a hotkey, and when Visor is triggered, a nice Terminal slides out of the top … Read More

12 Command Line Keyboard Shortcuts for Mac OS X Terminal

Dec 19, 2006 - 20 Comments
Terminal in Mac OS X

The command line in Mac OS X can be a very powerful and fun tool, so it’s good to know how to maneuver around if you find yourself in it. By default, the Mac OS X Terminal uses the Bash shell, which is what these keyboard shortcuts are intended for. So if you’re ready to … Read More

GLTerminal – Get Retro with Mac Terminal

Dec 14, 2006 - 4 Comments
GLTerminal

Remember the old days, where we’d all be peering at little 10″ fisheyed black screens with green or amber text? Well you can relive the computing 70’s and 80’s with this funky app that emulates the appearance of an old terminal. Complete with display curviture, shoddy colors, and even settings for simulated baudrate lag, you’ll … Read More

How to Customize your Terminal Prompt

Dec 11, 2006 - 58 Comments
Terminal in macOS

Whether you use the Terminal occasionally or regularly, you might find it appropriate to change the way it looks beyond the color scheme and transparency settings. How about changing the actual command line prompt? It’s quite easy, and can be a fun way to further customize your Macs appearance.

Use Spotlight from the Command Line with mdfind

Dec 5, 2006 - 8 Comments

Spotlight is one of my favorite features of Mac OS X, I probably use it more than even the Dock. Being able to hit command-space to quickly locate documents, emails, and launch Applications is endlessly useful. For some of us, it’s necessary to be in the terminal, and wouldn’t it be cool to have this … Read More

iTerm – Safari-like Tabbed Terminals in Mac OS X

Dec 1, 2006 - 2 Comments

Something that has long bothered me about Apple’s Terminal.app is its lack of the ever so common “tabbed” navigation option. We see it in Safari, why not also benefit from this space saving technology when using the terminal? Behold, iTerm, a GPL’d (open source) free alternative to the Terminal.app. iTerm’s features matches what Apple’s Terminal.app … Read More

Using the Unix command line in Mac OS X to manipulate images

Dec 1, 2006 - 4 Comments

Anytime I find myself doing a repetitive task, it is crucial that I discover small tricks and workarounds to make my daily routine as efficient as possible. I have long been a Linux user, so naturally I lean towards opening up the Terminal and using the familiar bash shell environment that I have mastered on … Read More

Ten OS X Command Line Utilities You Might Not Know About

Nov 22, 2006 - 86 Comments

The Mac OS X command line interface is home to thousands of programs that the average user doesn’t know exists. Leveraging years of hard work by the GNU foundation and others in the open source community, Apple designed a wonderful OS that doesn’t “need” any use of the command line. While using the command line … 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