3
votes
1answer
190 views

Uninstalling Genieo broke my system

Update below, the rest is more or less background information. After discovering a Genieo install, I vaguely recalled it being, well, not trustworthy. After a quick search I knew I wanted to ...
0
votes
0answers
41 views

How to get rid of remnant samba shares via the shell

I'm running 10.6.8, and under System Preferences > Sharing > File Sharing is checked, and I have no folders under the left side. Naturally the right-side isn't populated with any users. When I ...
1
vote
1answer
96 views

Strange characters appearing in Terminal

When using Terminal, I sometimes get the following appearing. Last login: Fri Dec 27 22:04:56 on ttys002 ޕ:~ agrimm$ cd ruby ޕ:ruby agrimm$ cd .. ޕ:~ agrimm$ cd ruby/ ޕ:ruby agrimm$ pwd ...
4
votes
3answers
124 views

Is there a way to set/unset the execute bit on a file in osx 10.6.8 without using terminal (or bypassing it)?

I would like to do the following: chmod +x filename.txt without using the terminal. Is there a way to bypass the terminal and invoke a kernel system call ? I'd rather not write a program to do ...
1
vote
1answer
283 views

RTF files created using the 'touch' command will not open

I'm no expert on CLI or using the terminal or anything, but I like playing around with my computer. When I create a .txt .html or .md file or whatever using the 'touch' command in terminal, they work ...
0
votes
2answers
42 views

wacked a directory from the command line

I was copying a file to /usr/local/bin from the commandline on a Snow Leopard Server 10.6 ... anyhow i typed the following ... sudo cp ./le /usr/local/bin Ouch ... that missed last forward slash ...
0
votes
0answers
49 views

Script to create a new “To Do” in Mail.app

I've been dorking out with GeekTool and like my simple geeklet that displays my uncompleted tasks right on my desktop. I made a service with automator to let me create new To Do's in iCal whenever ...
2
votes
1answer
2k views

How to update Python on a Mac with Unix commands

After giving up on doing a disk partition and getting Linux, I decided to try and install Python 3.3.2 on a 32 bit Intel Core 2 Duo iMac with OS X 10.6.8 Snow Leopard. I did pretty much everything the ...
2
votes
2answers
1k views

How to copy all files with extension/filetype in terminal?

I want to copy all files in ~/Desktop with the extension .jpeg to my flash drive. How can I do this in the terminal?
1
vote
1answer
111 views

How to export files from hard drive in Snow Leopard CD?

I have a macbook 5,1 that won't startup. I'm going to reinstall Snow Leopard with the CD, but is there a way to export some of the files that are in it? I can't seem to gain access to them through the ...
1
vote
1answer
2k views

How to remove an environment variable on Snow Leopard

I'm running under Snow Leopard 10.6.8 and I recently added an environment variable which it seems to be messing my bash terminal (I guess). What I did is add the variable ...
1
vote
1answer
392 views

mail and mailx fail to send emails to gmail

Quite frequently I have to send the outputs of my work on terminal (e.g. when compiling code) to my colleagues via email. I was wondering if it is possible to pipe (|) the output of a terminal command ...
0
votes
1answer
121 views

Why does Terminal swallow Ctrl+up/down keystrokes?

In Terminal.app on Snow Leopard, the key combinations Ctrl+↑ and Ctrl+↓ don't get passed through correctly. Instead Terminal.app receives a single ↑ or ↓ key stroke. I have verified this by running ...
1
vote
3answers
7k views

Where can I find gcc in Xcode 3.2.6?

I have a Mac with OS X 10.6.8 Snow Leopard. I'm trying very hard to learn the basics of programming in C, but I can't get my first simple program to run. I read online to go to Xcode Preferences -> ...
4
votes
5answers
170 views

Learn about basic OS X applications

I have been a Windows user and have recently started using OS X (I have Snow Leopard on my machine). I wanted to learn about the basic applications in OS X (e.g. Terminal) and other commonly or some ...
8
votes
2answers
9k views

How to control Bluetooth wireless radio from the command line?

This question is almost the same as my previous question, but with one major difference; I want to turn on/off Bluetooth from the command line (bash or similar), NOT from AppleScript - the answers for ...
1
vote
2answers
233 views

Change Snow Leopard Login Wallpaper w/ Terminal

I know this is possible as I did it once before. How do you set the login background wallpaper to something else using terminal?
3
votes
3answers
553 views

