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

5
votes
2answers
164 views

Terminal not working after Yosemite installation

I installed Yosemite now and after the installation the terminal is not working. It used to work before, but after installation of the new OS X on Mavericks it is no longer working. How can I resolve ...
1
vote
1answer
23 views

Move files if file name doesn't exist considering extension

For example, in folder A, I have foo.jpg and bar.jpg. In folder B, I have foo.png and foobar.png. I only need one version of the file regardless of the extension, so I only want move foobar.png to ...
1
vote
0answers
20 views

Terminal command not found [duplicate]

So I was going thru RoR tutorial, installed heroku, heroku toolbelt. I got an error message from Heroku to update to newvest Git for safety reasons. I tried that with installer but heroku version ...
0
votes
1answer
32 views

Terminal stuck at error won't accept any commands.

I was trying to install CLI package from github but I messed up during the process and ended up getting this error. It is persistent and won't go away. Terminal wont accept any commands like mkdir, ...
1
vote
1answer
38 views

Can't find file saved in Propellerhead Reason 8

I made a song in Propellerhead Reason 8 and I named the file ".cubicle..reason" but now I can't find the file. I was wondering how I could use terminal to locate the aforementioned file.
0
votes
0answers
15 views

No java installations was detected, although I have Java

$ java -version java version "1.6.0_65" Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode) $ which java /usr/bin/java ...
4
votes
2answers
38 views

Figuring out what IP's and Ports a program is accessing

I play poker semi-professionally online and live. When I play online I have a hard time limiting the amount of time I play. There is a free application I found called self-control. It allows you to ...
2
votes
1answer
69 views

Force Macs to run Xprotect updater through terminal to get latest NTPD security patch

Apple released the the patch for an NTPD hole. This patch is automatically updated if you have SystemPreferences-->App Store-->Install system data files and security updates; checked. Which we don't. ...
1
vote
2answers
55 views

How to execute Terminal command using selected text?

I want to bind a shortcut to run a command in Terminal with text that I selected while web browsing. How could I do this?
0
votes
1answer
46 views

Slow mac when Terminal have been open for some time

When I have Terminal.app open for some time (mostly after 2-3 hours), everything starts getting slow. When I type there is a delay for each character, and all applications lag when I scroll. If I ...
1
vote
1answer
50 views

Escape single quote in command in alias Terminal

I am working with SVN for version control, and whenever I'm ready to commit some changes, I have to stage them all with the following command: svn status | grep -v "^.[ \t]*\..*" | grep "^?" | awk ...
1
vote
1answer
37 views

How do i mask “forbidden” chars in passwords in the mount command?

How do i properly mask/escape illegal characters like /:@\ in passwords added in the mount command? The question arose in the answer here: mount -t afp ...
1
vote
1answer
94 views

In Bash, can I output text from cut into a new command?

This might be a vague title, but it's hard to explain what I'm doing in a short title. I have a tool that removes adware and it mainly runs in bash. Some of the programs I want to kill may have ...
0
votes
0answers
65 views

Yosemite blue grey Screen O Death

I have a late model 2011 MacBook Pro, and I upgraded to Yosemite two weeks ago. Yesterday I was working in After Effects on some pretty big movie files when the laptop screen just went black. When ...
2
votes
1answer
19 views

How do I create terminal session independent env vars on OS 10.10?

I read Mortimer's answer here http://stackoverflow.com/questions/25385934/setting-environment-variables-via-launchd-conf-no-longer-works-in-os-x-yosemite and added this file in ...
2
votes
2answers
42 views

Terminal not beeping on bell character

I'm running a nearly vanilla installation of OS X Yosemite 10.10.1 with the usual Homebrew, MacPorts, and Fink. I have barely anything installed with these utilities. For some reason, my ...
2
votes
1answer
370 views

Need help with update to latest Git using Terminal

I was trying to update to the latest Git version in my Terminal. I've no clue what I did and all I remember was that I removed the previous installed Git I think because when i run the following ...
4
votes
2answers
123 views

