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
vote
1answer
214 views

Can I safely run command-line apps in single-user mode?

Obviously fsck is pretty safe to run in single-user mode. I'm using gtypist to learn touch typing and would like to be able to run it in single user mode so that I don't have to load the whole OS just ...
3
votes
1answer
46 views

Mount command can not contain Chinese characters

I encounter a problem, I want to mount a shared remote directory, but the url has Chinese characters. mount_smbfs //user:password@192.168.1.168/图片 /Volumes/picture 图片 are Chinese characters, ...
3
votes
2answers
575 views

How do I stop a particular service from running?

I had previously installed an app for syncing my Android phone with my Mac. I deleted the application, however, today when I checked the system logs, I found out that its running every 10 seconds. How ...
1
vote
1answer
73 views

running emacs on a terminal: problem with meta-key

I am on Mavericks and I am running emacs 24.4.1, but I have the same problem also with 22.1.1. When I open mac on a terminal on the remote host, it does not recognise option key (alt) like the meta ...
0
votes
0answers
63 views

Are copies using rsync faster than using Finder?

So - I have a question about using rsync in Terminal. I need to move a Time Machine backup off of an external drive in order to reformat it. The 'backups' folder is nearly 300 GB. At first I tried to ...
0
votes
2answers
46 views

Apple terminal no home and end key - Use cmd left or cmd right

How do I make ⌘+← and ⌘+→ move the text cursor very left and right of the terminal entry line. This keyboard shortcut works on most things on my mac book but not the Terminal. Usually I use the home ...
0
votes
1answer
100 views

How to launch an iOS Simulator with Safari open using a single command?

I am looking for a solution to launch the iOS Simulator from command line with Safari launched by default. Launching the simulator from command line is easy. So is the launching of Safari. But I want ...
0
votes
2answers
62 views

Open terminal via AppleScript

I'm tring to write a shortcut script in spark for opening the terminal. on run {input, parameters} tell application "Utilities/Terminal" // tried Utilities:Terminal and Terminal too reopen ...
1
vote
1answer
53 views

Mailto links on websites open iTerm instead of Mail

In both Chrome and Safari mailto: links open up iTerm instead of Mail. This seemed to have started happening right around the same time I added a shortcut through Settings > Keyboard > Shortcuts > ...
0
votes
0answers
54 views

Help with Unix command in Apple Remote Desktop

I'm trying to remotely run a script in ARD on multiple machines at once. The problem is the script prompts the user to type in 'y' before running. I can't figure out how to answer the prompt when ...
0
votes
1answer
86 views

Folder with Question Mark On Startup, Don't Know the Firmware Password

So my buddy's macbook one day just booted up with a folder with a question mark in it. Its an old laptop from work, which he doesn't work at anymore. I've been trying to help him out, but I've ...
2
votes
2answers
81 views

Can't delete files from Trash

I'm trying to empty my trash, and it seems that I having some problem with encoding: MacKassner:501 kassner$ rm -Rf t/t/ rm: t/t//t: Directory not empty rm: t/t/: Directory not empty Ok then, let's ...
1
vote
0answers
70 views

Problems with a simple shell script

I've faced with the problem of using simple shell commands like AWK and print within my sh scripts on my Mac ( the same script works perfect on the Linux). For instance below script which seek for the ...
0
votes
0answers
67 views

Why am I getting command not found even though path to command exists in PATH variable?

On Mac OSX 10.10.1 I get command not found for anything installed in /usr/local/bin (however command is found if I use sudo) PATH variable contains this path. for example pip. Here are some lines from ...
2
votes
1answer
94 views

Access Keychain Access password generator (password assistant) via Terminal without the user interface

Is it possible to access, the "password assistant" also known as the password generator located inside the Keychain Access via terminal or otherwise? Steps to access in UI: Launch Keychain Access ...
0
votes
1answer
61 views

accessing Keychain Access from terminal - OSX

I am on OSX and using my terminal to access my Keychain Access. So I use this command security find-internet-password -a myaccount -s myservice -g and it works correctly but before I can get the ...
0
votes
0answers
12 views

how to check last time that OD Policy or MCX Refresh was run

