A terminal is a hardware device used for entering data into and displaying information from a computer. Terminals were frequently used in the days of mainframe computers. Today, most operating systems offer text-based "terminal emulators", which replicate the functionality of a classical terminal, ...

learn more… | top users | synonyms

0
votes
0answers
18 views

spawning a new terminal in OSX Snow Leopard: why isn't it working properly?

I know I'm supposed to be able to type open -a Terminal . to get a new Terminal window running in the current directory. But it doesn't seem to work for me; I get this: Last login: Wed Aug 27 ...
1
vote
1answer
18 views

Terminal does not allow me to provide any input

Specifications: running OS X Version 10.9.4 on a mac. Problem: upon opening either terminal (or iTerminal) I get the following message: Last login: Wed Aug 27 07:45:03 on ttys000 login: ...
0
votes
0answers
7 views

Disable mouse reporting in a terminal session after tmux exits unexpectedly

I currently use iTerm2 and frequently SSH into remote servers and start a tmux session. On all of those servers, when SSH'ing into them, I automatically create a tmux config that enables mouse ...
0
votes
1answer
11 views

Opening standalone multiple tabs in gnome-terminal

I am trying to find a way to open multiple telnet session to multiple hosts with scripts. I thought of using gnome-terminal command with options to open tabs and execute the commands as follows, ...
0
votes
2answers
18 views

How to give '>' as parameter to terminal in python

I was wondering if you could help me with a problem: in python I've been trying to give '>' to the subprocess.Popen([]) or subprocess.call([]), but somehow it changes the way it is entered in the ...
0
votes
0answers
28 views

Ruby error on my Mac

I'm having issues with my Ruby on my iMac (early 2010). I have the preview of Mac OS X Yosemite installed, but I've had these issues like forever, so I can't imagine OS X being the error here. ...
0
votes
0answers
22 views

A good Linux terminal with automatical session restoring? [on hold]

I installed Ubuntu 14.04 (with Cinnamon) for working. But I really miss MacOS-style terminal which would store the opened tabs and paths. What I need from the program is the ability to save all opened ...
0
votes
1answer
15 views

Open gnome terminals programmatically with a script that requires a doublequote

I am trying to use a wrapper.sh script spawn separate terminals for a script that takes params in doublequotes, like so: #!/bin/bash gnome-terminal -e "./script.py -d "somevalueforscriptpy" $1" ...
0
votes
0answers
8 views

Python: How can I log Minicom Output in a File [closed]

I have a code for logging data, which includes NMEA and iwlist scan output, I want to log data about 3G modem which I obtain by using terminal program minicom, but all should be in the same loop, this ...
0
votes
0answers
20 views

ssh session immediately on starting xterm

What's the most elegant way to start an xterm window that, instead of opening a bash shell for the local computer and requires me to execute my ssh command manually, opens an ssh session for remote ...
1
vote
0answers
30 views

How to give each virtual terminal in GNU Screen it's own background color?

I have a dream: I want each virtual terminal within GNU Screen to have it's own unique background color. I think I can fake it in an .bashrc script that emits xterm control codes to set background ...
0
votes
0answers
23 views

Trying to delete locked files

I'm new to coding and the mac OS and I'm trying to delete a locked file under application support but I'm not sure what code I need to put into terminal in order to do that. If somebody could help, ...
0
votes
1answer
10 views

Why does cmd-r mess up Vim on the mac? What is it actually trying to do?

Run across this constantly since I'm a web developer, 'cmd-r' has the side effect of preventing the arrow keys from working in any mode, but I can't imagine that's the purpose and I haven't been able ...
0
votes
1answer
22 views

What is the garbage text that is being printed by wvdial in terminal?

When I dial using wvdial, sometimes it prints some garbage text into the terminal. This is not happening every time, but in the garbage text I can see some readable strings which is often irc ...
0
votes
0answers
16 views

ssh key works on terminal but not on git

I have my machine, with it's ssh key. the public key is on the git remote machine. I can easily connect to the Git machine with simple ssh threw terminal. The problem is when I perform a "git pull" ...
0
votes
0answers
10 views

Mac Terminal - Color Co-ordinated

