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

-1
votes
0answers
8 views

How do I access an SMB Share being hosted on an OSX Machine

I'm very new to the world of Apple so pardon my ignorance & general lack of knowledge. I only have terminal access to a MAC Machine which is being used for test purposes. I'm trying to share a ...
0
votes
0answers
2 views

Non-debug qlmanage

I've got a bash alias set up in my terminal, alias quicklook='qlmanage -p ', in order to easily quicklook files from the terminal, but the output bugs me. Testing Quick Look preview with files: ...
1
vote
5answers
97 views

Terminal: command to show application folder

I recently discovered that I can open application from Terminal like this: $ open -a TextEdit Is there any command that would just show the application folder instead of opening it? Such that I ...
38
votes
4answers
42k views

How can I open a text file with TextWrangler from the Terminal (command line)?

Often when I work in the Terminal (the command line) I need to edit some text files. I prefer to edit text files using TextWrangler. How can I open a text file with TextWrangler from the Terminal? I ...
0
votes
0answers
14 views

Typing the control+\ (backslash) on Apple keyboard

I've been trying for quite some time now to figure out how I'm supposed to type the escape sequence '^\', Control+Blackslash on a Mac. I have a Swedish keyboard with the Swedish Pro layout, and I ...
1
vote
1answer
56 views

Make `hostname -f` return fully qualified hostname

How can i make hostname (i.e. the unix commandline tool hostname, invoked in terminal) return a hostname including the domain information? At the moment, hostname, hostname -f and hostname -s return ...
1
vote
0answers
12 views

How to run Continuity Activation Tool from Recovery HD's command line?

I use Continuity Activation Tool to enable Continuity on my early-2011 13" MBP with an upgraded AirPort card. However, El Capitan's Rootless feature has forced me to use a modded version of CAT that ...
9
votes
2answers
4k views

Make ls command sort by file type (e.g. directories and file extension)

How do I make ls sort by file type (e.g. directories first and then by file extension)? The answers suggested in (Super User) Make ls sort by file type result in unknown option errors from ls.
-3
votes
0answers
35 views

`LSOpenURLsWithRole() failed with error -10810..` :~ root#

Okay, so I turn on my laptop, sign in to my regular user account and proceed to open/run a Java-based, HTTP-proxying application called burp via Terminal.app. It executes normally but refuses to bind ...
1
vote
1answer
27 views

No commands installed from pip work in Terminal

I've been learning python and tried to install pep8, restviewer and other command line apps but when i try to run them, it shows a command not found error. -bash: restview: command not found I've ...
4
votes
10answers
10k views

How do I remove crashplan from my Mac

I recently tried out CrashPlan on my Macbook, but I decided not to go through with that. However, now that I'm not going to be using CrashPlan after all, I can't figure out how to remove their app ...
1
vote
3answers
1k views

Yosemite does not have ftp sharing option in file sharing preferences?

I have just obtained a Macbook Pro with Yosemite installed and am trying to connect to it from another host on the local network via ftp. The connection is refused. So I get into the preferences in ...
0
votes
2answers
48 views

applescript will not stop running

I have an applescript that utilizes a named pipe and pipes data over to it. I have my script passing said data in a while loop, which is working, but I find that I am unable to stop the script ...
0
votes
0answers
53 views

.bash_profile is not working unless sourcing it manually

I got a new machine (yosemite osx), and I am trying to set it up. I have created .bash_profile, but unfortunately it doesn't work. Even if I log back in or restart the machine, and open terminal ...
9
votes
3answers
860 views

Any way to make Cmd-D “delete next word” rather than “split-pane” in Terminal

I am so used to using ⌘D to "delete-next-word" in emacs and xterm, that I automatically hit it in Terminal all the time, which rather annoyingly (to me, at least) causes the pane to split instead. ...
4
votes
6answers
10k views

How can I write a script to open multiple terminal tabs and execute code in them?

I want to be able to open the terminal application and have it either automatically run a script that opens several tabs and run an arbitrary set of commands in each. For example I would like one tab ...
5
votes
1answer
750 views

