0
votes
2answers
42 views

wacked a directory from the command line

I was copying a file to /usr/local/bin from the commandline on a Snow Leopard Server 10.6 ... anyhow i typed the following ... sudo cp ./le /usr/local/bin Ouch ... that missed last forward slash ...
0
votes
1answer
2k views

Mac OS X Terminal: -bash: $: command not found

While trying to install pagekite on OS X Snow Leopard using the following command: $ pagekite.py --signup I got: -bash: $: command not found I am a noob with the terminal but after reading a bit ...
1
vote
1answer
77 views

prevent doubleapple files creation when tarring directories (Snow Leopard)

I'm looking how to prevent tar from saving or creating .AppleDouble shadow files and preferably do it in an automated manner. There are a few questions asking why this happens, but I want a solution ...
17
votes
14answers
7k views

Lock Screen Command One-Liner

I'm trying to find out whether there is any kind of equivalent command line one-liner which replicates the exact identical functionality of the 'Lock Screen' menu option available via the Keychain app ...
0
votes
1answer
1k views

How to install ImageMagick on 10.6 (Snow Leopard) using a precompiled binary (without a package manager)?

The wish is to manipulate images from the command line using the ImageMagick tools. No package manager because: The MacPorts port and Homebrew brew package managers have Xcode dependencies. Xcode ...
3
votes
3answers
6k views

Under 10.8 which file stores the environment variables?

This has been this way since 10.6. There is no .bashrc file in the home dictionary but the environment variable PATH indeed exists as the result of this command shows: $ echo $PATH ...
8
votes
2answers
9k views

How to control Bluetooth wireless radio from the command line?

This question is almost the same as my previous question, but with one major difference; I want to turn on/off Bluetooth from the command line (bash or similar), NOT from AppleScript - the answers for ...
4
votes
1answer
2k views

How can I add all users to Print Administrator group but not full administrator?

Gordon Davisson offered a solution to a "standalone user" in another question I'm facing the same issue in an office environment. Printer paused and System Administrator needs to be called to enter ...
7
votes
1answer
337 views

How can I log into the desktop environment as Root on a new mac running 10.6 or 10.7 without creating a user account?

Under Mac OS 10.5, you could boot a fresh-out-of-the-box Mac into single user mode, mount /, set the root password, and touch .AppleSetupDone - this would allow you to log into the desktop environment ...
0
votes
1answer
703 views

Is it possible to switch from Safe Mode to Normal and back without a reboot?

Since 10.6.3, Apple has decided change the AppleIntelCPUManagement kexts, which leave me stuck with a kernel_task that pegs out at 135-185%, generating a lot of heat. Anyway, since I doubt anyone has ...
4
votes
5answers
5k views

How do I get “wget” for Snow Leopard?

There's no wget command. How do I get it?