Command Line

Search Command Line

Send Data Across Networked Computers with Netcat Using the Command Line

Mar 27, 2014 - 10 Comments

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

How to See What Users Are Connected & Logged In To a Mac

Mar 25, 2014 - 4 Comments

If you share your Mac on a network you may be interested to know who is connected to the Mac at any given time. This may include listing currently logged in users through a variety of network protocols, even locally, or perhaps just a history of users logins over a period of time. While OS … Read More

Send an SMS Text Message from the Command Line

Mar 12, 2014 - 27 Comments

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

How to Set a Screen Saver to Run at the Login Window of Mac OS X

Mar 7, 2014 - 7 Comments

The Macs default boot login screen is fairly boring by default, and though it can be spruced up with custom wallpaper, another option is to set a screen saver to run at the login window of OS X. This requires using a defaults command string entered at the command line, which then makes the screen … Read More

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

Mar 6, 2014 - 6 Comments

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

Resolving systemstats CPU Usage Issues Causing Sluggishness in OS X

Feb 27, 2014 - 1 Comment

The systemstats process is used to retrieve information about system statistics and power usage, and though it usually runs unnoticed in the background, the systemstatsd and systemstats processes have been known to randomly go haywire in OS X, eating up 100%-300% or more CPU while slowing down a Mac.

How to Batch Convert DOCX Files to TXT Format with textutil in OS X

Feb 20, 2014 - 2 Comments

The Mac includes a fantastic command line tool called textutil which allows for quick text file format conversions, translating almost any text or word document type into another. We’ve discussed textutil for a variety of uses, but typically it has been for one-off conversions of a specific file into a new file type. This time … Read More

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

Feb 14, 2014 - 5 Comments

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

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 - 7 Comments

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 - Leave a Comment

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 - Leave a Comment

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

Subscribe to OSXDaily

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