1
vote
1answer
49 views

How to download and install Darwin 13 OS in PC?

I've conducted a research on UNIX operating systems and found out that an experimental OS (Darwin) is used for development of the OSX; just like Fedora on Red Hat Enterprise Linux. Darwin OS has a ...
0
votes
1answer
36 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
35 views

What does the @ sign and the number next to it mean in ls -l display?

I got the following output when I apply ls -l command in my Mac OS X Mavericks for an image file: I understand what does -rw-r--r-- mean. But what does the @ sign and the number next to it mean? Is ...
0
votes
1answer
56 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
0answers
32 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 ...
6
votes
6answers
368 views

How to prevent the application launched in Terminal from undesirably exiting?

I launch applications from the Terminal with commands like this one : /Applications/Mail.app/Contents/MacOS/Mail & The important part is the &. For Unix / Linux / Solaris : I have ...
2
votes
1answer
273 views

How does this complex BASH shell script work?

Apple Support Community member Linc Davis developed this command to aide in diagnosing issues. The output gives a general overview of one's system and is very similar to the program etrecheck. But, it ...
6
votes
1answer
190 views

/usr/sbin/uninstall? What is it/what does it do?

There's a /usr/sbin/uninstall command on my system. What does it do? There is no man page, and running it says "You must be root to run this tool.", and (after sudo uninstall -h) it says "URL is ...
3
votes
1answer
108 views

Can't write to ~/Library, even though permissions look OK

I'm totally stumped on this one — a Macbook Air, 10.9.2. As far as I can tell, I should be able to write to my Library directory. Everything I can see suggests I should be able to: [njvack@zot ...
1
vote
1answer
19 views

How can I find a changelog of core utility versions in OS X?

I often research what utilities are available on different POSIX-like operating systems in the interest of portability, but I haven't been able to find a stable listing of what versions of various ...
1
vote
1answer
59 views

Anyone knows how to view the nice value of a process under Mavericks?

Used to be able to view the UNIX nice value of a process in the top CLI utility. I think it's gone from the top utility on Mavericks? Any other ways to view it?
0
votes
2answers
116 views

how to configure Surfraw on OSX?

