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
9 views

How to keep imessage running/logged in on a macbook pro

I know I saw a link somewhere before but I can't find it on this site or in my bookmarks. For some reason, my iMessage or some accounts on my iMessage program on my MacBookPro (10.9.5) keeps ...
0
votes
2answers
23 views

Why can't I easily open web browsers from the terminal application?

In order to run Chrome from the Terminal application, I have to do open -a "Google Chrome" index.html rather than just something like "chrome index.html". The same also seems to be true for ...
0
votes
1answer
17 views

terminal folder access

having a trouble to access few folders in my root user. For example: cannot access - Ideas Infinitas, Treehouse workshops folders. At the same time I can access test_app and some other folders. My ...
2
votes
1answer
43 views

How to replace all Finder files with a placeholder file for each

I have lots of files from a database which are to be copied to a new database, but the files for these are corrupt (They are zero-byte in size and contain no data). Rather than the new database ...
0
votes
0answers
18 views

Symbolic link to Emacs 24 not working

I like to create a bin directory in my home directory and make it the first item in my $PATH. I then create symbolic links to override the default MacOS installed version of certain apps. I have done ...
0
votes
0answers
12 views

Configure: error: clang version 3.0 or later is required - but I already have it

I'm trying to follow this RVM installation guide, supposedly for Snow Leopard 10.6.8 (I should point out that $ rvm -v returns -bash: rvm: command not found), but when I run $ curl -L ...
2
votes
2answers
50 views

Creating a Bridged Network Connection in Terminal

Okay, I'm struggling a bit here. I'm not all that good with Terminal and sorting out network issues using it but I've managed to scrape by so far. Without using Internet Sharing (because controlling ...
0
votes
0answers
10 views

Code can't open files that have name containing '/' [on hold]

I am trying to write a python program that does various basic things with HTTP requests. I am running into troubling trying to implement a caching feature. If I save the HTML code in a local file and ...
0
votes
1answer
22 views

Homebrew says my Python installation could cause issues and I'm not sure what to do

I'm just getting started with web development and I'm trying to set up my environment, and I can't do that until Dr Homebrew has discharged me from N00bcake Hospital. This is what I'm getting: ...
1
vote
2answers
23 views

How do you disable Printer Sharing via terminal?

I am looking for a command/script to disable the printing sharing feature via terminal. Does anyone have any idea or know how to go about doing this?
3
votes
2answers
133 views

Script to change downloaded mac wallpaper automatically?

I want to change my mac wallpaper daily with microsoft bing images. I found this script that download the daily picture automatically, but I sill have to set the wallpaper automatically. Is it ...
1
vote
1answer
12 views

In which file Terminal.app stores its windows?

Usually after reboot/crash all Terminal windows are re-open automatically, this time they weren't. Where (which folder/file) Terminal.app stores the session/information about its windows which ...
1
vote
2answers
43 views

Powerline patched font not working on Terminal.app

