Terminal (or Terminal.app) is the program included in Mac OS X for running applications and issuing commands using the command line interface. These programs are controlled by typing lines of text, rather than using the mouse or keyboard commands in the usual graphical user interface (GUI).

learn more… | top users | synonyms

0
votes
0answers
259 views

how to activate yadr after installing `ho my zsh`?

I have installed yadr and then ho my zsh how do i revert and activate yadr ? I have googled and found only how to uninstall ho my zsh: ...
0
votes
1answer
187 views

How do I Create a Macro or Shortcut to run a Command Sequence Terminal

The following was posted as an answer to a question of read/write difficulties on NTFS drive which worked perfectly. Thanks Codler. My question is, is there a way for a noob like me to create a ...
1
vote
5answers
5k views

How do I fix Terminal.app when my shell has been set to an illegal value?

Today I was mucking about trying to uninstall macports when I noticed an error being thrown up whenever I used sudo. I killed Terminal and tried to restart it which failed with the error message ...
3
votes
1answer
7k views

How to uninstall zsh

I'm new to Mac. A friend installed all kinds of additional software including zsh which I would like to uninstall. So how can I uninstall zsh?
3
votes
1answer
176 views

Running an AS droplet from Terminal

I have an Applescript Droplet application that I need to run from terminal. I can use osascript or even just open to open the AS App, but that will run its on run handler, not the on open droplet ...
1
vote
1answer
243 views

Fatal error after brew update interrupted

While my system was performing a $ brew update && brew upgrade we had a power failure and my iMac shut down while updating packages/dependancies. After rebooting I tried to run $ brew update ...
5
votes
1answer
5k views

Solarized and Terminal in OS X 10.8.4 Mountain Lion

I am trying to install the Solarized color scheme for my terminal on 10.8.4 Mountain Lion. I downloaded the .terminal files from https://github.com/tomislav/osx-terminal.app-colors-solarized and ...
0
votes
2answers
2k views

Solarized theme for Terminal

I've installed the Solarized theme for Terminal.app and imported it. But my Terminal is all gray, I don't get color highlighting on anything. Not even running Python terminal generates any color. How ...
4
votes
1answer
103 views

Is there a Terminal shell command to compare the contents of folders?

Sometimes you may want to see the differences in folders in order to: See what files are different See what files are missing See what files have been added Which may prove useful if you wish to ...
2
votes
1answer
135 views

Make terminal transparent to show wallpaper

The opacity option of the Gnome terminal in Ubuntu had a neat behavior, which showed the desktop wallpaper instead of the other windows behind it. Has anyone been able to make Mac Terminal, or an ...
3
votes
3answers
3k views

Dig not returning authority section?

Digging wikipedia.com, on my Macbook Pro, returns: $ dig wikipedia.com ; <<>> DiG 9.8.3-P1 <<>> wikipedia.com ;; global options: +cmd ;; Got answer: ;; ...
0
votes
2answers
14k views

How can i reset my Terminal?

just some time ago i installed the OS X Server app on my mac and since this day it always appears server as the chosen directory in my terminal. But because i dont really like the Server application ...
11
votes
3answers
4k views

OS X - Create a personal bin directory (~/bin) and run scripts without specifying their full path

So, what I am trying to do is to create a personal bin directory at my home folder. I created the following folder: /Users/thi/bin I put my scripts in this folder, but if I type in the Terminal: ...
1
vote
2answers
8k views

How to connect to the internet from Terminal when using a proxy with authentication

I have to use proxy servers to connect to the internet. I have set all proxies in my system proxy settings. Now I can connect to Internet using my browser and applications. But I cannot connect to ...
1
vote
3answers
629 views

Make shortcuts to directories via terminal

My problem is: whenever I'm coding, I work inside folders that are inside other folders and it's a long way to type: cd /folder1/folder2/.../folderN I know it's possible to make a shortcut to the ...
1
vote
2answers
1k views

How to have different colors in each Terminal window

Can I do this? OMG, I looked for hours, and every article I find tells me how to colorize the output of ls. Or colorize my prompt. I really really really don't want that. I want to colorize the ...
1
vote
1answer
144 views

System event key codes not working on thunderbolt display

