The terminal emulator included in Mac OS X.

learn more… | top users | synonyms

2
votes
1answer
35 views

How to fix files and directories in Mac terminal from being inverted?

I recently was going through some directories and realized that my files/directories are inverted as opposed to being alphabetic from top to bottom. As the terminal is after an ls -al: Public ...
0
votes
0answers
21 views

MAC OSX Terminal (TERM)

I am using debian wheezy, I installed mysql but when I login to mysql using command mysql -u root -p and then after typing my password, I don't see any output. According to log file I am successfully ...
0
votes
2answers
35 views

understanding the -R flag and * in rm commands

When using the rm command in OS X 10.9 I accidentally deleted an entire disk. As I understand the command I used: sudo rm -Rfv /Volumes/Disk/AppName\!\ Whatever\ X.app/Contents/Resources/* ...
0
votes
1answer
16 views

How do I remove SSHFS's Terminal library?

I installed OS X FUSE and SSHFS from the official site. Now whenever I type in ssh xxx@xxx.xx, the terminal window is different. Some folders are blue and the window is different; it's not the way it ...
1
vote
2answers
21 views

How do I to modify Automator Service ditto command?

Using and Automator Service and an AppleScript that is redly available and exists on this thread of but a "GUI" around ditto. The solution works well, however, I am not getting the behavior I ...
0
votes
0answers
15 views

OS X: let scutil use stored secret when connecting L2TP VPN

This is a follow-up question of Start configured VPN from command line (OSX). I tried the answer by @encoded, which suggests the following command: scutil --nc start ...
0
votes
0answers
17 views

OS X terminal.app selection color when window inactive

I am using a solarized color scheme in terminal.app. When I select text it looks great, and I am able to change the color of the selection in the preferences. But when I move focus to another ...
0
votes
1answer
24 views

How can I stop Drobox sync during the day and automatically start at night

I'm trying to stop the Dropbox daemon from running during the day. I'd like to start it and perform a sync around 6 pm daily. I'm running Mac OS X Yosemite 10.10 on an iMac 27'.
1
vote
0answers
26 views

How to display github emoji codes in Mac Terminal?

I want to display emoji codes from http://www.emoji-cheat-sheet.com/ (e.g. :+1: ) inside github commit messages when doing git log. I use Mac Terminal app.
1
vote
2answers
45 views

Changing the default action when clicking on links in Terminal.app

Previously I've been able to open links just by clicking them on Terminal.app. After updating my OSX, the terminal now gives Quick Look as default option for links. Is there any way to disable Quick ...
1
vote
2answers
42 views

Awk to merge two files using hash

I have two files of the same length, and I want to swap out one files 3 columns with another file's contents. I want to print the following: f1Col1 f1Col2 f1Col3 f1Col4 f1Col5 f1Col6 f2Col1 f2Col2 ...
0
votes
2answers
45 views

Redirect stderr to second terminal / tty

I've tried things like rse to differentiate standard-output and standard-error streams from a program; but I'd really like the option of viewing the two in separate terminals, without redirecting to a ...
-1
votes
1answer
96 views

Mac Command Line Open PDF to Specific Page

The goal is to use command line to open a PDF file to a specific page. The more general question is how do I find out what args are available for any given app? I am able to open a pdf file in Mac OS ...
0
votes
1answer
27 views

Doubled terminal emulation sessions renders foreground and background of characters the same color from the destination

I have some no graphics card (“headless”) server that I have to operate via the serial port as the console to install Linux, VMware, and other OSes. For a terminal server I use a Linux box with a USB ...
0
votes
1answer
46 views

How to close open (20+) notification windows from terminal or disable HP Alerts?

For some strange reason an app called “HP Alerts” filled my screen overnight with notification windows telling me one of my inkjet cartridges are low on ink. I have now disabled these notifications ...
0
votes
1answer
19 views

print names of files in folder from path in terminal

I was making a program and want to see all the items in a folder by giving it the path. my program uses the terminal so the commands are the same. something along the lines of echo ...
0
votes
1answer
109 views

OS X command to make current terminal window full screen

I am trying to make a bash script to open up my working environment. I want 1) Open up Terminal.app and type a command like "time_to_work" 2) This command will: a. open up sublime text open ...
0
votes
2answers
72 views

Does closure of Terminal stop remote script execution?

I have NAS (running Linux) and Macbook. What if I start the OSX Terminal application, connect to my NAS thru telnet and execute there some script: python myscript.py > log.txt Will it continue ...
1
vote
1answer
283 views

How to mount/unmount webdav server directory using Terminal

I use OS X 10.10.1 and I want to mount a HTTPS webdav server directory as a volume on my local machine using Terminal. I found this utility -- mount_webdav -- which seems to work - I created a ...
0
votes
0answers
46 views

OSX Terminal Command for Detecting a Language

I am aware that OSX can detect a language as part of it spell checking. Is there a terminal command for doing this? So far I have found file which reports the language of file but it doesn't seem ...
1
vote
2answers
43 views

Make perl regex search exit with failure if not found

With grep I get a failure return code/exit status if no result is found. How can I do the same thing with perl? Basically, I would like to change the following so that it exits with status 1 if no ...
0
votes
0answers
22 views

How would I enable 'full duplex' MTU?

How would I enable full duplex 4078MTU in my MacBook Pro 2011 i7 2.8GHz? Is this possible to do? fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078 lladdr ...
0
votes
1answer
31 views

OS X terminal eating the shift key

I'm switching from iTerm 2 to the stock OS X 10.8.5 terminal (work policy, iTerm isn't on the approved software list). In my tmux configuration, I've mapped shift-left and shift-right to change ...
1
vote
1answer
2k views

How would I restart Apache using the Terminal in Mac OS X?

This is what I’ve done but I’m really new to terminal: Jeremys-MacBook-Pro-2:~ jeremyoconnor$ apachectl restart This operation requires root.
0
votes
1answer
58 views

pstopdf mac terminal width and height options

Are there any options which set width and height of outcome document of pstopdf command in terminal? I've used a2ps command to convert my Java code files into .ps file, now I want to convert .ps file ...
1
vote
0answers
195 views

Midnight Commander function keys not working

I'm using Midnight Commander in a Mac Terminal. I'm using PC keyboard, so function keys work as F1-F12 keys, but they don't work in MC. I tested what character sequence is sent with each function key ...
0
votes
1answer
15 views

Mac Terminal Foreign Host-Name

When I was recently connected to a coffee shop wireless network using Terminal for some coding I saw a foreign "preface" (if that is the right word) before my username. Rather than Normal_Name:~ ...
1
vote
1answer
71 views

Mac command-line sort files into subfolders

I want to run a command on a very large folder to sort every item into subfolders based on modification date. Can this be done with one line? I.e., all files modified in July 2013 would be moved to ...
2
votes
1answer
43 views

How To Login To Terminal (OSX) Without Quitting Or Closing Window

I like to keep my windows open on my work machine so when I arrive in the mornings, I don't have to go through the process of opening them all again; and opening all my files. I can pick up where I ...
1
vote
1answer
621 views

MySQL in OS X Terminal.app — how to exit mysql command prompt but continue using the Terminal?

I type mysql and enter the mysql command prompt (denoted ~mysql) (I have ohmyzsh installed also). But I can't seem to do anything within it. No commands work. To exit, I type 'exit', and get [Process ...
0
votes
0answers
84 views

Localhost on Mac causing system-wide problems?

I had some trouble with my 2013 MBP bogging down this summer (apple wasn't sure why...too many chrome tabs or filesystem corruption. in any event a complete reinstall fixed it). I've been doing web ...
0
votes
1answer
33 views

Setting Terminal tab to current directory and program running

How can I make the terminal tab display <name of process running (vim, bash, ruby, etc)> - <parent directory/current directory>?
3
votes
0answers
19 views

Terminal file find location [duplicate]

I am using a mac terminal (.command) file to launch a Python program. My question is, how can I find the location of the .command file when I am inside of the .command file. Thank you.
0
votes
0answers
45 views

Run command on startup (Mac OS X)

I need to run the command: sudo apachectl stop So that my database web server can handle incoming requests instead of the Apple server. However, this does not survive a restart. I tried setting up ...
0
votes
1answer
124 views

Vim starts with beginning of a “change” command

I'm having an issue with vim startup. Whenever I run vim somefile, it starts as though I pressed c just after startup. So, if I then try to immediately jump to the end of the file with G, it instead ...
0
votes
0answers
49 views

Move Mac Terminal tab to right/left

Is there a way to set a keyboard shortcut to move a tab in OSX Terminal app to the left or right (note that I'm not asking for a shortcut to move to the tab to the right or left but to move the tab ...
3
votes
3answers
1k views

OS X Find and RM recursively through folders with spaces in the names?

WD My Cloud NAS added hidden .wdmc folders to every folder with a jpg without notifying or asking me first. There are many hundreds on my NAS drive. It has something to do with their media server ...
0
votes
1answer
32 views

Copying only files without a special string in filename

I have to copy only files from a folder that don't have following string in its filename: NNNNxNNNN (a 3 or 4 digit number followed by the character x followed by a 3 or 4 digit number again -> it's ...
0
votes
2answers
69 views

Mac OSX Terminal: Copy Window Contents

I am running a java script, which has some text output. I'd like to copy/paste that output. If I do ⌘-A, it copies everything that's been typed that session, even if I typed clear beforehand. How can ...
1
vote
0answers
431 views

When opening Terminal: “NO LOGINS: System going down at 01:10”

I'm trying to get a terminal open, and I get this message: NO LOGINS: System going down at 01:10 Login incorrect login: *myname* Login incorrect login: It doesn't prompt for my password. This ...
0
votes
1answer
154 views

Cancelling shutdown -h command on Mac

I usually use the command sudo shutdown -h +60 from the Terminal on my Mac. Although I'd like sometime to cancel the scheduled shutdown or postpone it. Is there a command to do so? If yes, how?
1
vote
0answers
124 views

Need to reset OS X terminal AFTER logging out of Ubuntu (ssh + zsh)

I have a problem I cannot understand, and cannot debug for the life of me. I run Mac OS X 10.9.2 (latest) and use Terminal.app and zsh as my shell. A server I work remotely on runs Ubuntu 13.04 and ...
2
votes
0answers
69 views

OSX text-to-speech: key words are badly synthetise in French. How to overcome?

OSX has a great Text to Speech (TTS) feature, but I noticed some limitations. I set OSX 10.9.2 in French with French TTS voices. The words "pages", "user", and pseudo-word "fire" for example are not ...
1
vote
1answer
645 views

Setting custom (Powerline) fonts in the default OSX Terminal app

I was able to set a custom font in Iterm 2 by setting the Non-ASCII option in Iterm's setting. I was not able to find a similar option in the default Mac OS Terminal. How can I do this for Mac OS ...
0
votes
3answers
103 views

Cannot save the output from a unix executable

I am attempting to save the output of an application I wrote. When I try to save the output by redirecting stdout the file that it results in is blank. This is what I am typing into Terminal.app (OS ...
0
votes
1answer
47 views

execute Shortcut on terminal mac os x

I have an application on another mac as mine, the software is still open, there are keyboard shortcuts that allow to perform tasks, I would like to execute shortcuts via the terminal from my mac.
0
votes
1answer
87 views

How can I launch a new Terminal in OSX with a specified profile from the command line?

I found the same question and a strong answer on SO: http://stackoverflow.com/q/4404242/147265 I'm looking to launch new terminals from the CLI in a different profile than my default. My current ...
0
votes
0answers
130 views

Mac OS X Terminal Error: undefined method `grep'

Every time I enter a command, or even just hit enter, in Terminal I get this line below the output: -e:1:in `<main>': undefined method `grep' for #<String:0x007feea31354b8> ...
1
vote
1answer
291 views

How do i unzip files from a nested folder?

Say i have the following .zip file: ZipFile.zip /zipfolder/ this.file that.file theother.file When i try: unzip ~/path/to/my/ZipFile.zip -d ~/path/to/my/destination/ ...
2
votes
1answer
1k views

Open terminal app with multiple ssh tabs

I work on a Mac with Lion (10.7.5). I want to create a clickable desktop shortcut that will open the terminal app with multiple tabs where each tab is an ssh session to a remote machine. What is the ...