0
votes
0answers
23 views

Kernel Panic removing sleepenabler kext through terminal

I have been struggling for hours now. I just cant find a way to find and delete the sleep enabler kext file. I am a noob with the terminal in the installation dvd, cant get to the folders where I need ...
0
votes
0answers
82 views

Looking for an alternative to 'pstat' (for getting the count of active vnodes)

I know that on earlier version of Mac OS X there was a bundled pstat shell command that could be used to retrieve some information about the vnode's count. Do you know an alternative that may works ...
0
votes
1answer
137 views

Bring OSX terminal to front after command finishes

I'm looking for a way for the terminal to get my attention after a command finishes. Something like this: $ ./lengthy_command.sh ; focus_terminal Is there any easy way to do that on Snow Leopard?
3
votes
1answer
1k views

256 Colors in Terminal over SSH on OSX 10.6

I am using either Windows 7 or Ubuntu 12.04 and trying to SSH into OSX 10.6. Using Vim color schemes, I can emulate the colors on xterm-256 color on Linux and gVim on Windows. However, I would like ...
2
votes
1answer
2k views

Mac OSX repair “staff” group

I accidentally removed the "staff" group from my Mac OS X 10.6.8 while trying to remove jenkins from it: $ sudo dseditgroup -o delete -a jenkins -t user staff I tried to repair this with $ sudo ...
1
vote
2answers
51 views

OSX - what would cause a d.txt file to contain all my Terminal history to appear in my homedir?