My AppleScript works when I am just using my MacBook Pro Retina, however if i have my Thunderbolt Display attached the script does not work. Here is the script which works perfectly on just the ...
5
votes
1answer
2k views

Best rsync options to transfer data between two Mac

I am about to move my data from my old iMac to a brand new MacBook Pro. I would like to start over with a fresh install on B and copy just a subset of my data, reinstalling applications from scratch, ...
0
votes
1answer
467 views

Where is my ./configure file in OSX 10.8.4 (Mountain Lion)?

I'm setting up Cap'n Pro on my Mac and the install instructions ask me to type the following in terminal: ./configure CXX=$HOME/clang-3.2/bin/clang++ I look in my user folder i.e. ~/./configure but ...
1
vote
0answers
78 views

Rails Command Fails Because of Space in Path

I tried setting up a Ruby on Rails project on my nice safe volume called "Data RAID". The set up failed with some strange errors that I eventually tracked down to the space in the path name. It works ...
1
vote
2answers
848 views

How to make a command line executable an application?

I have a command line executable (specifically JMeter), which opens a GUI application when launched from the terminal. However, I would like to create a link to it that would wrap it up to become a ...
0
votes
1answer
468 views

What alternatives for reporting OSX Server Web Stats do the same job as AWStats?

I need a replacement tool or script to generate stats from the logfiles OSX Server generates while it runs. I have spent way too much time on AWStats and it's had nothing but permissions issues from ...
2
votes
2answers
939 views

How can I change the meta key on OS X Lion's Terminal.app?

Is there any way to use "Option" as the meta key in OS X Lion's Terminal.app? The checkbox that was present in Snow Leopard is nowhere to be found.
1
vote
2answers
126 views

use different terminal setting after ssh into another machine

I would like to use different terminal setting after doing a ssh into another machine. This would mean I could have my terminals to different machine using different colours. Is this possible? ...
2
votes
1answer
115 views

Does OS X Keep A Log Of Downloaded Files On My Mac?

Does OS X make a record or log of every file that has ever been downloaded on my Mac. Is there any reason to view them (or even delete them) ?
1
vote
2answers
896 views

How can I import a .terminal file using the command line?

I'm writing a (Bash) script to automate setting up my Mac environment and would like to do this, except using the command line only. I'd also like to make that theme the default. I have a .terminal ...
1
vote
1answer
576 views

F9 key with BYOBU

I have installed BYOBU via Brew and all the F keys work except for the F9 key which happens to be the key used to get to the menu. I have worked around this by editing the ~/.byobu/status files ...
3
votes
2answers
2k views

What build flags are available for brew install of gcc?

I'm curious as to what build flags are available to me when installing gcc 4.8 using brew. This question explains how to install gcc 4.8 using brew, but only specifies two possible flags i.e ...
0
votes
1answer
1k views

Clean restart from terminal?

In the last several weeks, my OS X 10.8.4 laptop has gotten completely stuck in states where it's impossible to interact with directly. Several times VMWare Fusion's USB shim has broken keyboard ...
10
votes
9answers
470 views

Can I shorten the typing needed to `cd` into some well know directories

I find myself opening a terminal and then CD'ing a lot into the same directory the path of which is very long. This means I am cd'ing a lot and using the tab to speed things up a lot. IT would be ...
3
votes
1answer
145 views

How do I cat a deleted file which is still open by its inode?

I have deleted a file I still have open. I want to save that file. I know its inode number. I think that sleuthtools icat would work for me except for the following. $ sudo icat -f hfs /dev/disk0s2 ...
3
votes
2answers
601 views

How are colorschemes represented in OS X Terminal.app Settings Files?

I'm interested in moving color values I've created for OS X Terminal to applications on other platforms, such as Linux. I'm familiar with the usual methods of representing color values like RGB, HSB, ...
6
votes
4answers
2k views

Is there a better way to shutdown/restart OSX?

Whenever I want to shutdown/restart OSX I click on the menu, select shutdown, and then click the box for not saving the session, and then click OK. Then there's always at least one program that ...
0
votes
1answer
269 views

Help me reset the terminal after sudo command mistake

