Command Line

The command line interface is an alternate method of interacting with 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 Disable IPv6 in Mac OS X

Apr 18, 2014 - 6 Comments
IPv6 Mac

Some Mac users may wish to disable IPv6 networking support on their machines. This may be desirable to avoid certain networking conflicts, or to increase security for users in higher threat environments, since IPv6 has been found by researchers to be potentially vulnerable to man-in-the-middle and other network attacks. Though most users don’t use IPv6 … Read More

Send Data Across Networked Computers with Netcat Using the Command Line

Mar 27, 2014 - 10 Comments
Send data over a network with netcat

Netcat is a powerful command line tool that can read and write data across a network connection using TCP/IP, it’s commonly used for relays, file transfer, port scanning, amongst other things. Though netcat origins are from the unix and linux worlds, netcat is also built into Mac OS X, and we’re going to use the … Read More

Send an SMS Text Message from the Command Line

Mar 12, 2014 - 29 Comments
Send a text message from the command line

When you think of sending out text messages you probably think of the iPhone or an Android, and the command line doesn’t cross your mind, but thanks to the ever-useful curl command, you can send out a SMS text message to any phone number right from the Terminal. Yes, curl, the same command line tool … Read More

Place the Cursor at the Mouse Position in Terminal with an Option+Click

Mar 6, 2014 - 6 Comments
Place a cursor anywhere in the Terminal by using Option+Click

Most command line users rely heavily on Terminal keyboard navigation to move about within text files and get around within the Terminal, but OS X has a super simple trick up its sleeve that lets you instantly position the mouse cursor anywhere in the Terminal. Yup, no more tabbing around or repeatedly tapping on the … Read More

Convert an Audio File into an Android or iPhone Ringtone from Terminal

Feb 14, 2014 - 5 Comments
Convert a ringtone from the command line

Ever wanted to create an iPhone or Android ringtone from an existing audio file, but wanted to complete the process entirely from the command line? You’re in luck, because OS X has a little audio conversion tool that can turn any existing audio track into an Android or iPhone compatible ringtone in seconds. We’ll break … Read More

Using cURL to Download Remote Files from the Command Line

Feb 13, 2014 - 1 Comment
Download with curl

The powerful curl command line tool can be used to download files from just about any remote server. Longtime command line users know this can be useful for a wide variety of situations, but to keep things simple, many will find that downloading a file with curl can often be a quicker alternative to using … Read More

How to Install Command Line Tools in OS X Mavericks (Without Xcode)

Feb 12, 2014 - 9 Comments
terminal

Mac users who prefer to have a more traditional Unix toolkit accessible to them through the Terminal may wish to install the optional Command Line Tools subsection of the Xcode IDE. From OS X Mavericks onward, this is now easily possible directly and without installing the entire Xcode package first, no developer account is required … Read More

How to Add a User to the Sudoers File in Mac OS X

Feb 6, 2014 - 1 Comment
User added to the sudoers file in OS X

Advanced users may need to add a user account to the sudoers file, which allows that user to run certain commands with root privileges. To greatly simplify what that means, these newly privileged user accounts will then be able to execute commands without getting permission denied errors or having to prefix a terminal command with … Read More

Turning On Mac Touch-To-Click Support from the Command Line

Jan 31, 2014 - 3 Comments
Enabling touch clicking from the command line of OS X

Touch-based clicking is an alternate input form that uses trackpad (or Magic Mouse) taps as a click. For most Mac users, turning on tap-to-click is best done from OS X System Preferences, but advanced users who require more control, automation, or remote enabling of the feature can also enable tap-to-click through the command line by … Read More

How to Verify (& Repair) a Disk from the Command Line of Mac OS X

Jan 27, 2014 - 5 Comments
Repair Disk from the Command Line

The Disk Utility app bundled with Mac OS X has a command line equivalent which offers advanced users the ability to perform disk maintenance from the terminal, including disk verification and repairs. This allows for a variety of helpful troubleshooting abilities, including the possibility to remotely issue disk repairs though SSH, or through Single User … Read More

Manage & Resume Multiple Terminals Easier with Window Groups in OS X

Dec 9, 2013 - 3 Comments
Save terminal window group with commands

Do you have your terminal windows arranged in a particular way, perhaps running particular processes, that you want to consistently resume to without having to rearrange and relaunch things? Rather than relying entirely on the OS X Resume feature, you should use the Terminal app “Window Groups” tool, which lets you save not only the … Read More

Let it Snow in the Terminal of Mac OS X with This Command

Dec 6, 2013 - 3 Comments
Make it Snow in the Terminal with a command

Tis the season for some winter fun and holiday magic… in your OS X Terminal with some digital snow fall! This nifty not-so-little ruby command string will make it snow in the command line of your Mac, there isn’t much to get it snowing beyond a simple copy and paste, but for best results be … Read More

Subscribe to OSXDaily

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