Is there a method to get the date and time of the last OD policy update or MCXRefresh on a 10.6 or later Apple computer from the terminal?
0
votes
0answers
30 views

How Do I Override the Addition of the folder for the Server app version of PostgreSQL?

I am currently using RVM for managing different gemsets for different versions of Ruby. RVM has made changes where the RVM folders must be listed first or else I have to manually set the gemset each ...
2
votes
0answers
27 views

Traceroute Terminal vs Network Utility different?

Why would a Terminal traceroute #.#.#.# show different results than using Network Utility.app? Here is the first 3 hops. I am connected to PIA VPN but regardless both methods should show the same ...
2
votes
1answer
42 views

List hung processes in Terminal?

Is there any way to list only those processes which are hung, i.e., "not responding", in Terminal? The only way I know to do this is look in Activity Monitor for the ones in red.
0
votes
1answer
54 views

Create custom shortcuts and assign them to F keys

I recently migrated to OS X 10.10 from Ubuntu 14.04 (Linux). In Ubuntu, I could make any key of my keyboard do anything I liked. I used to have the F1, F2, and F3 keys set to function as the red, ...
5
votes
1answer
683 views

ssh -X does not work on Yosemite

Can no longer use X11 with ssh. Have XQuartz2.7.7 installed. Logging in with X11 via ssh gives the warnings Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: ...
0
votes
1answer
77 views

After Installation of Yosemite some command line tools not found!

I just did a clean installation of 10.10. Now some command line tools won't work anymore. In example gshred is not found anymore (always worked on Lion) and man gpg gives "No manual entry for gpg". ...
1
vote
2answers
109 views

Why does my command line prompt now beging with “vpn”?

I was just (unsuccessfully) playing around with setting up a vpn in OS X Server, and now all my new terminal prompts begin with "vpn" followed by my user name. Anyone know why this is the case and how ...
0
votes
1answer
104 views

Using kdiff3 as default git diff viewer on Mac OS

I have kdiff3 installed on my Mac (Version 0.9.97, 64 bit). Here's my ~/.gitconfig: [filter "media"] required = true clean = git media clean %f smudge = git media smudge %f [user] ...
2
votes
3answers
139 views

Why are my command line utilities running so slowly on my Mac?

I have just noticed that command line utilities such as ls (/bin/ls), touch (/usr/bin/touch), cat (/bin/cat), etc. are very slow when I run them from Terminal or iTerm on my MacBook. For example: ...
0
votes
0answers
49 views

Urxvt on homebrew ignoring certain .Xdefaults and .Xresources settings

I have a .Xdefaults and a .Xresources that I use on my Linux setups that I want to also use on my OSX setup. However, the Urxvt I installed on homebrew is not picking up certain settings from both ...
4
votes
1answer
136 views

“Ghost text” in terminal, Yosemite + TotalTerminal (formerly Visor)

There's "ghostet text" in my terminal (see screenshot), and I'm hoping someone knows how to fix this… Turning background transpareny off fixes the problem, but it's not a solution which I'm a fan ...
1
vote
3answers
25 views

open <TAB> opening finder window

I use zsh. For some reason, with zsh, when I type open <TAB> (which should list the files to autocompletion), it opens Finder in the current folder. I don't have anything aliased for that. I ...
0
votes
2answers
27 views

File contents remains in terminal after exiting Vim?

I'm using the stock terminal with zsh and vim. After I exit vim, the file contents remains in the terminal. Ideally, only the previous history would be in the terminal when I exit vim (such as the ...
0
votes
1answer
46 views

Find all hidden “.idea” folders in system [duplicate]

I am using PHPStorm 8 for programming. PHPStorm automatically creates a hidden folder called ".idea", where all project-specifiy settings are stored. How am I able to find all these ".idea" folders ...
0
votes
1answer
177 views

How can I get rid of MacKeeper Helper on my mac's activity monitor

I have tried to quit, force quit and so many more things in Terminal and all over the place but it's still there. Thanks in advance for help
1
vote
2answers
36 views

Escape sequence in terminal or iTerm to jump to absolute column?

