0
votes
0answers
43 views

cannot type at command prompt in mac single user mode

I am trying to run applejack. At the bong, I press the command + s keys. The prompt comes up, but when I type, nothing happens. I have a Mac USB keyboard attached and a dynex USB mouse. I tried ...
0
votes
1answer
581 views

How to prevent a .command file from showing window when it runs on OSX Lion?

If you have a .command file on your desktop containing say a Terminal command that it runs when you double click it, is there anyway to either (1) prevent the window that pops open when you run it, or ...
0
votes
1answer
712 views

How to run bash_profile function from desktop alias .command file on OSX Lion?

Ok, so I have this great little function in my bash_profile which works great when I call it from Terminal (it opens a new firefox window instead of new tab): function firefoxNewWindow() { ...
7
votes
1answer
3k views

How can I put a newline in my zsh prompt without causing terminal redraw issues?

I'm trying to fix a minor (but annoying) issue with my zsh prompt. The problem I'm seeing is that when I'm using a terminal in a GUI OS environment (for example, Terminal.app or iTerm 2 on OS X ...
1
vote
0answers
43 views

Gem procress as Terminal title

I run Snow Leopard and I use the Terminal for Rails development. If you do web development, you would realize that regardless of the gems being run, your terminal name switches from bash to ruby. ...
4
votes
2answers
995 views

Create an alias to a samba share from the command line

I'm currently wanting to deploy a setup to around 300 Macs. I have all of it scripted and ready to deploy, excepting that I'm having trouble creating a working alias to a samba share from the command ...
21
votes
4answers
8k views

Change iTerm2 window and tab titles in zsh

I want to label the window tabs of terminal sessions. I'm using the zshell in iterm2 on OSX. Is it possible to change the label of a window tab dynamically in the terminal?
1
vote
1answer
704 views

VLC isn't playing videos on Mac OS X

I'm trying to play an .mp4 video file in vlc through Terminal in Mac OS X 10.6.4. When I enter the command, VLC starts but doesn't do anything, and the file starts playing in QuickTime Player, the ...
2
votes
3answers
3k views

Mac OSX change file association per file on the command line

I need to batch change the application associated with certain files via the command line. I'm not to change the file association for a certain file extension, I'm actually looking to target specific ...
2
votes
1answer
411 views

iTerm (mac command-line) asks annoying questions before quit

Running OS X 10.6 snow leopard. I like to open iTerm for a quick editing of files. And then quit it so I do not have to see it in the dock. This is what has happened: I upgraded iTerm to the most ...
2
votes
3answers
5k views

How can I reset network (Airport) connections from the command line?

I have this MacBook Pro that has intermittent problems connecting to my WiFi network. Sometimes it helps to disable/re-enable Airport and sometimes I have to restart the computer to get my network ...
1
vote
1answer
791 views

How to change disk image's default mount directory on osx

when I double click a disk image it mounts under /Volumes/image-volume-name. I want to change that for a specific image. I know that I can control the directory when mounting from a command line, but ...
0
votes
1answer
2k views

how to install a prefPane on mac osx from commandline?

I'm automating some system installs and I need to install a prefPane. something like installer -pkg xxx.pkg -target / that I use for installing .pkg files.
0
votes
3answers
305 views

Command output redirection to vim not working on OS X

I'm trying to redirect the output of a command to vim using the - argument, but it doesn't seem to work on OS X. For example, if I type $ ls | vim - on the command line on one of my Linux ...
0
votes
1answer
342 views

MacPorts is installing an older version of Perl w/Git - why?

This is my first experience with MacPorts. I'm using it to install Git 1.7.3.2. I noticed during install that it's downloading and installing Perl 5.8.9 on my Snow Leopard Mac which comes ...
3
votes
1answer
10k views

How can I delete a Mac OS X Snow Leopard user account from Command Line?

I need to create a script to delete Mac OS X users automatically from command line, not from GUI, just in Terminal, but I haven't found how to do it in Snow Leopard.
0
votes
1answer
227 views

Python 3.1.2 Interpreter lacks shell feaures on OS X when compiled from source

The version of Python provided by default in Snow Leopard makes available some features of the bash shell (i.e., command history, keyboard shortcuts, etc.) to its interactive interpreter. After ...
0
votes
1answer
488 views

Difference between /usr/bin/login and /usr/bin/bash [duplicate]

Possible Duplicate: Differences between /usr/bin/login and /usr/bin/bash What is the difference between /usr/bin/login, and /usr/bin/bash? Does the first command something more, or ...
2
votes
6answers
2k views

Better terminal program for Snow Leopard (OS X)

Does anybody know a better terminal program for snow leopard which allows for text editing? (i.e. jumping to a specific character without having to use the arrows to go one by one) etc..? thanks! ...
2
votes
1answer
2k views

How to control VPN client via commandline

There must be a way to control the built-in VPN client in OS-X Snow Leopard, I simply can't find documentation about it. I want to be able to connect and disconnect while I'm ssh'd into my box ...
1
vote
2answers
761 views

Is there a way to hide Terminal.app's credentials (prompt text)?

I lose too many columns in my terminal because of the credentials ( Victor-Rodriguess-MacBook-Pro:~ victorrodrigues$ ). Could I shrink this? The only information I see as really needed sometimes for ...
2
votes
3answers
4k views

Run QuickTime from command line to export video

I have a bunch of avi's I am converting to m4v, and I can do this in QuickTime by opening the video and then go 'Save As', select a folder, select the type (iPhone, Movie, etc), blah blah blah. But I ...
103
votes
9answers
111k views

Where does $PATH get set in OS X 10.6 Snow Leopard?

I type echo $PATH on the command line and get ...
13
votes
7answers
8k views

Why doesn't echo support “\e” (escape) when using the -e argument in MacOSX

When I try to print out some colored text using ANSI escape sequences via the built-in echo command, it seems that the \e escape sequence in the string I provide is interpreted literally instead of as ...