I would like to create a couple of short cuts on my iMac which ssh on to my dev box and on to my prod box. I would like my dev connection to use the settings something similar to home-brew (green text ...
0
votes
1answer
29 views

Alias to connect to AWS instance via SSH not working

I made an alias to make it easier to connect to my AWS EC2 instance. Although there is an error. Here is the code in ~/.bash_profile: alias aws_connect=‘ssh -i /path/to/keyfile.pem ...
0
votes
3answers
34 views

Script to open customized terminal session

I'm not sure if the title got across what I want to do, but here it is: I am working on a python project that involves a lot of classes. I use Terminal Vim to do my editing. As you can Imagine, it ...
1
vote
2answers
36 views

Can I get the OSX's Animal name from the Terminal , instead of just the Version?

Other questions have discussed how to get the numeric name of the current OSX version, ie with "sw_vers -productVersion". However, I know of no way to get the animal word name, like Lion, Mavericks, ...
0
votes
1answer
21 views

Using cURL to retreive public IP for tmux config creates too many connections

I am currently using the command: curl icanhazip.com and the option set -g status-left ... in my tmux.conf to retrieve and display my public IP in status bar. This works great, although I am really ...
0
votes
0answers
19 views

How to set a default terminal in Linux Mint?

I am using linux mint, as my arch installation failed. I have two terminal emulators, one of them is just the default terminal, the second one is guake. I know the location of its run file, and i just ...
0
votes
0answers
9 views

Automator shell script that triggers opening gui apps

So I have a service, I want it to be running on startup. I thought I could use Automator. The problem is - that thing may need to open gui app, and that of course doesn't work. I'm running Vrome ...
0
votes
1answer
15 views

What is the name of the OS X command that generates ranges of values?

I came across an article some time ago that discussed obscure OS X terminal commands. One of the commands generated a range of characters using up to three values, from memory it went something like ...
0
votes
3answers
42 views

Howto start an application remotely, so that GUI is shown locally

This is a beginners question, I know... but I have searched and I'm getting frustrated. I know my way around Lunux pretty well, but I have never had to deal with XServer. Question 1: I SSH from OSX ...
0
votes
0answers
16 views

Abort Printing of Huge Amounts of Text in Terminal

This has happened to me in a variety of instances: Sometimes I accidentally copy/paste the wrong thing into vim, and then I have to wait around 10 minutes for it to print through all that text. I ...
0
votes
0answers
16 views

get current terminal display text from another terminal

I've started a job in a terminal that will print some data to the screen that I need. I know I should have used screen or told the terminal to log to a script but I did not. Also, I do not have the ...
0
votes
1answer
29 views

Terminal command for infinite execution of application

I tried almost every keyword on Google and still didn't came up with an answer. So hopefully one of you knows. What is the terminal command keep a application running after it fails or stopped ...
0
votes
0answers
44 views

android x86 4.4 RC2 will not connect to a Wi-Fi Network

Whenever I start my Android x86 4.4 RC2 (Installation not Virtual), I try to connect to the internet but it stays on "Turning on Wi-Fi" and the Wi-Fi button looks grayed out (not iOS but it's grayed ...
0
votes
1answer
48 views

What is the difference between copy and paste a file using command line terminal and GUI copy paste?

What is the difference between copy and paste a file using command line terminal and GUI copy paste ? Which one is fast ? I think both are same because of same program will execute in background . ...
0
votes
1answer
31 views

Prevent PuTTY from minimizing

I am using PuTTY to monitor a serial port spewing both binary data and ascii data at 1000000 baud. The binary characters are raw uint32_t bytes from sensor values and are essentially random. When ...
0
votes
2answers
46 views

In tmux, can I get `exit` to exit the containing terminal window and not the session itself?

So when I open a new terminal (I use terminator on Arch Linux), I have it configured to either open a new tmux session if one doesn't exist, or attach to an existing one. When I type exit at the ...
0
votes
1answer
22 views

Vim 7.4 puts current line at top of window split when moving cursor between buffers

I have a split window with two buffers visible, and the top one is active and maximized using CTRL+w, UNDERSCORE (i.e., SHIFT+Minus). I put the cursor in the middle of the visible buffer, or at the ...
5
votes
1answer
352 views

How can I perform a second grep on the files returned from a previous grep?

I often find myself searching through a bunch of code using grep in order to pin down what I'm looking for. Sometimes I get a list of files a little longer than I hoped. At this point I want to ...
0
votes
2answers
32 views

Delete Directories that Contain Specified File in Mac OS X

How do I delete a folder that contains a file or folder with a specific name? E.g. I want to delete all folders that contain the file "things.txt": /dirA/ /dirB/things.txt /dirC/ /dirD/things.txt ...
1
vote
0answers
32 views

See if Mac OS X has enabled hyperthreading?

There is a way of disabling hyperthreading on Mac OS X: How to disable HyperThreading on Mac OS X Lion? Is there a Terminal command of seeing whether Mac OS X has hyperthreading enabled?
2
votes
1answer
53 views

Terminal that supports select-to-copy right click to paste

I wish to have select-to-copy and right click to paste in a terminal. Gnome terminal doesn't support this out of the box I think so I guess I am going to have to find a different terminal. Everything ...
1
vote
2answers
37 views

Choose which binary is default binary on Mac OS X Mavericks

I have installed the latest SVN 1.8 via homebrew on my Mac. However now If I run svn --version I get back that I have 1.7. Next thinng I run which -a svn which then shows me I have it twice: ...
0
votes
2answers
48 views

What is the Linux terminal ctrl+c to exit a running program in a Mac terminal

In Linux terminal if I run a command like: $ node httserver.js The command runs and by doing ctrl + c the program is terminated and new line comes in terminal for us to enter a command. I felt cmd ...
0
votes
1answer
21 views

OS X: 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 ...
1
vote
1answer
26 views

Unable to start PHP Server in linux command line

I tried php -s localhost:4444 WebContent/ But my ubuntu terminal gives Usage: php [options] [-f] [--] [args...]
1
vote
0answers
16 views

Better line breaking in terminal?

I am not sure if my request is valid, doable or better than the default option, but I'll give it a shot anyway. Word-wrapping in a terminal usually bothers me, since it wraps in the middle of the ...
0
votes
0answers
23 views

Trying to change Default Terminal Home/Path, getting 'eDSAttributeNotFound' error

Found this nice tutorial here on how to change your default path in terminal via stackoverflow. Steps followed: become root with sudo su -. Now fire up dscl by typing dscl localhost. Inside dscl, ...
1
vote
2answers
68 views

Terminal Command Colors

I like to have a really beatiful console style. I use zsh and I have changed my theme to "agnoster" See it under: oh-my-zsh My problem is that I do not have OS X and iTerm2 but I want to have these ...
0
votes
1answer
29 views

Get WiFi router information in Linux terminal

What Linux terminal commands can help me gather information about all WiFi routers my laptop can detect? I mean things like name, channel, encryption type etc. (Linux, Debian)
1
vote
3answers
52 views

cat clipboard text into a terminal?

I have text in the clipboard. I want to cat it in a terminal a pipe it into another command. The exact use case is a PEM encoded X509 certificate on a website presented as text (-----BEGIN ...
0
votes
2answers
48 views

Crazy terminal behavior

I am trying to run a script to rip all the audio from a bunch of MP4 files. Everything works when I do it line by line cutting and pasting from my text editor into terminal, but when I create a shell ...
0
votes
1answer
19 views

diff of two folders excuding file types with OS X command line

I found diff -rq folder1 folder2 however, being an OS X user you get the lovely hidden files like .DS_Store just clouding up the results in the terminal. So, I really don't care about those files. ...
0
votes
0answers
45 views

Entered wrong .bash_profile and now my laptop is running hot

I am just learning how to use the command line and was editing the bash prompt setting in .bash_profile. I made an error in the prompt settings in .bash_profile and I lost the prompt and the ability ...
-1
votes
0answers
26 views

Missing xterm-256color and screen256-color entries in terminfo

The results are confusing when searching for xterm-256-color and screen-256-color in terminfo. Looking for xterm-256color, i get xterm+256color. What's the difference between the two, one with "-" ...
2
votes
1answer
27 views

Emacs theme uses different colours in terminal

I made a theme for Emacs 24, using deftheme, based off something I generated with 4bit, with a theme structure loosely based on the built-in tango theme. In the screenshot below, you can see emacs ...