I am on Mac OS X 10.10.2 (14C2513). I am using Inconsolata patched font from here. But I also tried to patch the font myself. The result is the following: I am able to see the glyphs but zsh (see ...
2
votes
1answer
15 views

Mac nl only takes lines 2048 chars long

I'm having an issue where the Mac version of nl will mark a new line after 2048 characters. I tried it on linux, and it doesn't do this. Any idea why it does on Mac, and how to fix it?
2
votes
0answers
6 views

Is there a way to force clockwise pane rotation in iTerm2 with the shortcut keys?

I've often found that when using iTerm2, I'll have like 3 or 4 panes open in one tab. And the shortcut keys for moving between them Cmd + ] and Cmd + [ are very useful, but unpredictable. The reason ...
2
votes
1answer
73 views

How to gain insight into spotlight index?

I'd like to get a list of all indexed files and their path that spotlight came across. How would I do that ? mdutil does not seem to be of any help.
2
votes
1answer
24 views

Can't get Terminal to Display Colour (Mavericks)

I've recently been working on a script to backup files, etc. for my own use but recently I thought it may look nicer if I was able to cleanup and have everything nice and tidy (with colours and what ...
1
vote
1answer
23 views

How can I access the keychain remotely from the command line?

I am storing various passwords (e.g. for remote email servers) in my keychain. From the command line, when logged in locally, I can retrieve these via: security unlock-keychain ...
1
vote
3answers
43 views

New terminal to same directory

When I have a terminal window open, ⌘N opens a new one. Is there any way to get the current directory in the new window to automatically be the same as it was on the window where I pressed ⌘N?
0
votes
0answers
15 views

Can I get rid of these timestamps in terminal?

I'm getting Javascript output in my terminal and it currently looks like this: Is there a way to get rid of the timestamps at the beginning of each line? I'm not sure if this is something I somehow ...
1
vote
1answer
35 views

How to identify file type for a bulk lot of files and attach suitable extension to each

I have just over a thousand (1000) files whose suffix/extension has been changed by a database engine all to the same thing (eg. fileName.abcd where .abcd is on every file regardless of whether it is ...
0
votes
1answer
22 views

mysql: command not found [duplicate]

How do I use MySQL from the CLI? When I use the terminal, I get: Darrens-MacBook-Pro:~ thufir$ Darrens-MacBook-Pro:~ thufir$ mysql -bash: mysql: command not found Darrens-MacBook-Pro:~ thufir$ ...
1
vote
1answer
17 views

How to install tofrodos in Yosemite via Homebrew?

This thread is based on my attempt to parse windows syntax to unix in this thread. I run successfully brew reinstall tofrodos and get ==> Reinstalling tofrodos ==> Downloading ...
1
vote
1answer
14 views

Bash automatically creating () and ()! files

I noticed that the Yosemite system has been creating files with names just "()" and "()!" in places where I recently made bash commands and want to know why. I can't even delete them use rm as after I ...
0
votes
0answers
18 views

how do I install SIPSAK?

How and where is this installed from on a Mac? For context, SIPSAK is the SIP Swiss Army Knife: sipsak is a command line tool which can send simple requests to a SIP server. It can run additional ...
0
votes
0answers
23 views

Mac Terminal won't accept £ in ssh password?

I have an issue where I'm trying to ssh into the root account of a firewall from my Mac. I'm on the same network as the firewall. ssh root@1.2.3.4 I'm then asked for my password which contains the ...
2
votes
1answer
30 views

Droplet with a progress bar?

First of all, apologies for my ignorance on the subject. All of this ffmpeg and automation is new for me and sometimes I cannot see even evident things. I am learning command lines to encode videos ...
2
votes
1answer
28 views

Open application from terminal and remain linked to the process (like Linux) so when CTRL+C is sent to terminal the application closes too

I have an application (closed-source tool not developed by me) which requires another process to exist before executing properly. When I quit this application, I also want that custom process to be ...
0
votes
0answers
10 views

Backspace over SSH shows ^?

I'm trying to use vim to SSH in terminal on my Macbook. All the solutions I found were for PuTTY, but I'm using terminal. Someone said to add this to my vimrc but that did not work: stty erase ^? ...
0
votes
0answers
29 views

How do I install SIPSAK with macports?

For context, SIPSAK is the SIP Swiss Army Knife: sipsak is a command line tool which can send simple requests to a SIP server. It can run additional tests on a SIP server which are usefull for ...
1
vote
0answers
80 views

Syntax highlighting in Mac OS X Yosemite Terminal

I would like to know what is the method to do syntax highlighting in terminal. I am trying to avoid my mouse to become more of a keyboard junkie so I am working more on Terminal and trying to learn ...
0
votes
0answers
19 views

Executing files directly from read/write WebDAV server

I’m using the Finder’s built-in Connect to Server... feature and use it for connecting to a read/write WebDAV server. Everything is working except executing files hosted on the server. I tried ...
0
votes
0answers
30 views

Terminal runs a lot of programs on start, why?

Every time I open a new terminal it takes a while to hand it over to me because it goes through a process of running sed, awk, and the ruby interpreter (I think that's what it's doing). Can anyone ...
2
votes
3answers
42 views

How to add MySQL to $PATH variable to resolve “mysql: command not found”?

I installed MySQL on my Mac, and now I would like to add it to my $PATH variable. I want to be able to type mysql anywhere. I tried adding the following to my .profile file: export ...
4
votes
1answer
135 views

Broken $PATH variable

I was trying to add something to my $PATH variable, but I think I made some sort of typo. Now, I am trying to fix this, I want to remove what I added, but when I type e.g. open .profile, it tells me ...
0
votes
1answer
94 views

How to access the Wi-Fi password through Terminal?

I am at my school and the computer I am currently using is connected to a Wi-Fi network. I want to know the Wi-Fi password and I am on a Mac. I know there is a way to do it through Terminal. What I ...
1
vote
1answer
23 views

Terminal git:master after oh-my-zshell installation

I just installed oh-my-zshell. And my terminal looks like the image now. What is git master there? I installed oh-my-zshell on other macs, the look is not like that. I am on the root here BTW. Can ...
0
votes
1answer
24 views

Remove all items in mdfind

How would I remove all of the items returned by mdfind? For example, I want to remove all files relating to "MacLaunchpad", so I did mdfind "MacLaunchpad" Which returned ...
1
vote
1answer
36 views

Device name in Mac Terminal is a random person's iPhone? [duplicate]

I was in terminal today and noticed this: Jeremys-Iphone: I have no idea who Jeremy is or have a friend named Jeremy. Do you know what this means, and how this might have happened? Thanks!
1
vote
1answer
30 views

Preview image from pipe

I have a command line utility, let's called as: produce_image. So i can do the following in the Terminal: $ produce_image > some.jpg $ open some.jpg #opens Preview.app also, I have ImageMagick ...
1
vote
2answers
45 views

Trim the middle of a file name

I have a lot of files in a directory that have [!] in the file name. Is there a way to trim that out with a command in the terminal? Here's an example filename. file001[!].ext
0
votes
1answer
29 views

Is there a way to make `open -a` pass command line arguments to the app it launches?

I'd like to run OpenSCAD from the command line with some arguments. $ open -a openscad myfile.scad works as I expect. $ open -a openscad --args --help reports LSOpenURLsWithRole() failed for ...
0
votes
0answers
15 views

shotdetect fatal libpng error gd-png error: setjmp returns error condition

I downloaded shotdetect and followed this guide to install it on OSX Yosemite 10.10.1 . When I try to run shotdetect, it appears to run through the entire video file, but then fails towards the end. ...
2
votes
1answer
44 views

Mac terminal prompt's machine name becomes “bogon” after using traceroute

I was doing some traceroute test yesterday, and today, my Mac terminal's user prompt becomes `bogon:~ myUserName$` Also when I'm doing traceroute like: traceroute www.google.com it stops with ...
4
votes
1answer
129 views

Creating a symbolic link in /bin is not working

I've tried three different ways to create a symbolic link to Sublime Text on my Mac and, after restarting terminal each time, it still keeps telling me command not found. I'm using a Mac with Yosemite ...
2
votes
1answer
41 views

How to unfreeze terminal when SSH connection dies?

I"m using Mac 10.9.5 with bash shell. Occasionally when I ssh into another machine and then the connection dies (e.g. the Internet goes down or I move to a new location), the terminal window with the ...
1
vote
1answer
102 views

Start/Stop Internet Sharing via Terminal in Yosemite w/out using AppleScript

Okay, I see this question has been asked a few times before (here, here, here and here), but none of those really answer the question for me. I don't want to use the AppleScript suggestions provided ...
1
vote
0answers
52 views

Can't delete files from remote Buffalo drive, “Permission Denied”

There are several files on a remote Buffalo drive that I can't delete. I'm using a Mac (OSX 10.9.5) and Finder reports the drive's filesystem as "SMB (NTFS)". I have tried from the GUI and from ...
0
votes
0answers
14 views

Configure terminal dimensions to show as Lines x Columns

In my terminal, when I ask to show Dimensions (profiles -> window -> dimensions), it shows the dimensions as Columns x Lines, but when I use resize -s 25 200, I am actually resizing as Lines x ...
0
votes
3answers
24 views

How do I change the path that is being searched for launching an application?

I am trying to launch the D programming language compiler DMD, but the terminal is giving the following error: dmd: failed to launch executable at /Library/Compilers/dmd2/osx/bin/dmd But there's ...