Command Line

Search Command Line

Get System Information from the Command Line in Mac OS X

Apr 23, 2007 - 13 Comments
Mac hardware

Regardless of how many Mac’s you administer, there will surely come a time when you’ll need to retrieve relevant System Information. This can be done from the graphical interface with the Apple System Profiler utility, but often you’ll need to pull system details from the terminal as well. Gathering system information from the command line … Read More

Install Software Updates from the Command Line

Apr 18, 2007 - 4 Comments

We all know the familiar Mac OS X Software Update and App Store Updates panel, it pops up weekly to give us a nice GUI interface to install all the latest updates to our Apple software. But did you know that you can get the same list, query the available updates list, and even install … Read More

Change the Minimize Effect in Mac OS X via Defaults Command

Apr 12, 2007 - 22 Comments
minimize windows in Mac OS X

When you click the yellow minimize button in Mac OS X, the snazzy Genie effect pulls the window into the Dock. Although you can change between the Genie and Scale effect from within the Dock preference pane, there is a third hidden effect that Apple has chosen to keep out of the preference pane. The … Read More

Using Pipes at the Command Line, a Basic Overview

Apr 3, 2007 - 1 Comment

One of the essential functions of the command line of Mac OS X, Linux, or any Unix, is understanding some basics about how to use pipes. Essentially, pipes allow you to direct the output of one command into the input of another command, allowing the following command to manipulate, adjust, or work with the prior … Read More

How to Use Redirection at the Command Line, a Basic Overview

Mar 29, 2007 - 4 Comments

Ever wished you could send the output of a command to a file or append that output to an existing file? That’s what redirects do. To put it simply, command line redirects allow you to take the output of certain commands and create new files or add to existing ones with this data, this is … Read More

How to Convert DMG Images to ISO Easily with hdiutil

Mar 28, 2007 - 21 Comments
ISO

If you have ever wanted to turn a DMG file into an ISO file, look no further than the handy command line utility called hdiutil, which is bundled in all versions of OS X. This can be helpful for many reasons, but one of the primary reasons to convert a DMG to ISO is for … Read More

Quick Tip: Eject Media from Command Line on Mac OS X

Mar 26, 2007 - 10 Comments
A disc

Ever needed to eject a disc, cd, DVD, or media from the command line on a Mac? You can do that from the Terminal, as we’ll show here. To eject a disc or media from the command line on Mac, open up your Terminal and type the following:

Command Line Disk Usage Utilities: df and du

Mar 20, 2007 - 7 Comments

Getting disk usage information on a Mac is often gathered by selecting a file, directory, or hard drive and hitting Command-I for Get Info, then appears a nice GUI interface with extended information about the selected object including disk usage. Command-I isn’t the only way to get disk info however, with the command line there … Read More

pbcopy & pbpaste: Manipulating the Clipboard from the Command Line

Mar 5, 2007 - 10 Comments

Copy and Paste are absolute necessities for virtually all computer users, and if you find yourself working in the command line frequently, you’ll want to know how to manipulate the clipboard of Mac OS X directly from the terminal prompt. That’s what the Mac commands pbcopy and pbpaste are for, and as you may have … Read More

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

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

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

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