I recently installed a cracked version of a program and it instructed me to block outgoing connections by following the instructions below. Step 1 Click the "Go" menu, select "Utilities," and then ...
0
votes
1answer
27 views

Find out about links

I have a few links set up. I can do ls -l and get full information about them. For example: Me-Machine:Links me$ ls -l ~/Links total 8 lrwxr-xr-x 1 me staff 64 26 Jul 23:20 jenkins_tc -> ...
2
votes
1answer
1k views

Change color of active terminal window

I often have a bunch of terminal windows with some various tasks. My problem, however, is that I have a hard time seeing which one is on top. This leads to me often typing [arrow up] + [enter] in the ...
1
vote
2answers
192 views

Alias to ssh and cd into a specific directory

I want an alias to SSH into another machine and then CD into a specific directory. I try: alias appl="ssh 9@lon.orb.com; cd /opt/tomcat/instances/" It does not work. Any ideas?
0
votes
3answers
298 views

Alternative to cp --parents in terminal

I was trying to use the --parents option with cp (to create the non-existing directories in the target path) in the terminal but that option does not seem to be working in MacOS. >cp --parents ...
3
votes
2answers
2k views

Is there a way to turn on and off the Mouse Keys feature using AppleScript or a terminal command?

I'm running Mac OS X 10.7.2. Is there a way to run an AppleScript or terminal command that quickly turns on or off the "mouse keys" feature under the Universal Access tab? Ideally I'm looking for a ...
0
votes
1answer
60 views

Terminal app no longer automatically recognizes functions in my ~/.profile any more

I made some function in my ~/.profile to automate things like SSH connections. They were working fine until recently. Now I need to "run" the ~/.profile by doing . .profile each time I open Terminal ...
2
votes
1answer
505 views

Reboot from the command line (stuck processes)

I started a remote reboot of my machine but a couple of stuck processes are hanging the reboot. login with SSH is still possible sudo reboot or sudo shutdown -r hang two processes are trying to exit ...
0
votes
0answers
306 views

Programmatically setting Terminal default settings for all users?

I'm trying to set up some standard terminal settings for all users across our system on all machines. I've tried to use the defaults write cmd in a LoginHook script, but since it seems that terminal ...
1
vote
0answers
131 views

Sudo works for a whole day and then stops working until a reboot

I currently have admin access to a Macbook Pro running OSX 10.8.4. I have been sudoing at the terminal for the whole day with no restart until sudo stops working. I rebooted the operating system and ...
2
votes
5answers
531 views

How to produce constant output in a Terminal window?

Like when you do brew install wget or mysqld restart I want some lines of information constantly run through my terminal window. Is there maybe something I can monitor or any stream of information I ...
2
votes
1answer
2k views

Set size of window to exact pixels, and place via x, y coordinates

I would like to create a tool that allows you to set windows to exact sizes on the pixel scale to be able to have more precise screen divisions. For example, if I had four Terminal windows (and I ...
2
votes
2answers
220 views

Summary of Apple Specfic terminal commands

Where can i find such a good list? I tried googling, but they just cover the linux basics (cd, ls, rm, sed, etc.). What are the Apple specific tools for changing settings, volumes, bundles, plists ...
9
votes
3answers
3k views

Why is OS X able to send out email without first configuring SMTP?

When I try the command in terminal, an email is sent. I have checked there is no local SMTP is running, so what is the mechanism used by Apple behind the scene? echo "Hello" | mail -s "Test" ...
0
votes
2answers
413 views

How Can I Send Text (and Not a Text File) to My Printer on OS X?

I know about this question (How do I send ASCII text to printer (over USB)?). But I'm working on something different. I'd like to be able to send text from within a bash script or Perl script to my ...
0
votes
0answers
502 views

Which mail daemon does OS X 10.8.4 run by default?

I'm debugging some mail related stuff on my Mac, and not quite sure how my system is even sending mail. I can run a simple command like date | mail -s test myemail@mydomain.com and receive an email ...
1
vote
1answer
39 views

Can two apps be tied so that when one opens or closes, the other does so?

Can triggers be set up so that when "App A" starts, another "App B" gets started automatically? Ideally, the solution would send a quit message to "App B" when "App A" quits, but the important part is ...