Question on executing an Apple .command file

0 Members and 1 Guest are viewing this topic. Read 2648 times.

Doublej

  • Full Member
  • Posts: 2693
Question on executing an Apple .command file
« on: 14 Aug 2013, 12:13 am »
I am trying to uninstall a wifi dongle on an imac. DLink provides an Uninstall.command file. When I click I get a message saying that the file could not be executed because you do not have appropriate access privileges.

How to I execute this file? I have administrator rights on the account that is trying to execute it.

skunark

  • Full Member
  • Posts: 1434
Re: Question on executing an Apple .command file
« Reply #1 on: 14 Aug 2013, 02:29 am »
You need to use the "sudo" command to run something with full administrator permissions.
sudo <command>
then type in your password at the prompt.

It's expected those that run "sudo" should know exactly what they are doing.