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

Use shell wildcard OR with diskutil

I have the following terminal command, which matches volumes called A001R45R, A123R45R, etc. diskutil eraseVolume HFS+ FreshMag /Volumes/*R45R But I also want it to match volumes called B001R4G5, ...
0
votes
2answers
53 views

Terminal: how to make tab notify somehow when new text received

I'm familiar with some Terminal's, like in Linux, that have an option to "flash" or "change color" the tab's title text, whenever new text is "displayed" on that screen (for instance, tailing a file). ...
0
votes
2answers
383 views

Any Pdfinfo -terminal tool in OS X?

I am trying to find any default tool in OS X by which you can see in Terminal the encodinf of a pdf file. You can do this visually by clicking info on the file. For instance, such files which have ...
0
votes
1answer
152 views

How to get the wi-fi connection status from terminal?

Sometimes, when waking up my mac, I get the message "Alert: No internet connection" on the Wi-Fi icon. I can solve it everytime by turning Wi-Fi off and on again. Is there a terminal command I can use ...
0
votes
1answer
68 views

todotxt color not working on iTerm2

Is anyone here using todotxt and iterm2? I'm having a weird issue. When using default terminal app in OSX, my todotxt color is working just fine. But when I switch to iterm2, the color is not ...
1
vote
1answer
404 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
62 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
2k 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
151 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
116 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
89 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
382 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
265 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
110 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
115 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
126 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
112 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
120 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
107 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
212 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
277 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
28 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
52 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
36 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
53 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
191 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, ...
0
votes
1answer
174 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
126 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
489 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
218 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
88 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 ...
6
votes
1answer
249 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
43 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
39 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
178 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
500 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
60 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
47 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
48 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
149 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
223 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
50 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
47 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
684 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
36 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
57 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
373 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
98 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
44 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
78 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!