terminal

Search terminal

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

How to Convert a DMG to ISO on Mac, & Convert ISO to DMG on Mac

Sep 9, 2009 - 20 Comments

Have you ever needed to convert a DMG file to ISO in Mac OS, or wanted to convert an ISO file to DMG on your Mac? Converting image files on your Mac is easy thanks to a command line utility included in Mac OS X called hdiutil.

How to Tell if Mac is Running a 32-bit or 64-bit Kernel in Mac OS X

Sep 7, 2009 - 20 Comments

Ever wanted to know if your Mac is using a 32-bit or 64-bit kernel? It may seem geeky and in the weeds, but it’s now relevant. Snow Leopard 10.6 is the first Mac OS X version to ship with a 64 bit kernel, and obviously your Mac has to have a 64 bit processor to … Read More

Hide any File or Folder by Making it Invisible to the Mac OS X Finder with setfile

Aug 11, 2009 - 18 Comments

If you ever want to hide a file or folder, you can quickly make it invisible with a command line utility called setfile. This is a really cool tip that should be particularly useful to those who share their mac with other people.

How to Create an IP Alias in Mac OS X using ifconfig

Aug 5, 2009 - 8 Comments

In some trickier network situations, your computer may be assigned an IP but need an entirely different IP address to access certain network resources. You might be wondering, how on earth do you have two IP addresses at once on the same Mac? The answer; Create an IP Alias! Using an IP alias allows your … Read More

How to Easily Mirror an Entire Web Site Locally

Mar 19, 2009 - 15 Comments

It’s very easy to mirror an entire web site on your local machine thanks to the terminal command wget, this tutorial will show you how to do it via the command line. wget is available for Mac OS X, Linux, Unix, and many other popular operating system platforms, thus this is universally applicable assuming you … Read More

Show Hidden Files in Mac OS X

Feb 25, 2009 - 48 Comments
Finder of Mac OS X

Need to show hidden files on a Mac? This is pretty common if you find yourself needing to access hidden files on your Mac, like an .htaccess file you downloaded, a .bash_profile, a .svn directory, – literally anything preceded with a ‘.’ indicating it is invisible by default – you can run the below command … Read More

Make Back Ups from the Command Line in Mac OS X with These 4 Tricks

Feb 19, 2009 - 6 Comments

These days there are no shortage of ways to backup your Macintosh. Probably the most popular method available to an end-user is Apple’s Time Machine which is handled automatically after a simple setup through the GUI, or can be triggered to start at any time. Personally, I was very impressed with the ease of use … 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