Terminal shortcut keys

I've recently immigrated from Ubuntu to Mac OSX Snow Leopard. I use the terminal (iterm2) extensively, and I am a great fan of shortcut keys. The standard shortcut keys (which work in any GUI ...
3
votes
4answers
564 views

Setting time format preference in unix (Mac-Terminal)

I'm learning to work in unix using Terminal on a Mac and I'd like to set the default listing for the timestamp to display in 12 hour time, using AM and PM, instead of 24 hour time (ie: 1:00 PM, not ...
7
votes
1answer
513 views

How can I specify delimiters in Terminal for word and character selection before copying and pasting?

I am new to Mac and still struggling to be productive with fewer clicks and keys... When I use Terminal and click on a word, I would like the delimiter to be only space and not other characters like ...
0
votes
2answers
56 views

'which' location different from executable location

I'm trying to install ruby/rubygems on the latest version of 10.6. I used MacPorts to install ruby after noticing that my version was old. ruby was installed into /opt/local/bin. I changed ...
3
votes
1answer
596 views

Terminal text size different when connected to external monitor

I have a Macbook Pro 15" running OS X 10.6.8. When not connected to an external monitor, launching Terminal looks like this. Note the width of the text (almost looks bold). When connected to my 24" ...
1
vote
2answers
1k views

How can I get ALT+C to work via SSH on a remote UNIX machine?

I've installed Snow Leopard 10.6 a while a go and I'm pretty new to MacOS. I was working on Windows, then started using Slackware and I'm used to working with those OS. So now after I migrated to ...
4
votes
1answer
16k views

how to start/stop/restart processes

As a new comer from Windows OS, I wonder how to start/stop/restart a service on Mac OS X Snow Leopard 10.6.8 ?(it's straight forward on Windows using its Task Manager). I tried Activity Monitor, but ...
1
vote
1answer
493 views

Why are Ctrl+a and Ctrl+f broken in Snow Leopard?

In most text areas, ctrl-a and ctrl-f used to move my cursor to the beginning/end of the line, but now I get "^A" printed to terminal, and nothing happens in other input areas. Any ideas what ...
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 ...
0
votes
7answers
415 views

Is there a utility that allows to open a terminal window with a shortcut?

I often use the Terminal application, especially to commit code to a Git repository, and I don't want to have the window always open. Is there a utility that allows to open a terminal window using a ...
5
votes
1answer
2k views

Is there a way to force Mac OS X to close all the applications when restarting?

I sometimes shut down my Mac, and I cannot wait it shuts down because I am urgently requested to do something in another office that would require some hours. In some cases, an application that opens ...
13
votes
3answers
6k views

How can I “say” to another Mac?

I have two Macs in our house (iMac and MacBook Pro). I would like to use the say command-line utility to type something on my MPB and have it speak on the iMac, rather like an intercom system. Plus, ...
2
votes
3answers
496 views

Titling tabs in Terminal

I'd like to be able to set the titles on my tabs to short, easy-to-remember things, since I often have a few open. You can use Command-I and set the Title that way, but OSX appends the name of the ...
7
votes
3answers
7k views

Change Terminal.app's Default Shell to BASH

How can I change Terminal.app's default shell to BASH? For some reason, my friend's Mac (10.6.6) defaults to using TCSH instead of BASH. The obvious remedy is to choose /bin/bash as the command to ...
12
votes
3answers
2k views

Can I customize ANSI colors in Terminal without extra tools like SIMBL?

I noticed that colors in the Snow Leopard Terminal.app aren't that great (using the Pro theme, but the other themes are worse). There seems to be no easy way to customize the colors, and googling ...
17
votes
4answers
2k views

Concisely starting Mac OS apps from the command line

I do a fair amount of work in the command line, and I find myself defining a lot of aliases of the form: alias skim='/Applications/Skim.app/Contents/MacOS/Skim' Is there a way to add magic such ...
5
votes
4answers
1k views

Automatically quit Terminal when typing exit

Scenario I use terminal to SSH a lot, however would like the Terminal App to quit when the last Tab closes using exit. I already have the terminal window itself set to close on successful exit, ...
5
votes
3answers
704 views

When is the locate database updated?

I use the locate command in Terminal regularly. When does its database get updated? On other systems, I could run updatedb as root to force it to update. Note: I know using mdfind to search with ...