questions narrowly about terminal.app alone should use this tag. Please consider using **command-line** for any question not specifically about the native terminal app

learn more… | top users | synonyms

6
votes
0answers
285 views

Issues with Unicode symbols in some applications running in Terminal.app and iTerm2

Darwin DeoGloria 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64 Fresh user account. Terminal.app and iTerm2 with UTF-8 set. Accented ...
5
votes
0answers
917 views

Typing >console in username box—nothing shows up until cancelled

When I type >console into the username box on the login screen, the computer seems to freeze for a very long time. Then I press ^C^C^C^C^D^C^D^D^D^C^D and eventually the computer unfreezes—but ...
4
votes
0answers
146 views

How to Change default fallback font (for non-latin languages)

System: iMac running El Capitan 10.11.1. My question is: How do I change the default fallback font for Thai (or any non-latin language for that matter) so that the terminal app shows the Thai font of ...
4
votes
0answers
58 views

Terminal prompt 'saving' certain commands on up-arrow

I added a little bit of shell scripting to my prompt for fun. It alternates the colors of prompt items randomly. I did it purely because a gray screen gets boring after awhile. The following is my ...
4
votes
0answers
281 views

How to find out process owner of unidentified windows?

I have an odd error that I have not been able to associate with an application or PID properly. In Windows, there is Process Explorer with the very handy target function that allows you to click it ...
4
votes
0answers
306 views

How to disable “changing a repeating event” dialog in Mac calendar?

I have a number of repeating events in Calendar (formerly iCal). I often make changes to individual ones on-the-go, but every time it asks me this: Is there a way that I can make the default ...
4
votes
0answers
997 views

Why does my Terminal window close automatically?

I need to use my Terminal window on a MacBook Air but it closes about 10 seconds after I open it. Is there a setting or is it possible another program is causing it to close? If I type quickly I can ...
3
votes
0answers
137 views

Issues with files and folders with names containing umlauts

I have just noticed some issues browsing my external music collection using Finder, certain artists folders were missing. Going to iTerm and lsing the folder I got this as the initial report: ls ...
3
votes
0answers
48 views

Unable to start app built manually