Has anyone had success configuring Surfraw on OSX? How do I get a working configuration for OSX? http://www.surfraw.org/
2
votes
0answers
53 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 ( ...
3
votes
1answer
1k views

What is standard for os x filesystem? e.g. /opt/ vs. /usr/

What does and should go into /opt/ and what should/does go into /usr/? My understanding is that /usr/ used to be for user home directories, but since that exists in /Users/ - what is the purpose now? ...
0
votes
1answer
164 views

ARD and dockutil?

This is probably a pretty noobish question, but here goes... I've recently discovered Kyle Crawford's dockutil, but I can't make it work with Apple Remote Desktop. Or rather: I can't make it work ...
8
votes
2answers
198 views

Piping multiple commands

I would like to run the following command and pipe stout of both to TextEdit: pmset -g; echo; pmset -g assertions | open -f -a TextEdit This doesn't work, it only executes the latter: How?
4
votes
1answer
3k views

Sudo keeps asking for password, despite that NOPASSWD already set

The following sudoers configuration used to work well in MacOS 10.8.5, several days ago I upgraded to Mavericks, NOPASSWD flag does not seem to work anymore: # User privilege specification root ...
5
votes
2answers
144 views

Where are all of the command line tools installed?

I was playing around to set up a prober working/development environment. I installed command line tools such as: NodeJS NPM Grunt Bower Where can I find those tools and how can I delete them? Is ...
1
vote
1answer
138 views

What is lsof -i | grep -E “(LISTEN|ESTABLISHED)” composed of?

I got advice to check if an iTunes app sends data to the cloud using this command line lsof -i | grep -E "(LISTEN|ESTABLISHED)" Can someone please explain how this works? How does the pipeline work ...
0
votes
4answers
144 views

How to get to know OS X/Unix better? [closed]

Not sure how to ask this but this problem has troubled me for so long. I'd long been a DOS/Windows user until about 12 years ago when Mac OS X first came out I turned to the Mac, and stayed here ever ...
2
votes
1answer
288 views

Securely delete guest accounts in OSX

I need a way to securely wipe guest accounts accounts off of my machine. On OSX, guests are automatically deleted on logout, with this deletion being done using the "RM" command. I need a way to alter ...
1
vote
1answer
813 views

How to patch a file that resides in /Applications (patch can't find file to patch at input line)?

I am trying to patch 5 files within an Mac application bundle using the Terminal patch command. The files to be patch are specified using an absolute file path (the file name and path start with a ...
0
votes
0answers
12 views

Command Line Tips and Tricks [duplicate]

==>> What are the most useful Unix shell "one-liners" that you use? <<== Here are a couple of mine to get the conversation started: 1. Repeat the previous command with a substring replacement: ...
1
vote
2answers
744 views

Symbolic links, why doesn't this work:

me$ ln -s ~/x/y/ ~/Desktop/ ln: /Users/me/Desktop//: File exists Why does this attempt at creating a symbolic link to ~/x/yon the Desktop now work? The only way I can seem to get something like a ...
5
votes
1answer
1k views

File can't be moved by root on OS X

I tried to move a few files to a subfolder on OS X. One refused to move. It said Operation not permitted. I tried again as root: $ sudo mv file subfolder/ mv: rename file to subfolder/file: Operation ...
7
votes
1answer
230 views

Why are Mac files able to have multiple owners?

Regarding Unix file permissions, which Macs use, why are Mac files in particular able to have multiple owners? For instance, you can view the "Get info" panel of a file, and under the Permissions ...
0
votes
1answer
142 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 ...
1
vote
2answers
171 views

Reason why applications aren't stored in the Home-Folder?

I wonder why Apple don't put all applications in an applications folder inside the Home-Folder. So they could offer a hole new mac for each user. Every file is user specific, except for the ...
5
votes
1answer
535 views

“opensnoop” utility doesn't work with spaces between filenames, how to fix?

I use "opensnoop" /usr/bin/opensnoop to show all files which are opened from different processes. But when I want to specific a file with sudo opensnoop -n "directory/filename" i'm getting ...
0
votes
1answer
24 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 ...
-1
votes
1answer
65 views

Deeper knowledge of os x? [closed]

I want to gain deeper knowledge of os x, which books/courses/forums should i take? All books that i have seen was about how to save your document in Pages. First of all, i will learn bash but what's ...
3
votes
1answer
278 views

Where is the New Oxford American Dictionary stored?

I'm trying to build a command line tool to look up definitions of words, it's only a dummy app for me to practise my C++ skills. I know there is a list of words stored at /usr/share/dict - but what ...
3
votes
1answer
255 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 ...
8
votes
5answers
52k views

Copying ISO file to USB drive in OS X?

I have tried to copy an ISO file to a USB drive. I am unable to do it with Disk Utility. How can I copy the ISO file to a USB drive? But I get the below. I have enough space in the 16GB USB drive ...
1
vote
2answers
242 views

How can I get Unix (brew/xcode/vim) acting like Unix under Lion?

I "upgraded" from Snow Leopard with Homebrew and vim both chugging along happily, to Lion. Now vim hangs/segfaults, and when I invoke brew, it complains xcode is missing, and continues to do so after ...
3
votes
2answers
682 views

SSH Key Error, sudo works fine

When I try to ssh (using ssh user@server.com) into my server at home from either the local network or from outside, I get the following error: But if I use sudo ssh user@server.com, it works with no ...
2
votes
2answers
2k views

where is the system wide $PATH set in OSX?

I'd like to set the $PATH variable for all users but don't find where it is defined. Having no $PATH export in my .bash_profile I have this ...
8
votes
2answers
6k views

Proper group ID (gid) for Lion?

If you create a brand new admin account in Lion, the following will be your id and group memberships (from $ id [new Lion account] | perl -lne 's/ /\n/g; s/,/\n\t/g; print;'): uid=504(lt) ...
4
votes
1answer
2k views

How can the 'mail' command be used?

I've had my first Mac for about five months now. Though, even when I was a full-on Windows user, I never did things through a command line; I was pretty much for the GUI all-the-way.. But now that I ...
17
votes
4answers
10k views

Is there a way to convert audio files in Mac OS X or the command line without using iTunes?

Now, I know I can use iTunes to convert music. But it's quite a pain.. All I'm asking is: Is there anything built into OS X or UNIX for converting files? Right now I simply want to convert .mp4 to ...
2
votes
0answers
520 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 ...