Is there an escape sequence which I can use to jump to an absolute column in OS X Yosemite Terminal or iTerm? In other words: echo 12345678901234567890 echo \StartAtColumn10 A10 \StartAtColumn2 B2 ...
1
vote
3answers
41 views

Turn off mail notification in terminal

I'm running some cron jobs on my machine and every time I fire up a terminal session I'm getting a 'You have mail.' message. Any way to turn this off?
1
vote
1answer
25 views

How can I redirect the output of screen to a file?

I'm trying to capture data from a Serial Port by opening 'screen' from the terminal. It works, I see the data coming but I can't figure out how to save it to a file. I tried to redirect the output of ...
0
votes
0answers
98 views

Page Up / Page Down - Changing scroll length on Yosemite

I have come to inquire about a terminal command to edit/change the amount of scroll length Yosemite does when page up or page down is pressed. For my knowledge, I think default value is one whole ...
2
votes
1answer
128 views

Move all contents from a folder to another with shell script

Why does this work? mv /Users/diogosaraiva/Music/Youtube/Novas/* /Users/diogosaraiva/Music/Youtube/Tratadas …but the commands below don't work? mv "/Users/diogosaraiva/Music/Youtube/Novas/*" ...
0
votes
0answers
42 views

Why can't I type 'e' in terminal?

It beeps when typing the lower case of e .Tried to change the VT100 mode, still doesn't work.
1
vote
2answers
42 views

How do I remove a directory that has a file with colon in it

I am trying to delete a directory with rm -rf however I keep getting the error Directory not empty. If I do an ls on the directory I see this message ls: HTML : CSS: No such file or directory. So it ...
3
votes
2answers
158 views

Creating System-Wide Keyboard Shortcut To Launch Applications

I recently switched from Ubuntu, and I was feeling very comfortable with using Ctrl + Alt + T to launch terminal. Can I assign Shift + Cmd + T to do the same thing in Yosemite? Specifically, I want a ...
2
votes
0answers
27 views

Terminal Quit menu item greyed out

I ran various commands in Terminal app, including calls to "open" from Midnight Commander (although, that might be completely unrelated) and suddenly it started to behave strangely. The cursor was ...
0
votes
1answer
39 views

AppleScript from Terminal unrar command

I would like to know if it's possible to make an AppleScript of the following terminal command(s). cd unrar e -r -o- *.rar && find ./ -name “*.r*” -delete Also, I would like to know if it's ...
2
votes
1answer
145 views

Get current path of Automator app

I am trying to create an Automator application which I will be distributing to other users on the network. The automator app will be accompanied by a ZIP file and a PKG installer file. I need to run ...
1
vote
1answer
93 views

Terminal highlight color changes when window is not targeted

I have a terminal profile in which I changed the highlight color (let's say, to green). I didn't like it so I changed it back to blue. Now, whenever I am targeting the window and I highlight, the ...
1
vote
0answers
24 views

How to disable a specific sensor within a .kext?

I have a Macbook Pro 13" Retina, mid 2014 with a "right palm sensor" that is malfunctioning. It thinks that the computer is overheating, and it therefore is causing the kernel_task to eat up 250% - ...
0
votes
3answers
65 views

What's the best way in terminal to move a file from deep in one directory to deep into another?

E.g. /desktop/a/b/c/file.txt and I want to move the text file to /desktop/x/y/z/ Thanks for any help!
1
vote
2answers
50 views

How can I get Terminal to accept mouse clicks the way PuTTY does (eg inside elinks)?

When running ncurses-based tools like elinks, PuTTY (for Windows) allows you to click on links. However, in Terminal, you need to navigate via keyboard. Is there a way to get Terminal to ...
0
votes
1answer
539 views

My Finder is not responding and there are no documents on Desktop after downloading OS X Yosemite

I've just upgraded my Macbook Pro (15 inch, mid 2009) to OS X Yosemite and it is running slowly and my Finder is not responding at all and none of my documents are on my Desktop. I have tried taking ...
1
vote
0answers
37 views

How can I customize the symlinks that MacPorts creates/deletes when using its `port select --set <group>` command?

I use MacPorts to manage certain *nix packages on my Mac. One such Mac has multiple Python versions installed. When I switch between Python versions, I use a command like: port select --set python ...
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 ...