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
1answer
165 views

ssh key persists even after I delete the private key from ~/.ssh — why?

I generated ssh keys (public and private) and stored them in ~/.ssh/myServer/. I added the public key to the server's ~/.ssh/authorized_keys file and everything works great! In my effort to try and ...
0
votes
1answer
41 views

Can I set Show Library Folder via defaults from command line?

Is there anyway to activate the Show Library Folder option from the command line? I know that I can archive it with the command chflags nohidden ~/Library', but for several reasons I would prefer a ...
2
votes
1answer
18 views

Changing dev environment to Homebrew

I'm a new mac user and I'm going to start using Homebrew to build my environment. My current environment I've installed piece by piece. What I want to check is what to make sure I do, so I don't get ...
0
votes
0answers
17 views

How to find lost terminal sessions

I use Terminal for web development, and typically have various tabs open, some of which are divided into multiple session (via tmux). After a while, I'll accidentally hit command-W and kill one of ...
0
votes
0answers
55 views

My PCIe SSD crashed during OS reinstall, now will not mount, unmount, repair

While I'm pretty sure I totally broke the partition table, I've been unable to fix it using tools like testdisk and diskwarrior. My machine crashed during installation of 10.8 OSX on a mercury ...
0
votes
2answers
52 views

How can I access the LaTeX commands from the terminal?

I just installed MacTeX onto Yosemite and it installed everything in usr/local/texlive However if I am in Terminal and try to compile a LaTeX file with pdflatex foo.tex, it cannot find the LaTeX ...
0
votes
0answers
24 views

Way to Geolocate Files by Date Created

Does anyone know of a way (programmatic/Terminal or GUI) to geotag files using GPX files the way that Aperture can do for photos? (I'm basically trying to create my own "Atlas" function from ...
2
votes
0answers
179 views

Deleting and creating users with terminal in recovery mode?

would anyone know how to delete and create user accounts in recovery mode? Precise steps would be awesome because im not too experienced with UNIX. I already tried the userdel and useradd in urs\sbin ...
0
votes
1answer
98 views

Automator gets stuck at shell script

I am building an automator script to do automatic backups to a network drive via rsync. The shell script works perfectly fine in terminal and completes and everything, but when i run it from ...
1
vote
1answer
43 views

Files are not showed in Finder

Recently, I noticed that on the files on my external hard drive are not shown in Finder. All folders can still be navigated, but the files are not visible. When I check the contents of these folders ...
1
vote
0answers
27 views

Searching/opening filer from network location using terminal

I am creating .sh script that will open smb://location/foder. The location contains a lot of folders that are being constantly created, and every time when I navigate I need to open different folder. ...
4
votes
1answer
63 views

Where are Terminal.app profiles files located?

I just recently reinstalled OS X and forgot to back up all my sweet 'profiles' aka colour schemes. It would be very helpful if I could find the location of these so I can recover them from backup.
1
vote
1answer
90 views

Problem persistently defining aliases in terminal

I am trying to persistently define some aliases for my everyday terminal use. I started off with this tutorial: How to persistently define aliases in Terminal, more precisely with Mike's comment. As ...
3
votes
1answer
264 views

Is there a similar functionality of “Get Info” (Cmd+I) from the Mac OS X Terminal.app?

I would like to ask if in OS X there is a similar functionality of "Get Info" (Cmd+I) but from the Mac OS X Terminal.app? I mean something like finderGetInfo /path/to/a/file.ext which will output the ...
1
vote
1answer
59 views

How to use proxy in terminal [duplicate]

Department of Telelcom (India) just blocked some sites in India. But, only Government-based ISPs block access those sites. Other ISPs still have these sites working. One of those sites is Github and ...
2
votes
1answer
42 views

Using Terminal to order SSID preference in System Preferences

I'd like to find a way to add a specific SSID to the top of the preferred WiFi networks in System Preferences > Network > WiFi > Advanced. (10.9 Mavericks and beyond) According to the man page, this ...
2
votes
1answer
32 views

How to get rid of stuck terminal error

I don't exactly remember what I did last night, but ever since I get this message everytime I launch terminal. Not that it stops me from doing anything, it's just really annoying. Any help regarding ...
2
votes
2answers
135 views

How to access other users' files via Terminal in OS X?

I am an admin that wants to access other users' files. How to do this via the Terminal?
1
vote
0answers
30 views

Is HISTFILESIZE behavior different in Yosemite?

For a long time I've used the HISTFILESIZE environmental variable to control the number of lines that get written to my terminal history (the default of 500 is not enough; I set it to 10000). Ever ...
0
votes
1answer
91 views

Replicate my Mouse config in command line

How can I replicate my mouse config (in the images below) through command line?
0
votes
0answers
64 views

fish shell suggests commands in tmux

I use fish shell, it's has option "suggests commands", so it is works like in the next screenshot. Examle: You type command git status. In the next time when you type just g or git fish give you ...
1
vote
1answer
76 views

Where is the bash profile on iOS?

Where is the bash profile on iOS, I am jailbroken and can't find the bash profile, I would like to create some aliases and edit it.
1
vote
2answers
227 views

Shell not finding commands after I changed my .bash_profile file

I was following a tutorial trying to install Laravel (5.0). The tutorial showed to add export PATH="~/.composer/vendor/bin/laravel" to the .bash_profile document. Since then, I am not able to execute ...
1
vote
0answers
26 views

Can I get less(1) to display the final line, without selecting it?

When less(1) is looking at a file with a long name, pressing = updates only the final line on screen. For example, with the Terminal window at 80 columns and 27 rows (the default, I think), if I do: ...
0
votes
0answers
26 views

How to download via home-brew when connected though Internet dongle?

I wanted to download python on my Mac OS Mavericks. I found a blog which instructed to download it via home-brew using simple command brew install python But I am getting failed to download errors. ...
1
vote
0answers
35 views

Finder's akward filesize behavior

Updated my os from Snow Leopard to Mountain Lion a week ago and noticed strange filesize info inside 10.8.5's finder. The info on filesize/foldersize in 10.8.5 is different from 10.6.5. While a folder ...
6
votes
2answers
2k 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
64 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
23 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
56 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
73 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
55 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 ...
6
votes
4answers
105 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
199 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
86 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
98 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
173 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
57 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
141 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 ...
1
vote
0answers
297 views

Yosemite displaying the blue and grey screen of 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. Now ...
2
votes
1answer
59 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
3answers
151 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 ...
3
votes
1answer
1k 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
841 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
34 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
43 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
340 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
178 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
60 views

Command line “convert” tool corrupting first file in folder

textutil -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 ...
0
votes
1answer
80 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 ...