Can an alias be added to the dock via the command line?

I found this article but it handles the GUI solution. I would like to automate the setup of a new machine, and do that I've created Dropbox shares of a number of my common configurations. (I could ...
0
votes
1answer
22 views

How to get current user SID in Mac OS X

For my application purpose, I want to get the user information from Active Directory. Especially I want to get current user SID and user account domain SID. Can anyone tell me some way to get this ...
4
votes
2answers
2k views

How to spoof a USB-Ethernet adaptor Mac address in OS X

I've recently bought a usb-ethernet adapter (not apple) and I get internet connection. In my university we have to put a specific mac address but I can not change it. I have tried with sudo ...
3
votes
5answers
847 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
0answers
27 views

“Unable to unmount volume for repair” message from reformatted SSD (and empty) in “Option/ALT startup”

I am trying to reformat a Samsung 512GB Pro with bootable USB, and I have manage to get through the prep for the USB so i`m in no need there. But after the "Option/ALT startup" i click on the USB to ...
0
votes
0answers
12 views

Force Mac OS X to Register USB devices

I'm using an HDMI CEC adapter connected via USB to my Mac Mini (Machine model Macmini6,2). Often when the Mini is rebooted it fails to register the adapter. Unplugging and replugging the USB cable to ...
1
vote
2answers
330 views

Password no longer works on MacBook Air Yosemite 10.10.2 I need to reset the password, without logging in

I do not know why, but my password is no longer working on my MacBook Air v. 10.10.2 Yosemite. I have tried several things including restarting in Recovery Partition, going to terminal and typing ...
2
votes
1answer
19 views

How do I open a new Terminal window ssh'ed to another machine from the command line?

From the command line I'd like to open a new Terminal window that is already SSH'ing to a host. From the command line, I can open a new Terminal window very easily: open -a Terminal or open -a ...
32
votes
9answers
10k views

How do I speed up new Terminal tab loading time?

How can i speed up the terminal startup in Lion? I'm not referring to the startup of the Terminal application, but to the startup terminal windows, like when i open a new tab. I don't have anything ...
2
votes
2answers
3k views

iSSH alternative

I'm using iSSH application on my iPhone, mainly for VNC connections. I like its usage. But as I understand, this app is not in App Store now, and the development of iSSH was ended. Could you please ...
1
vote
3answers
302 views

Is there a command similar to Linux's command-not-found?

Most Linux operating systems have a package like command-not-found (http://packages.ubuntu.com/utopic/command-not-found), which provides suggestions when a shell command was not found, e.g. because ...
2
votes
1answer
37 views

How do I change Mission Control shortcuts from the command line?

I have been trying to figure this out for a long time. I have a pretty typical Mac OS provisioning script: https://gist.github.com/ryanpcmcquen/b2e608311f286a4ab3e1 I would like to change the ...
1
vote
1answer
43 views

OS X Server leaves some unwanted open ports after removal

I am currently running OS X Version 10.9.5 (Mavericks). In the past I installed OS X server and had to sign some certificates so that users could authenticate with the VPN function (which is what I ...
0
votes
1answer
52 views

How can I create a custom behavior for a URL scheme?

I would like a specific URL scheme, magnet:, to run a command in Terminal. For example: magnet:?xt=urn:bKKH Would execute: myCommand "magnet:?xt=urn:bKKH"
2
votes
4answers
270 views

How to remove or hide Apple applications from my app folder?

I've got a lot of Apple applications on my Macbook which I never use (Photos Facetime, iBooks, iMovie, iTunes, etc.). They just clutter up my application folder and I want to get rid of them. This ...
2
votes
1answer
54 views

How to start Firefox web browser from terminal in private mode?

Simply put, how do I open the Firefox directly from Mac OS X Terminal in private mode?
0
votes
2answers
38 views

What is the netstat command for particular port if that's connected or not? [closed]

Need to know what is the exact netstat command to find out if a port is connected with any network or it's open through OS X Terminal. I want info on a particular port, such as port number 80, so the ...
1
vote
1answer
47 views

Can't install Python Modules

I'm running OSX 10.8.5 with python 2.7.10. When I run the following pip install pyodbc I get the following error message. Error Message: Command ...
4
votes
3answers
17k views

How do I convert a suitcase font?

I have a font set - Type: Font Suitcase I am sure I have used a terminal command to convert it to a TTF or OTF. I don't really want to pay for software to do so. What is the best way of converting ...
2
votes
3answers
3k views

Installing Mavericks via Terminal

I have the Install OS X Mavericks.app in Recovery Mode and I want to execute it somehow to start the installation from the terminal, so I don't need the internet connection. I executed the ...
0
votes
0answers
27 views

Mount external HDD readOnly option

I have the following problem: I used the optical bay to use a HDD in my mid 2010 13" Macbook Pro in addition to my SSD. It was working just fine until a few days ago, when it started to get "slower". ...
10
votes
3answers
7k views

How do I make Terminal.app's scrollbars disappear in Lion?

Once I upgraded to Lion, I found out that the vertical scrollbar is always plastered to the right side of the application window. Because I run GNU Screen within Terminal.app, the right side of the ...
2
votes
2answers
131 views

Should the pgrep command be available in OS X 10.7.5

I posted this question on stackexchange and was told in no uncertain terms that my system was broken because pgrep did not exist in /usr/bin This has me worried, my system is stable and I am sure I ...
0
votes
3answers
53 views

command + delete in terminal

Often, when I'm typing in a super long command(usually ruby on rails console code), I decide that I need to do something else first and therefore, have to delete the command which I just typed(but not ...
3
votes
2answers
3k views

Process completed immediately after opening Terminal

After I open Terminal in OS X: Last login: Tue Oct 28 10:29:21 on ttys000 login(14773,0x7fff7572f300) malloc: * error for object 0x7fd4bb715110: pointer being freed was not allocated * set a ...
1
vote
0answers
15 views

Using Dictation with MacVim or Terminal

I'm trying to use Dictation on Mac 10.10.5 to enter text into MacVim (or into Terminal). It works for the most part, but for whatever reason, those programs won't let Dictation add a space after each ...
0
votes
2answers
23 views

Adding Gradle to PATH

I am trying to add Gradle to my PATH. I have used the command export PATH=/myUsername/Applications/gradle-2.6/bin:$PATH but when I type gradle I get an error "command not found." So I went to ...
1
vote
2answers
30 views

Can I replace characters in AppleScript?

I'm working on an AppleScript to mount our Active Directory Home Shares and I've come up with the following part that looks at the logged in users "SMBHome:" and it gives me the users home share but ...
3
votes
3answers
4k views

How to make bash (Terminal.app) remember history of previous sessions?

In my computer at work, my bash shell remembers history from previous sessions, even if I just opened a new terminal. In my computer at home, this doesn't happen. I have the same OS 10.6.8 in both ...
1
vote
1answer
11 views

Trying to replace volume sound in OS X to what was present before. Encountering permissions problems even as root. Help?

I'm trying to get the old volume feedback noise on my MacBook. I have a copy of the sound file but the system is refusing to let me replace it, even as root. I found this article that also explained ...
1
vote
1answer
25 views

install: illegal option — D

In linux the command install has these options (among others): (from the man page) -d, --directory treat all arguments as directory names; create all components of the specified directories ...
0
votes
0answers
51 views

How to pause Applescript when another process is not responding to system events?

I would like a Applescript to pause while a specific process/script/app is not responding (temporarily or permanently) to system events, and to start-up again when the other process is back. In ...
0
votes
0answers
22 views

Protect changes to plain text file written by standard user's execution of bash script

I have written a simple bash script that I want to use as a time clock for employees (work-studies) in my computer lab. The script works great. 1. Each work-study has two icons (two separate bash ...
1
vote
1answer
28 views

Disk utility unable to change partition type

I'm trying to copy a .img disk image to a microSD. However, when I try to move the contents of the image I downloaded to the microSD, I get this: Same result when copying via Terminal. ...