I have create an application APP-py3.app stored in /Applications. The APP-py3.app contains the following files [F] and directories [D]: Contents [D]: Info.plist [F] MacOS [D]: script [F with ...
3
votes
0answers
506 views

rbenv not overriding default Ruby version

I used the thoughtbot laptop script to setup a new Macbook Air (OSX 10.10.5), but when I navigate within a Rails project that contains a .ruby-version file, running commands such as rails s returns an ...
3
votes
0answers
1k views

How to enable true color mode in an OS X Terminal?

NeoVim recently added support for True Color mode in terminals that support it. I've tried both Terminal 2.5.3 (343.7) and iTerm 2.1.1, and neither one can display more than 256 colors by default. ...
3
votes
0answers
94 views

Tmux hampers osascripts display notification

I like to show notifications from scripts using osascript -e 'display notification "Some text"'. This works fine from the plain shell but it stop working when in tmux. It just doesn't show the ...
3
votes
0answers
105 views

Why is the diagnostic message history not writable as normal user?

When I use normally the OS as a plain user I get frequent console messages like: 20/05/14 08:21:28,194 SubmitDiagInfo[5376]: Launched to submit Diagnostics and Usage 20/05/14 08:21:28,735 ...
3
votes
0answers
55 views

Raw binary midi stream in terminal?

I want to be able to cat the device file of a raw binary input stream from a midi controller. In Ubuntu, the process to do this was something like cat /dev/dmmidi1. However, I do not see such a file ...
3
votes
0answers
235 views

Can I use the Terminal to find all OpenMeta tags on my system?

I know that there are apps that can do this, so I figure it must be possible: I'd like to compile a list of every OpenMeta tag that I've used on my Mac (OS X 10.8.3). But here's the rub: I'd ideally ...
2
votes
0answers
29 views

What are the different OS X clipboards

Everybody uses the general OS X clipboard, which can programmatically accessed with pbcopy -general and pbpaste -general. However I noticed that the manpage of pbcopy and pbpaste also mention: -find ...
2
votes
0answers
33 views

Open applications in the background in OS X, I don't want my focus taken from me. Respect my Focus!

I'm running El Capitan 10.11.4 on a 2014 Mac Mini. I'm often running 10-14 apps at one time as I work writing reports, word/excel/Adobe/Safari/iTunes/calendar/etc... Frequently I want to open ...
2
votes
0answers
28 views

Quicklook for fullscreen terminal

I recently realized you can use quicklook from the command line. Here's the example: qlmanage -p somefile.txt >& /dev/null & When this command is invoked quicklook opens its popup *in a ...
2
votes
0answers
95 views

What processes are used by DRM?

Whenever some content is DRM-protected, screenshots of such content are masked. Even using Terminal does not avoid such problems. Which processes in ps ax are used by DRM that is implemented by ...
2
votes
0answers
51 views

How to customize drag-n-drop-to-Terminal path escaping results?

How can I change the way in which filenames are escaped (formatted) when dragged from applications and dropped into Terminal? For example, paths may be escaped with \, just spaces (), or other ...
2
votes
0answers
49 views

Terminal Change text appear area to bottom right

I want my terminal to have the prompt lines (I don't know what to call them) come from the bottom of the terminal window, and be fixed to the right of the screen, not the left. Is there any way to ...
2
votes
0answers
76 views

Terminal hangs when title includes unreachable NFS path

[Edit: reframing to make the question more clear] I use the Mac Terminal to access remote linux systems. On the Mac, the bash prompt is set by: PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}\...
2
votes
0answers
285 views

Command line tool for interacting with Bluetooth Low Energy devices, similar to gatttool

I've just found out that some Python code I've got working on Linux also needs to work on OSX. For reliability reasons, on Linux I've been using a cludgy but effective approach to reading and writing ...
2
votes
0answers
38 views

terminal aborts when process finishes running with non-zero return value

My terminal is aborting when it encounters CTRL-Z: Last login: Thu Aug 13 11:13:51 on ttys000 mymac:~ snowch$ sleep 10 ^Z [1]+ Stopped sleep 10 [Process completed] Sometimes I don'...
2
votes
0answers
1k views

Terminal Failing to login

Suddenly, when I attempted to create a new terminal window, it fails. It does nothing for about a minute then shows only this: Login incorrect login: Typing in my username doesn't work. I get the ...
2
votes
0answers
42 views

Terminal: disable printing/output of keyboard commands

I have the same problem as this person – I am running a C script and somehow when I pass the EOF signal with Ctrl+D, ^D gets printed to the console. My question is therefore: is it possible to ...
2
votes
0answers
56 views

Limiting TCP connections

How can I limit TCP connections on Mac using Terminal? I used iptables on Linux (eOS) to limit the connections of an application (Ace Stream Player) as follows: $iptables -A OUTPUT -m limit --limit ...
2
votes
0answers
138 views

Is there a voice-activated command prompt?

I injured a hand six weeks ago, and, being a programmer/sysadmin, I'm looking into ways to control a Terminal application using my voice (or, I suppose more broadly, not using my left hand). I am ...
2
votes
0answers
874 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 ...
2
votes
0answers
89 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
0answers
46 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 ...
2
votes
0answers
160 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 ...
2
votes
0answers
815 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 ...
2
votes
0answers
426 views

ssh asks for passphrase not keychain password after locking keychain

I'm using Yosemite and store the ssh passphrase in a separate keychain (not the login keychain). This all works fine as long as the keychain is unlocked. When I lock the keychain, I expected ssh to ...
2
votes
0answers
3k views

Is there a way to clean up possibly invalid disks that only show up on Mac OS Recovery through ‘diskutil list’ in Terminal? Does Recovery use them?

Hopefully that question is clear enough, and hopefully this is just me being silly. When I boot into the Recovery Partition, go into Terminal, and run 'diskutil list', I get quite a few tiny and ...
2
votes
0answers
372 views

SSH to device via USB

When I try to SSH over USB to my device running linux, I get "ssh: connect to host 10.90.1.2 port 22: Network is unreachable" Mind you, I can run the same command "ssh root@10.90.1.2" on my linux ...
2
votes
0answers
174 views

MacVim: difference in syntax highlighting in terminal and GUI

I installed MacVim with homebrew, and specified the option to override system vim. It can be confirmed by looking at the version of vim in terminal. However, I don't understand why the terminal (mac)...
2
votes
0answers
389 views

How to make files safe so users can download and OS will not quarantine them?

I work with Axure software that generates dynamic and navigable prototypes in HTML. Once they are done I need to send a ZIP file of those HTML files to clients via e-mail or any download internal ...
2
votes
0answers
399 views

Iterm2 - Export a single profile's settings for distribution to others

I've been getting used to working with Iterm2 over the past few weeks. I have a very specific profile configuration requirement for a legacy business application. The configuration for the profile ...
2
votes
0answers
79 views

OS X / Finder - Right Click “New Folder with Selection” - how to Increase the Animation Effect Speed?

10.9.x Finder The effect that pulls all the selected items into a new folder from the right click "New Folder with Selection" is really nice, but way too slow for me. Anyone know a terminal command ...
2
votes
0answers
254 views

how to turn off rotating cube animation upon user switch?

How to turn off rotating cube animation upon user switch? I apparently need to pad out this qwuestion, so i will add that it makes me dizzy thank you!
2
votes
0answers
105 views

How to manually start a service without having a controlling terminal?

I maintain an application that runs as a background service, started either on boot as a StartupItem or manually from the command line. I want to know how to launch it manually without having a ...
2
votes
0answers
69 views

“l/” in shell creates a whitespace

Whenever I type l/ in terminal on OS X (Mavericks), it replaces it with a blank space. I can't seem to find any relevant problems or fixes on Google and I have no idea why this happens. For example, ...
2
votes
0answers
111 views

Activity Monitor confusion

I have two java programs that run forever until I terminate the process, I start both at once using a script.... Cobrakai$more startCapture nohup startCaptureA.sh & nohup startCaptureB.sh & ...
2
votes
0answers
78 views

How to prevent OS X's 'screen' command from resizing the terminal upon entry?

I usually run my terminal sessions in 132 character wide mode in iTerm. However, when I start the 'screen' command, it re-sizes the terminal back to 80 characters. Is there a way to prevent this?
2
votes
0answers
224 views

How can I revoke an applications access to keychain passwords from the command-line?

Applications can be granted permanent unprompted access to passwords. You can add and revoke these privileges using the Keychain Access utility. (See this answer) I'd like to be able to revoke from ...
2
votes
0answers
668 views

Where does Transmission store logs for called scripts?

Transmission has an option to run a shell script when a file finishes downloading. I'm wondering where to look for logs for it – it seems like it only executes half of my script but can't figure out ...
2
votes
0answers
302 views

OS X breaks if I apply HFS compression to the whole volume. What do I need to exclude?

OS X breaks if I apply HFS compression to the whole volume. (It won't boot.) What do I need to exclude? I've been able to compress large parts of it, but then I had to restore after I compressed ...
2
votes
0answers
213 views

mdfind query on kMDItemFSTypeCode can't find some type codes

I just upgraded to a new MacBook with Lion, and having discovered that some of my old apps can't come with, I'm scouring my files for certain types that will need to be converted to future-proof ...
2
votes
0answers
458 views

Multi node cluster setup with home network for parallelized computing using e.g. hadoop, MPI or Rmpi

currently I am reading more and more about multi-core processing (threading) and parallel computing. So I was curious about how to use my 4-core processor to calculate parallelized algorithms using ...