Command Line

Search Command Line

Create ASCII Art Text Banners at the Command Line

May 23, 2014 - 8 Comments
Mac Terminal icon

Graphics and large stylized text blocks constructed entirely out of the ASCII keyboard characters is called ASCII art. You may have seen it with the goofy ASCII Star Wars thing, but once upon a time it was very popular to stylize messages and images on BBS’s, IRC, MUDs, message boards, and across the early days … Read More

Instantly Eject All Mounted Drives & Disks from the Command Line in Mac OS X

May 22, 2014 - 12 Comments
Eject all mounted volumes from the command line of Mac OS X

The next time you’re at the command line and need to eject every single mounted volume, hard drive, disk, disk image, and/or external drive attached to a Mac, you can instantly eject them all in one fell swoop with a handy osascript command string. This is great if you work frequently in the Terminal and … Read More

How to Check Bluetooth Keyboard Battery Levels from the Command Line on Mac OS X

May 18, 2014 - 7 Comments
Get Bluetooth battery life from the command line of Mac OS X

Ever needed to remotely check the battery level of a Bluetooth keyboard connected to a Mac? Or maybe you’re just a heavy Terminal user and wanted to see the current battery life of a wireless keyboard without having to leave the command line? You can do that easily through the Terminal of either a remote … Read More

Speed Up Terminal App in Mac OS X with These 4 Performance Tricks

Apr 30, 2014 - 5 Comments
Speed up the Terminal with these tricks

Many advanced Mac users spend a lot of time at the command line of OS X, accessed through the Terminal app. While generally the Terminal is fast and efficient, sometimes it can slow down over time, or suffer from some performance degradation due to user preference settings. If you feel that Terminal app is being … Read More

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

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

Mar 25, 2014 - 5 Comments
See what users are connected to a Mac

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

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

Mar 7, 2014 - 8 Comments
Set a login window screen saver in Mac OS X

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

Resolving systemstats CPU Usage Issues Causing Sluggishness in OS X

Feb 27, 2014 - 2 Comments
systemstats process going wild on a Mac

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 - 3 Comments
Batch convert docx to txt or rtf

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

Subscribe to OSXDaily

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