The terminal emulator included in Mac OS X.

learn more… | top users | synonyms

0
votes
0answers
7 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
0answers
14 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
28 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
26 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
38 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
0answers
2 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
26 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
30 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
36 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
51 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
23 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
29 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
62 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
28 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
336 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
2answers
60 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 ...
0
votes
0answers
168 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
42 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
99 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
54 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 ...
0
votes
0answers
36 views

Terminal program for macintosh osx that can display 80x24 characters in full screen?

Is it possible to get the Terminal app in Macintosh OS X to display 80x24 characters while in full screen mode? I have been fiddling with different font sizes and character spacings but never been ...
0
votes
1answer
282 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
79 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
39 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
38 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
88 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
197 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/ ...
0
votes
0answers
52 views

More than one UserEventAgents

Recently I was checking my processes network usage in Mountain Lion using "nettop d". I noticed something odd. I always have two UserEventAgents in my nettop list with different pids. And there is of ...
2
votes
1answer
682 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 ...
1
vote
4answers
153 views

How to move only files with other equal filename but different extension in the folder

I have a lot of folders, some with mp3 files only, others with m4a files only, other with files of both extensions. I need to identify which folders have files in both extensions, then move the mp3 ...
0
votes
3answers
38 views

Is it possible to set terminal to open at login on a mac?

After taking a computer architecture class, I noticed I've been using my trackpad less and less and instead relying more on keyboard input to open, edit, create files, folders etc. But I have to ...
0
votes
1answer
40 views

iTerm2: fix for choppy/jumpy cursor movement?

I just started using iTerm2 and I'm loving it, except that cursor movement is smoother on the Terminal.app that comes with OSX. I have my key-repeat speed pretty high, which makes it more noticeable. ...
0
votes
2answers
65 views

Redirect a cat command when using wildcards as input

I have the following command that takes a certain part of a file in the current directory, writes it to a temporary file, gets a part of another file one directory up, writes it to a temporary file ...
0
votes
1answer
1k views

Save a remote server (ssh) connection including password on Mac Terminal

Can I save an SSH connection similar to the answer to this question but including the password?
0
votes
0answers
265 views

Highlight 'Cursor' in Vim using Terminal.app

When I'm using Vim in Terminal.app it becomes very hard to se the characters under the cursor. In Terminal.app I can only specify the cursor color but not the color of cursor text like in Iterm2 for ...
3
votes
3answers
160 views

Mac OS X Terminal - Naming SSH Connections?

The short question is that I'd like to know if it is possible to give ssh connections 'friendly' names in terminal? My long reasoning is... I've got several server clusters running behind a single ...
0
votes
0answers
21 views

Why did my terminal suddenly contract?

I logged on to my account and was surprised to see something weird with my terminal: What's going on?
5
votes
1answer
2k views

ip command in Mac OS X terminal

I use the command ip link in Linux. Now I want it on Mac OS X, but the Mac OS X terminal doesn't have ip. What should I use instead?
1
vote
1answer
307 views

Keystrokes and commands for my inputrc — key-combination for “Shift-Space”, remap “Ctrl-PageUp/PageDown” to something without Page-keys

I need to add some things to my inputrc. I'm using bash 4, as OS I'm using debian and OSX. My terminal emulators are rxvt-unicode-256 on debian and Terminal.app on OSX. My new macbook has no ...
6
votes
3answers
254 views

How to identify the terminal from a script?

And don't say "$TERM" – it's always xterm. How can a bash script tell what terminal it's running in, specifically whether it's iTerm, Terminal.app, or actually an xterm? I ask because reset does not ...
4
votes
1answer
1k views

Disabling AppNap for Terminal

How do I disable AppNap for Terminal? Get Info on Terminal does not have Prevent App Nap check box An alternative is to turn the NSAppSleepDisabled flag on, but will it actually work? $ defaults ...
1
vote
1answer
152 views

Tab title is wrong with ssh/screen on osx

I am doing ssh -t host screen -D -RR in OS X (10.9) terminal tabs. My ~/.screenrc is identical on all remote hosts and contain the following line: hardstatus string "%H(%n:%t)$USER %h" My ...
2
votes
1answer
108 views

time command - output to a file

comamnd line: time myprocess outputs its results: OUTPUT FROM MY PROCESS real 0m1.954s user 0m0.086s sys 0m0.052s But if I do time myprocess > outputfile.txt my outputFiel.txt ...
0
votes
1answer
44 views

How to set OS X to open several Terminal instances that start at different screen locations?

Whenever I start a workday I need to open 4 terminal sessions (not tabbed), and move these to the four corners of my screen. I would like to use something like Automator to do this automatically ...
0
votes
2answers
100 views

Change the size of OS X terminal using keyboard

When typing in a terminal on OS X, I'd like a way to resize the window I'm typing in without taking my hands off the keyboard. Is there an easy way to do this? If not, any ideas for hacks?
0
votes
2answers
164 views

How to move back a word in OS X Terminal?

If I ssh into a Linux box I can move back a word in the CLI using OptionBackspace. Is there a way I can do this in the Mac's Terminal? Every time I press OptionBackspace, [D returns.
5
votes
1answer
3k views

Undo OS X terminal window split

I constantly split my terminal windows accidentally by pressing Cmd+D (it's so close to Cmd+F). I have no idea how to undo this. Any ideas?
2
votes
2answers
320 views

Recursively zip files into .cbz-files based on folder in command line

I'm trying to figure out how to write a script to automate creating .cbz files from images in folders on OSX. My directory tree will look like this: /toplevel/ cbz/ comics/ Comic1/ ...
0
votes
2answers
62 views

Can dumping binary data in terminal be considered dangerous?

I am thinking of a scenario where unknown stream of data is printed to a terminal, isn't it so that some sequences of characters may be interpreted as commands and corrupt the system state? Or the ...