I was working when I noticed a file in my homedir called d.txt. It contained all of my iPython work I'd been doing in the last hour or so. Is this something that my Terminal app did, or something that ...
0
votes
1answer
541 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
652 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() { ...
2
votes
1answer
71 views

Snow Leopard Terminal unable to write Capital P

I cannot type a capital P on my Terminal, it automatically changes to "## adjust to taste". I deleted all keyboard mappings under Terminal Preferences. I also reset all the Keyboard Mappings under ...
3
votes
1answer
4k views

How to find the process that is running on a given port in OSX

I want to run a web application on my local OSX Lion machine. When I go to http://localhost:8080 there is already a process running so I get the following message: Status Code: 404 Exception: ...
0
votes
3answers
2k views

How to switch terminal to full screen in Mac OS X

Is there a way to go full screen with Terminal in Mac OS X Snow Leopard?
1
vote
1answer
330 views

sudo sysctl -w kern.tfp.policy=1 fails?

I tried to setup the kern.tfp.policy to one but it does not let me do it. sudo sysctl -w kern.tfp.policy=1 kern.tfp.policy: 2 sysctl: kern.tfp.policy: Invalid argument How can I set ...
3
votes
4answers
12k views

How do I create a symbolic link in Mac OSX?

I have a .sh file that I need to create a symbolic link. I would like to be able to access the file using the Terminal. The command I use is: ln -s /path/roo.sh /usr/bin/roo But when I type roo, ...
0
votes
1answer
403 views

How can I make the Terminal compile a file I edited using Aquamacs?

I'm having trouble getting a small source code compiled in the terminal. I'm completely new at this (just started taking an introductory course)... I'm going to try to describe the situation as best I ...
1
vote
0answers
42 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. ...
0
votes
1answer
1k views

Terminal: change to admin user

Right now I am logged in to Terminal as a standard user, is there a way to sudo as the admin user?
0
votes
2answers
659 views

chmod on /System/Library/ in Mac Snow Leopard - Now Cannot Open Terminal

I was trying to run a command to fix a different issue, but when I cut and pasted the string there was a space in it and this is what was run: sudo chmod 000 /System/Library/ Now when I try to open ...
3
votes
4answers
548 views

Text Over SSH Buffering

I'm always SSHing to servers, sometimes it's over TOR, sometimes it's a server that's far away and the latency is really high. Is there a way to buffer my key strokes locally before they are sent to ...
0
votes
1answer
918 views

Open application from OSX Terminal with debug printouts

I can open an application using open, like this: open ./MyApp.app But this doesn't display the application's debug printouts - which I need. If I locate the binary inside the package manually and ...
2
votes
1answer
322 views

what does the First character (number) mean in ls -l on OSX Snow Leopard?

I've included an abreviated sample of ls -lasF output from OSX 10.6.7 - the man page for ls does not discuss the first number (0,8,16,32,48,80,376) per line that is shown in this output. (/etc links ...
1
vote
2answers
4k views

Mac Terminal: How to get back to the command line?

I'm on a Mac OS X 10.6.7. I started a node.js script, which starts an HTTP server. The problem is that I lost the command line, it looks like this: $me cd directory $me node test.js Message from ...
0
votes
2answers
445 views

Newbie OSX problem in terminal with running a command on a file in a different folder

I'm trying to run a command on a different folder. The command I'm trying to run is \Applications\VirtualBox.app\MacOS\VBoxManage modifyhd Windows98.vdi --resize 1000 Windows98.vdi i the the ...
2
votes
2answers
760 views

How to Launch Spotlight from the Terminal

I used this tip top hide my menu bar in a bunch of applications, which is a great way to get more free screen space. The one downside is that (for inexplicable reasons) it disables Spotlight when I'm ...
1
vote
2answers
9k views

Getting PATH right for python after MacPorts install

I can't import some python libraries (PIL, psycopg2) that I just installed with MacPorts. I looked through these forums, and tried to adjust my PATH variable in ~/.bash_profile in order to fix this ...
2
votes
2answers
345 views

Different bindings for left and right Option key in OS X

Is it possible to have a META key on left Option while at the same time being able to use right Option for Alt+2=@ and other things typical to Swedish/Danish layouts.
2
votes
3answers
2k views

OS X Terminal: Make a shortcut that opens to a specific folder

I would like a shortcut in my Dock that opens the Terminal window to a specific folder (the place where i store my development files). Is there a simple way to do this?
1
vote
1answer
2k views

ssh access to my DD-WRT router TP LINK WR1043ND

i would like to copy to the tmp file on my router and do not know how to SSH it to access it. i am connected to it via lan and am running OSX snow leapoard 10.5.6. pls help
3
votes
1answer
969 views

Looking for a Mac OS X terminal program that allows line wrapping to be disabled

Are there any replacements for Terminal.app that allow the line wrapping to be turned off? By turned off I mean in such a way as to cause a horizontal scroll bar to appear? I've seen proposed ...
0
votes
2answers
2k views

How do I change the display name in terminal (os x 10.6)

I have used this script to install imageMagick: Google: maddox magik-installer - its the first hit My terminal name is a string of cryptic letters and numbers. See image here: Keep in mind my ...
1
vote
3answers
692 views

Terminal not running shell bash

My terminal somehow turned into some kind of a text editor; I open it up and the window title says "Terminal - Login - 130x33" with no prompt, just a black window with a cursor like any text editor. ...
3
votes
2answers
1k views

How to disable flashing terminal in Mac OS

when i enter terminals commands etc and hit TAB (file name completion) the whole terminal window flashes rapidly (if there is no unique filename for example). This is not good since for some people ...
6
votes
2answers
3k views

Applescript to open a NEW terminal window in current space

Yes, I'm having a terrible newbie experience with Apple Script. I need to open a new Terminal window in the current desktop space. NOT move me to another space which has a Terminal running and then ...
1
vote
2answers
335 views

OS X Terminal Cursor Problem

This morning I bumped into something I've never seen before and I can't seem to find a way to fix it. I was inspecting a large bzipped tarball (e.g. tar jtf myfile.tar.bz2) and before it completed, I ...
1
vote
4answers
2k views

Terminal Beeps (output) and Growl

I need a way to trigger a Growl notification when a Beep is triggered in the Terminal. Ideally, I 'd love to have a way to capture the terminal output - from an SSH server let's say - and handle it ...
4
votes
4answers
508 views

HELP! Overzealous `mv` renamed my /usr/lib folder

I was having a problem where my libiconv.2.dylib file in /usr/lib was corrupt and lots of applications were failing. I got a copy of a friends /usr/lib folder and was going to swap them out. ...
2
votes
1answer
1k views

Mounting a sparsebundle in OS X (specifically Time Machine)

I have a (not critical) problem, that seems to have been introduced with 10.6.4. I backup using Time Machine to an Airport disk (same as a Time Capsule). But if I mount the sparsebundle image ...
1
vote
1answer
649 views

Can't run executable from any directory

I have an executable file "x" stored in a directory. I want to be able to execute program "x" by typing "x" from anywhere in terminal. Currently I have to be in the programs directory and type "./x" ...
43
votes
5answers
72k views

Where to find the .bashrc file on Mac OS X Snow Leopard and Lion?

I want to install rvm on my Snow Leopard machine. It says I need to add a line to my .bashrc file (I'm using bash) but where is my .bashrc file?
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! ...
8
votes
2answers
4k views

How to skip words in OS X terminal?

Say I wrote a long command in the Mac OSX terminal, i.e say "Hello, how are you? I am good thank you. How is it going with you? Fine, thanks" and now I decided I want to change the word Hello to ...
3
votes
1answer
2k views

A top-down terminal

Does a top-down terminal exist for Mac OS, similar to Guake, YaKuake, or Tilda?
12
votes
5answers
3k views

Move file to Trash on Snow Leopard from Terminal

Snow Leopard allows users to "Put Back" files that were moved to the Trash from Finder. However, when I do mv <file> ~/.Trash from the command line I don't get the "Put Back" option. Is there a ...
2
votes
2answers
1k views

Good TN3270 for MacOS? (Mac OS X Snow Leopard)

I need a good TN3270 emulator for the Mac that supports file transfers to TSO/ISPF (IND$FILE) and 132 char wide screens. Min 132x27 (3278-model-5), better even user defined size like 132x43. So ...
2
votes
3answers
5k views

MacOS Terminal alternative/replacement like SecureCRT SSH Client (Mac OS X)? [closed]

I understand Terminal.app is the way most people use for telnet/ssh connections on the Mac, but I'm wondering if there is something like SecureCRT on the Mac. Kind of an all in one solution which ...
1
vote
1answer
917 views

What is wrong with my PATH settings on OSX?

At some point, my PATH settings on OSX have broken, meaning that launching GUI apps that use console apps "under the hood" are breaking (examples so far are MonoDevelop and Crossover Games). If I ...
4
votes
3answers
5k views

How to launch applications in 32 bit from Terminal in Snow Leopard?

Like a lot of people, I have some issues with launching my applications in 32 bit mode, because of the far-from-perfect LCC 3.1 driver for my Logitech di novo edge keyboard. Basically, I am not able ...
7
votes
4answers
8k views

Is there a usermod equivalent in terminal for OS X 10.6.1

Can anyone tell me how to modify a user and add them to a group in terminal on SL (10.6.1)? It seems that usermod is not used by Mac.
8
votes
5answers
28k views

Split Terminal windows on Snow Leopard

I'm not sure if anyone ever noticed, but in snow leopard in Terminal on top corner of your scrolling there is an icon also can be used through apple key + D How do i use both windows independent from ...
4
votes
3answers
2k views

How to disable Snow Leopard's Terminal annoying dialog before opening ssh:// links?

10.6 came with a lame feature where it shows a dialog whenever you click a ssh:// link, saying: Terminal is opening a ssh connection to 1.2.3.4 for Safari. Do you want to allow this? This will reveal ...