How can I specify shutdown time with “sudo shutdown”?

In the following Terminal command sudo shutdown -r now, there is a time set ("...now"). Is there a way to set a specific time. For example, could it be sudo shutdown -r -int 1200?
1
vote
1answer
13 views

How to configure $PATH (for LaTeX) and run commands in Terminal?

After consulting the programming section of StackExchange, I have been referred to apple.stackexchange instead. I am using the following template: ...
2
votes
1answer
19 views

iTerm2: How to change the color used to highlight search results?

It seems that iTerm2 is hardcoded to highlight search results using a yellow background color. I tried both the latest release and the nightlies but could not find a way to change that color. Did I ...
4
votes
0answers
68 views

How to isolate processes that evoke insane mds_stores disk read activity?

I have an interesting situation where when I monitor my disk activity, I find that mds_store is continually running between 1 to 35 megabytes per second (averaging around 3-5 MB/s) on the read and ...
2
votes
1answer
43 views

Displaying calendar events as text, in the terminal

Using Yosemite, is there a way to display events from my calendar in the command line? I'm aware of the stock calendars apple supplies for things like holidays and such, /usr/share/calendar/ and the ...
0
votes
0answers
15 views

Batch command line “convert” tool corrupting first file in folder

-convert txt * -output * I am batch converting some RTFs to TXTs. For some reason, the first (only the first and always the first) file in the directory does not convert AND gets corrupted by the ...
1
vote
0answers
18 views

Change the Linux Debian Mirror [closed]

When I would like to change the mirror in Linux Debian. What is the file I have to configure?
0
votes
1answer
30 views

Why do I have /Volumes/Storage Drive?

In Terminal, I noticed I have /Volumes/Storage Drive. On my mac, I have no drive named Storage Drive. Furthermore, no Storage Drive appears in Finder or Disk Utility. When I cd inside Storage Drive ...
2
votes
2answers
32 views

How can I connect to ftp server in terminal?

How can I connect to ftp server in terminal? What is the command? For example for the ssh server: ssh admin@ip.of.the.site
3
votes
2answers
166 views

How to use gcc or git without installing xcode?

I am a newbie of Mac user. I can see there are gcc, git, etc in the "/usr/bin" folder. But when I want to use them, it prompts like this: MacBook-Pro:~ nan$ git xcode-select: note: no developer ...
0
votes
1answer
35 views

Is there a terminal command to restart an application?

I am having issues with Adobe Dreamweaver on my Mac running Yosemite. I will be in the middle of saving a file to my server and it just locks up. Nothing will happen after that. I try and force quit ...
3
votes
2answers
42 views

Created a symlink but Finder shows it as an Alias

When I try to backup my iPhone, iTunes gives me an error, saying that it cannot make a Backup because the backup is damaged or not compatible. To move the backup folder I have followed the steps as ...
1
vote
0answers
13 views

Toggle notification center's DoNotDisturb from terminal [duplicate]

Is there any way to toggle it with i.e. osascript? I'm on Yosemite.
0
votes
4answers
65 views

why cannot I edit my `hosts` file?

I'm trying to edit my hosts file, because doing ssh <some host in hosts> fails to translate to ip. according to the Finder UI it is found under: however when trying to run cat hosts from the ...
1
vote
1answer
37 views

CD-ing a file to itself

I wrote an application in Applescript to open a black picture and fullscreen it in preview. I need the app to "cd" to itself, no matter where it is. That means if it is on the desktop it can pull up ...
0
votes
1answer
31 views

How to downgrade software using terminal?

New apple user here, I am trying to downgrade matplotlib to 1.3.1 after coming to this potential solution: https://github.com/matplotlib/matplotlib/issues/3470/ I just have no idea how to do that.
1
vote
1answer
23 views

How do I zip a .app file using terminal?

I'm having trouble zipping a .app file. If I zip without -r (recursive) it is really shallow, if I zip with -r it's really dense. The zip doesn't unzip correctly regardless.
0
votes
1answer
52 views

