terminal

Search terminal

How to Schedule Sleep and Wake Events from Terminal in Mac OS X

Dec 18, 2009 - 6 Comments
Mac Terminal icon

Like many of us, I’m often busy and out of the home, leaving my Mac on a desk. I regularly use my home machine as a local fileserver though and other people in the household are dependent on it being up and running. Now here’s the situation I’m presented with: I leave town earlier than … Read More

Opening Finder Windows from the Terminal

Dec 15, 2009 - 8 Comments

Finder, the Mac OS X file system browser, is ultimately just a nice looking GUI application, and it can be interacted with fluidly from the command line. This means you can jump to directories and open literally any Mac Finder window directly from the terminal by using a simple command string based upon the ‘open’ … Read More

Accessing the OS X Clipboard from the Command Line

Dec 9, 2009 - 6 Comments

With the pbcopy and pbpaste commands, you can use the command line to manipulate clipboard contents but also access your Mac OS X clipboard directly through the Terminal. Yes, that means you can access what you copied in a GUI app and use it in the command line seamlessly, and vice versa. We’ve shown a … Read More

What is My IP Address? How Do I Get My External IP Address in Mac OS X?

Dec 8, 2009 - 13 Comments

One of the quickest ways to get your external IP address in Mac OS X or unix is by launching the Terminal and typing one of the following commands with curl. To be perfectly clear here, we’re looking for the external public IP address of the hardware in use, this is what broadcasts to the … Read More

List All Mounted Drives and their Partitions from the Terminal

Dec 1, 2009 - 7 Comments

To list all mounted drives and their accompanying partitions from the Terminal on Mac OS X, you can use the diskutil command with the list flag. This approach will display all disks, drives, volumes, and containers on any drive connected to the Mac, including boot volumes, hidden volumes (like the Recovery partition), empty volumes, unformatted … Read More

Open Current Folder in Finder from Terminal of Mac OS X

Nov 30, 2009 - 14 Comments

Want to open a Finder window from the current directory location in Terminal? Mac OS makes this easy! From the Mac Terminal, you can immediately open whatever folder or directory you are working within into the Finder of MacOS and Mac OS X by simply typing the a short command string and executing it. To … Read More

Schedule a Mac to Startup via Command Line with pmset

Nov 28, 2009 - 5 Comments
Terminal in macOS

Most Mac users who want to schedule a Mac to startup at a specific time will use the Energy Saver schedule tool in System Preferences, but for the more technically savvy, another option is to schedule the boot time of a Mac through the command line. We’ll show you how to use the pmset command … Read More

Copy a File or Folder Path to the Terminal by Dragging and Dropping

Nov 23, 2009 - 2 Comments
Terminal in Mac OS X

Did you know you can quickly copy a files path to the Terminal just by dragging and dropping the folder or file into the Terminal window? Try it out, open any terminal window then take something from the Finder and drop it into that Terminal, it’ll instantly print out the full path to the file, … Read More

Quickly execute new Terminal command from the Dock

Nov 10, 2009 - 4 Comments
Terminal icon in OS X

If you have the Terminal application stored in your Dock on Mac OS X, you can quickly execute any new command by right-clicking (or control clicking) on the Dock icon and navigating up to “New Command” in the popup menu. This will prompt you for a command to run, which then launches into a terminal … Read More

Set a Local Domain to Ease Local Development

Oct 28, 2009 - 8 Comments
Terminal in macOS

If you’re a web developer you probably do a fair amount of development on your local machine using either the built-in Mac OS X Apache server or, in my case, something like MAMP. Because a local web server like this is really handy for testing this, you can make your local development life a bit … Read More

Play MP3’s, M4A, AAC, and Other Music Files from the Command Line

Oct 27, 2009 - 3 Comments
Terminal in macOS

Ever wanted to play music while you’re working in the command line? Maybe you want to play a podcast from the command line on Mac? With the command line tool ‘afplay’ you can do just that, you can play practically any audio file format, whether it’s M4A, AAC, MP3, WAV, AIFF, or whatever else is … Read More

Check MD5 Hash on your Mac

Oct 13, 2009 - 19 Comments
Mac Terminal icon

You can easily check the MD5 Hash of any file on your Mac, all you need to do is launch the Terminal and type the ‘md5’ command and point it at the file you wish to check the md5 has for. How to Check MD5 Hash of a File on Mac First launch the Terminal … Read More

Monitoring CPU Usage on Mac from Terminal with a better top command

Oct 6, 2009 - 11 Comments
a better top command

Following the CPU usage on my Mac is a mild obsession, and I usually use the Mac terminal command ‘top’ to do this but I noticed that top itself takes up a fair amount of CPU usage (5% or more). I made this complaint to a friend of mine and they told me to try … Read More

List all Open Internet Connections on a Mac from Terminal to Track Down Bandwidth Issues

Sep 29, 2009 - 5 Comments
Network Utility in Mac OS

Recently the LAN at my office had been running slower than usual, and I couldn’t pinpoint what was using up all the extra bandwidth. I had a suspicion that P2P traffic was to blame but I just couldn’t see anything obvious on the offending machine. So the question of course, is how do you see … Read More

What Shell Am I Using? Here’s How To Find Out

Sep 25, 2009 - 5 Comments

Ever wondered what shell you are using at the command line? It’s not unusual to want or need to know which shell is running, and though you may hear this question many times, the answer could be different for every user, thus the easiest thing to do is to issue a terminal command which determines … Read More

Access and Mount an SMB Share via Command Line

Sep 24, 2009 - 4 Comments
Mac Terminal icon

Do you need to access and mount an SMB share from the command line on a Mac? You may be used to connecting to Windows PC from the Mac networking features to mount a Windows share on Mac, but you can also connect to Samba shares from the Terminal too. This article will show several … Read More

Check a Macs Uptime and Reboot History

Sep 22, 2009 - 19 Comments

The “uptime” of a computer is how long it has been since it was last rebooted or started up. Since Macs are very stable and generally OS X users rarely have to reboot their machines, the uptime of Macs can reach impressive numbers. You can check the uptime and reboot history of any Mac if … Read More

Use a Quick and Dirty Stopwatch via the Mac Terminal

Sep 12, 2009 - 2 Comments
terminal

Need a super easy and simple Stopwatch on the Mac, but don’t want to download anything like a third party app or utility? Look no further than the command line. You can create an instant quick and dirty stopwatch via the Mac OS X (or linux) command line by launching the Terminal app and typing … 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