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

8
votes
2answers
5k 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) ...
5
votes
3answers
3k views

How can I manipulate several security settings from terminal?

I want to change these behaviors from terminal: Auto-login Showing password after screensaver and sleep mode Go to sleep mode after x minutes Enable screensaver after x minutes
1
vote
1answer
315 views

Map keyboard key to unix command

Simple I am looking for a way to map a keyboard key to a unix command. It could be as simple as literal as opening up terminal and pasting a required bit of text.
3
votes
1answer
3k views

Unknown terminal 'xterm-256color'

Keep getting a message in Terminal saying tput: unknown terminal "xterm-256color" This message typically appears when running homebrew, and while I can swear it's popped up on other places, I ...
3
votes
4answers
2k views

Using locate.updatedb doesn't work in Lion

A week ago I upgraded to Lion from Snow Leopard. I want to use the locate command, but the locate database has not been built yet. So I tried running sudo launchctl -w ...
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 ...
2
votes
2answers
1k views

User changed to 502 on OSX

I have a small problem with my permissions. I use rsync frequently on a certain target directory, but one day I by accident I used "sudo rsync", and now all my permissions for the files in the ...
14
votes
4answers
7k 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
2answers
3k views

Installing gnuplot (or similar) on Lion

All the packages needed to install gnuplot through MacPorts on Lion succeed, except for aquaterm. Installing gnuplot through Fink is far less lucky on Lion. Fink bails out after only a third of the ...
0
votes
3answers
1k views

can't run GlassFish because something is using port 8080; but how to find it?

I develop on Mac (Lion) with Eclipse and GlassFish 3.1. GlassFish uses ports 8080 and 4848. Suddenly, when I try to launch GlassFish it tells me it can't because there's a port conflict. As far as I ...
0
votes
1answer
1k views

trying to run Apache James (email server) on Mac — getting “Permission denied” error — help?

I download Apache James email server on my Mac. I extracted the zip to a "james-2.3.2" folder. When I run "./james-2.3.2/bin/run.sh" I get a "Permission denied". I tried doing a chmod 755 on the ...
2
votes
3answers
848 views

Can you use the command line on a Mac to get to a networked Mac?

I have a networked mac desktop and a wireless laptop. I would like to use the desktop mac to test web pages from the laptop. The mac desktop has a php/mysql/apache server outside the router for ...
4
votes
2answers
5k views

Installing Homebrew on Lion

I am trying to install Homebrew on Lion but keep getting an error. $ /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" I run the above code, which results in: ==> This script ...
2
votes
0answers
433 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 ...
9
votes
9answers
629 views

Which command-line packages do you need? [closed]

I generally have one of Fink, MacPorts, Homebrew installed. Most often for a single, small, and trivial package. I've found that all my day-to-day software exists in OS X versions. So, which non-OS X ...
3
votes
2answers
914 views

How to install TermKit on Mac? [closed]

https://github.com/unconed/TermKit command: git clone https://github.com/unconed/TermKit.git --recursive Prompt: fatal: https://github.com/LearnBoost/Socket.IO.git/info/refs not found: did you ...
7
votes
3answers
3k views

How do I change the time format used by ls command line on osx?

I want to make ls display time in ISO format (military format). How can I change this behavior? On Linux I knew that I could force ls to display time in long format by usin --full-time but this ...
4
votes
7answers
9k views

How to monitor file access for an OS X application?

I am looking for the OS X corespondent of FileMon, that was later included in ProcessMon. BTW, it is essential to be able to filter by process.
0
votes
1answer
2k views

Git: command not found during Git installation (Mac OSX 10.6)

I am trying to install Git on my Mac (OSX 10.6) following the official Git tutorial. I had no problem until I had to set my username and my email. Every time I tried I got "-bash: git: command not ...