Applescript to replace string using sed

I need and Applescript to replace some text as follow: Original text: string  string  string  $  text1 string  string  string  $  text2 text3 string  string  string  $  text4 The ...
2
votes
2answers
21 views

listing files with extension in Terminal [duplicate]

in a Terminal session the command ls *.pdf -l does not list the pdfs (or whatever other file format) as expected, as the -l option seems to be ignored. Everything works fine if I issue a simple ...
2
votes
1answer
31 views

How to change the default command to open shells in the MobileTerminal Cydia package

I am using MobileTerminal on iOS 7, and want to know how to change the default shell from sh: to bash:. I assume I would need to change the login command for this, but how would I?
4
votes
1answer
58 views

Is there a way to put switches at the end when using OS X command-line?

For example: rm long/path/to/some/dir -r instead of: rm -r long/path/to/some/dir Is it possible to make it work like that, as in GNU command line utils? TIA, Karol
1
vote
1answer
31 views

Getting loads of Open error 5's when using Terminal to repair permissions

My GF's MBP running on Mavericks broke down 2 days ago. First I tried to copy the contents of her HDD to an external HDD but got the I/O error time after time. Then I tried all the basic things like ...
1
vote
1answer
34 views

Invisible folder after usage of trash-cli

Recently, I decided to install trash-cli on my MacBook Pro after using it successfully on my Ubuntu machine. To set it up I ran the following commands. git clone ...
14
votes
5answers
2k views

Is there a native terminal in OS X, without having to load the desktop, window manager, etc? [duplicate]

FOr example, in linux you can boot to a terminal, you don't have to load a desktop, window manager, etc. Is there something like this in Mac OS X? And like in Linux, is it possible to switch to one of ...
1
vote
1answer
55 views

Terminal command to delete all images in folder and subfolders?

I need a terminal command to delete all images (*.jpg, *.png, *.gif, *.JPG, *.PNG, *.GIF) stored in myfolder and its subfolders, preserving the folders structure. I do not need to move them to trash ...
1
vote
1answer
71 views

How to know if Drive is SSD or HDD through Terminal?

I would like to know if there is a way through Terminal commands in Mac OS X to find if an attached drive is SSD or HDD.
0
votes
1answer
19 views

Hostname changes all the time from capital to not capital and back

my Macbook air is called Johannes-Air. But when I open the terminal sometimes it says Johannes-Air and sometimes johannes-air. Does anyone know why this happens and how to stop it?
1
vote
0answers
11 views

On which processor does my simulations run? [migrated]

I am currently running 11 numerical simulations (coded in C) on another Mac computer via my Terminal using ssh and screen (Bash) on Mac OS. The computer that is running the 11 processes has 16 ...
0
votes
0answers
28 views

How to mouse copy a very long line in vim terminal OS X

I want to copy with mouse one line from one vim terminal to another vim terminal. This line is huge and has a hidden character (I presume at the beginning) that I do not want to copy. In other ...
0
votes
0answers
9 views

Add a path to the system PATH [duplicate]

Please help me figure out how to set a system wide PATH..... I have upgraded svn to version 1.8.10 on osx 10.9 One of the required steps was adding the address of the current svn to the PATH. ...
0
votes
1answer
24 views

Fullscreen a running application from the terminal

I'm trying to pull a prank on a friend. I have a shell script that continuously cats a C source code file so make it look like the terminal is "hacking" something. The next thing I would like to do is ...
-2
votes
0answers
25 views

How to prevent my app from launching in a terminal?

When I open my app in finder, it opens a terminal like this: Last login: Mon Dec 1 10:13:26 on ttys001 MacBook:~$ /Users/me/Library/Application\ Support/myapp ; exit; I noticed that if I configure ...
0
votes
1answer
44 views

how to find files with .j or .jp extension

I have some image files that have a messed up extension. The files are of the following format: "filename." "filename.j" "filename.jp" I need to find all these files which are in several folders and ...