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
3 views

Shortening bash prompt path in Linux mint with out loosing the color scheme?

I am using Linux mint 17,I have succeeded in shortening the length of characters in bash terminal.But the problem is when i shortened the length of terminal,it has lost its color scheme for displaying ...
0
votes
1answer
8 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
20 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
15 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
8 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
0answers
13 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
1answer
19 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
32 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
19 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
17 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
8 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
14 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
38 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
27 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
28 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
45 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
29 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
41 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
20 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
351 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
28 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
41 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
31 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
45 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
25 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
14 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
66 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
51 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
1answer
42 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
41 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
22 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
26 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 ...
0
votes
1answer
18 views

Launch screen terminals with set directory

How can I get my screen session to open different terminals in different directories on login? For example, In my .screenrc file I have the following: screen -t bash0 screen -t bash1 screen -t bash2 ...
0
votes
1answer
9 views

Create iTerm2 startup configuration

iTerm allows one to save a window arrangement, I'd like to know if (and then how) I can extend this facility to do the following: Save the name of each tab so that each tab in the restored window ...
1
vote
1answer
19 views

Show last 5 opened processes in terminal?

I am trying to have a terminal showing the last 5 processes opened. This is helpful for my debugging. At this point I have watch ps -ef --sort=start_time This works fine but it shows all processes ...
1
vote
0answers
12 views

Inconsistent terminal settings across directories

This is a bit hard to explain, but for some reason, when I cd to one specific directory in my file tree, the terminal and the displays within the terminal appear different only inside this directory. ...
0
votes
1answer
13 views

PHP in Debian Terminal not working with extensions

I have Debian 7 installed on my server with a standard LAMP stack and also Mongo DB. Mongo as well as other third party PHP extensions work correctly through apache. These extensions however do not ...
1
vote
0answers
21 views

Terminal across two Monitors

I have two 24" Monitors connect to my Ubuntu 14.04 LTS. For some purposes it would be helpful to maximize my Terminal over both Monitors as one big Window. I can drag a window larger with the mouse, ...
0
votes
1answer
53 views

Mac Terminal: Loop through subdirectories and optimise all images

I have a folder containing many subfolders full of images. See attached image for example. Basically I want to loop through them all and downsize the images so none are wider than 1024 pixels. ...
2
votes
1answer
19 views

create a doskey like ~ in unix

I'm writing a small little BAT file that has the ability to create doskey's (alias) like those in Unix. for example: doskey cat=type $* doskey ..=cd.. I just want these BAT files so I can put them ...
0
votes
0answers
10 views

suppressing spurious invisible tmux/terminal output

I'm using tmux to run multiple terminals sessions. The issue I am having is that my top-level terminal program has a feature where it will notify me if there is any activity in a non-visible tab. ...
0
votes
1answer
31 views

Scroll bar in xgterm?

Does anyone know how to add or activate a scroll feature in xgterm? It is a bit obnoxious to not be able to scroll around the rest of the terminal.
0
votes
1answer
14 views

iTerm2 2.0 Unable to resize the main window

Ever since I updated to the latest version, my iTerm window is not taking full screen. Even more weird the Maximize/ minimize buttons are missing. This 50% window arrangement is really irritating. ...