Remove Multiple ‘Open With’ Menu Items – Command Line

So, I had this annoying situation the other day, when I CTRL Clicked on a file and chose Open With, I was presented with this menu Multiple versions of Excel and Word to choose from, probably caused by software updates, anyway, I didn’t like this, it made the menu looked cluttered, so to remove it, …

Creating never booted images – 10.8 – InstaDMG

I’m going to run through the process of creating a never booted image using InstaDMG on Mac OS X 10.8, Once this has been done it will be ready to deploy using Deploystudio. First, you will need to ensure that you have the Command Line Tools installed, you can download them from the Apple Developer …

Managed Preferences – Cache Flush

The other day I was trying to access some restricted preferences on a 10.6 client, bound to a 10.6 Server that no longer existed, and because of this, I had no way of removing the restrictions Or so I thought, thankfully Apple had provided a Knowledge Base article detailing how to manually flush the cache, …

Add a user to the Print Operator group

To add a non administrative user to the Print Operators group, you need to enter the following command into a Terminal window sudo dseditgroup -o edit -u ADMINISTRATOR -p -a USER -t user _lpadmin You will need to replace ADMINISTRATOR with the shortname of an admin account & you will need to replace USER with …

VNC into another Mac – Command Line

To open a VNC connection to another Mac from the Command Line is very simple, you just need to open Terminal and enter the following open vnc://username@IPADDRESS This will then launch the screen sharing app and connect to the machine requested, you will then be presented with a login box, so enter the password for …

Disable Time Machines Disk Prompt

Whether you use Time Machine or not, you will probably have been irritated by the constant questioning of whether you wish to use an external drive to backup with Time Machine to it. If this is the case then there is a simple way of disabling this via the command line Open Terminal & type …

Command Line – Search

In this item I will go through a couple of the commands you can use to locate files on your system. find Surprisingly enough, to find some files you can run find, examples of usage are below find -x / -name filename this will search your boot volume for files entitled filename find / -name …

Command Line – System Administration

In this article, I will run through a few commands used to admin your machine. ps used to list processes running on the system, examples of usage below ps List processes belonging to the current user that are attached to the terminal ps -x List processes belonging to the current user, whether or not they …

Command Line – Text editing

There are a variety of text editors available to use via the command line on OS X, but I prefer to use nano, so here is a little tutorial on the basics of using this utility. To use it, you will need to fire up Terminal then to edit a file you will need to …

Command Line File & Folder Manipulation

  This time I will run through a few of the useful tasks that can be accomplished via the command line regarding file and folder manipulation cp used to copy a file or folder, some examples of usage are below cp donkey.txt monkey.txt this will copy a file called donkey.txt and call the copy monkey.txt …