UNIX is both the underlying code and architecture that makes up Mac OS X / iOS as well as a way of interacting with a Mac using the terminal app, X11 app, and various shells like `bash` or `zsh`. Whether you're logging into a mac using `ssh`, using `mdfind` or `tmutil` or using other open source ...

learn more… | top users | synonyms

3
votes
1answer
301 views

Opening an OS X disk image with a launchd agent while the display is sleeping

I created a launchd agent which opens a non-password-protected sparse disk image (and mounts its solitary volume) daily at 2:45AM in preparation for backup software to write to the volume. The launchd ...
0
votes
1answer
62 views

Completely restore root and home folder after many problems with Macports and Homebrew

I had a long day battling with installing a LAMP environment with Macports. I installed several things, had many problems, tried uninstalling them (not sure if I did), and on and on. Then, I tried ...
0
votes
1answer
170 views

How to uninstall wget

I recently installed wget on my Mac using the instructions listed here: http://osxdaily.com/2012/05/22/install-wget-mac-os-x/ and lorcan's instructions here: How do I get "wget" for Snow ...
0
votes
1answer
22 views

What is a CPX port or driver?

What is a CPX port? More specifically what is CPX as relates to a Datacard embossing printer? A buddy dropped off an ancient Datacard 150i embossing machine with me to see if I could get it working. ...
0
votes
1answer
159 views

How to specify group id for a user-defined group

When I set up my accounts in Snow Leopard Server, I was able to give an explicit group id to my user-defined groups using the old Workgroup Manager. Now that I've updated to Mountain Lion Server, I ...
0
votes
1answer
26 views

How i can log various information of files in directory?

I'm looking for a way to get the following information via AppleScript: all the information ls provides including the creation date/time of a file or folder MD5 hash, Finder labels and ...
0
votes
1answer
40 views

My home folder opens up Photo Booth when clicked on

For some reason when the icon for the home folder is clicked it opens up photo booth. I changed what application it uses and the finder stays open. I tried fixing permissions and checking the hard ...
-2
votes
1answer
94 views

What is the wheel user group for?

The output of groups after sudo bash lists the following groups: wheel daemon kmem sys tty operator procview procmod everyone staff certusers localaccounts admin com.apple.sharepoint.group.2 ...
4
votes
0answers
76 views

Why is Terminal.app corrupting my tcsh history?

I've had an ongoing problem that appears to be specific to OS X and Terminal.app: periodically, I get garbage in my tcsh history that looks like this: ^[[1m^[[4mcomputername:~/Code/emacs-source ( ...
4
votes
0answers
588 views

Why does my Terminal window close automatically?

I need to use my Terminal window on a MacBook Air but it closes about 10 seconds after I open it. Is there a setting or is it possible another program is causing it to close? If I type quickly I can ...
2
votes
0answers
97 views

Poor X Windows performance

I use Macs a lot to host applications running on Linux boxes via X Windows, but tend to find that, after some period of time, I can no longer open new X Windows clients on the Mac - I get messages ...
1
vote
0answers
55 views

What is a “stuck” process?

Using the top command in Terminal, and ordering the list by state, I see a number of processes on Yosemite 10.10.1 whose state is stuck. I've looked through man ps and man top for an explanation, and ...
1
vote
0answers
26 views

Simulating an event to wake my Mac

Events like EC.cause/GIGE/LIDO/OHC/PWRB/RTC/USB# can wake up a Mac. Is there a way to programatically simulate either of these ? WOL is out of the question as my machine doesn't support WOL on WiFi. ...
1
vote
0answers
122 views

Touching files in correct order

This code touches files in alphabetical order. I need to touch files in order it is in list_of_files, so first it touches file2, then file3, then file1). Is there any other way to do this than to ...
1
vote
0answers
347 views

Is there a best / OSX-specific way to force all files created in a directory to have certain group ownership?

Basically I need any file filefoo that is newly created by userfoo or userbar, both members of groupfoo, in /Users/Shared/SpecialDirectory to have the same ownership that would be achieved by that ...
0
votes
0answers
40 views

How does one reverse engineer how the Finder performs an operation?

I'm trying to figure out how OS X implements it's secure empty trash operations and it seems like I should be able to get more finely grained information than what the process monitor tells me. The ...
0
votes
0answers
30 views

Convert absolute symlinks to relative ones?

I've seen plenty of threads on the Internet about doing the opposite, but what I want to do is, given a folder: /Lib/Foo/Bar.framework/Versions/1.5 And a symlink to it: ...
0
votes
0answers
88 views

Latex xdvi Error

I am new to Unix and am trying to use LaTeX. I am having a problem with xdvi. Every time I try to use it I get the error message: Error: Can't open display: I have a mac and I have Xcode installed. ...
0
votes
0answers
2k views

How can I ask Mountain Lion to have apache2 recognize .cgi and execute it as a CGI script?

I've upgraded from Lion to Mountain Lion, and have noticed as a result of the upgrade, besides my screen saver saying it won't work on this version of OSX, Apache is displaying the private web ...