A terminal is an environment for text input/output. Inside the terminal, one runs command-line and text mode programs (including shells).

learn more… | top users | synonyms

1
vote
2answers
16 views

How can I change the terminal tmux info (lower right) called status-right to username or host?

I have 7 dashes (-------) on the lower right. Can I replace them with something like my name or my host name? This is not about the PS1 prompt. I already have time name host dir there. I use tmux. I ...
6
votes
2answers
982 views

what will ¬ do in bash?

While wanting to start gitg as backgrounded through writing gitg & I accidentally typed gitg ¬. This did not cause an error, instead I got with a later command in the same terminal (translated): ...
24
votes
5answers
1k views

How does clear command work?

I was recently trying to learn more about how the shell works and was looking at how the clear command works. The executable is located in /usr/bin/clear and it seems to print out a bunch of blank ...
0
votes
0answers
11 views

Convert rgba color value to a Terminal supported color

Randomly I will take the following example: rgba(122, 143, 186, 0.54) How can I convert this color to the closest Terminal supported color?
0
votes
0answers
12 views

How to bring back `irb` back to teminal screen

I run a program by irb that have rescue and retry statement. Accidentally, I closed the irb running terminal. But process itself is still alive like this. ps ax | grep irb 17749 pts/0 S+ 0:00 ...
1
vote
1answer
24 views

Combining local and remote terminal multiplexing

I use tmux regularly to easily handle multiple terminals on my local machine. Sometimes, I need to connect to a remote machine and start a script in one the terminals (i.e. a pane or window in tmux). ...
0
votes
0answers
26 views

Linux man page highlights and underlines [closed]

I'm using an xterm window to ssh into one of my LINUX boxes. When I bring up a man page (i.e. man xterm) some of the lines are underlined or highlighted. I can page down as normal, but when I quit the ...
0
votes
1answer
25 views

Highlight patterns in command output (grep-like but without excluding lines) [duplicate]

I need a command that colorizes some symbol sequence in output of a certain command. I'd like it like grep make it. $ some-command | grep symbol-sequence However grep removed lines that isn't ...
1
vote
1answer
25 views

Can I enable framebuffer support in xterm [closed]

Can I enable framebuffer support in xterm? If yes, how can I do it? If no, what terminal emulator have a framebuffer support?
2
votes
2answers
28 views

How do I increase my iterm (tmux) window scrollback (not the line scrollback)

When I want to scroll back, i.e. with my mouse (or with PageUp) I can only go up about 43 pages (about 2000 lines). Can I increase that? I have my terminal preference -> "Scrollback Lines" set to ...
-3
votes
1answer
35 views

In what directory can I find the list of terminal commands or the set of scripts that give each one its purpose/power?

Is it hidden or accessible? Also, can you create a new script and define a new command to execute system-wide by adding it to this directory and giving it the same privileges?
0
votes
0answers
32 views

Is it possible to edit the '$' or '#' symbols for users? [duplicate]

What file needs to receive edits in order to make such adjustments?
1
vote
0answers
12 views

What would cause the completion percentage of a command or process to change when executing it a second time in the same environment? [migrated]

While attempting to install OpenCV I noticed that my first attempt aborted only 47% complete. Once I executed "make -j8" again the percentage elevated to 60% completion. 1st attempt: make -j8 ...
2
votes
0answers
23 views

tmux: shared session, one user in a pane, another in another pane, two different cursors

I've decided to try tmux: have been reading the docs and googling around, trying to find a way to have two users sharing a session, each with a different cursor. However, giving 777 permissions to ...
3
votes
1answer
43 views

Broken history search after upgrade of oh-my-zsh

I did the auto-upgrade of oh-my-zsh a few days ago. Now my filtered history (type a few letters and up arrow) no longer works. I did not realize how dependent I became on it. EDIT: For example, I ...
0
votes
3answers
66 views

Switch user on terminal

I'm switching user using command: sudo su - userName On my terminal I always have: user@user directory $ (some command) But when I switch user I have only : $ (some commands) It is hard to ...
0
votes
1answer
20 views

Having an independent console to kill rogue process?

Sometimes a flash plugin starts using all the mem and CPU or an app is also behaving "naughtily" and my system starts to crawl until i finally get a terminal with htop up and kill the rogue process, ...
0
votes
1answer
43 views

Getting more output from NetCat

Currently I'm using the standard netcat -e /bin/sh to provide a remote shell for other computers to access. The problem is however that this shell is rather terrible, since it has limited output. For ...
6
votes
0answers
109 views

Suse 11 vs. Suse 10 difference impacting terminal colors?

I have my dotfiles versioned on github (shameless fork of other people's fine work). At work, I have them on a central linux server (SuSE Enterprise Linux 10). I rsync them from a central management ...
2
votes
1answer
65 views

Window title in X shows wrong application name

I am using LXDE environment in Debian, but I think my question is general. When I have a window opened (i.e. terminal emulator running bash) the window has a window title with the text /bin/bash. When ...
2
votes
4answers
78 views

How Can I Change the Default arguments to gcc When I run Make “filename”

Forgive me if I posted this in the wrong Stack. Every time I run make for a file without any Makefiles in the directory, make still works and compiles the source code but only with the arguments: gcc ...
1
vote
2answers
69 views

Supply input to a program with a password prompt

Is there any Linux command which supplies multiple enter keys to another process which is running in a terminal till the other process dies? For example consider the command yes ' ' | ./ssr-sim ...
-2
votes
2answers
63 views

Run command automatically after login?

Another quick question. I have installed f.lux on Ubuntu 12.04, however the program refuses to work unless I run a command xflux -l [longitude] -g [latitute] -k [temperature] So I've created an ...
0
votes
0answers
20 views

Terminal data flows [duplicate]

When you press enter after entering information into the terminal, what path does the terminal take in order to determine what to do with the string? How can I inject a process at the front of that ...
1
vote
0answers
40 views

How to set a background image for urxvt?

How do I set a tiled background image in urxvt? I have tried the following alternatives in my .Xresources file: URxvt*backgroundPixmap: /home/jgg/Pictures/tiles/escheresque_ste.png;style=tiled ...
0
votes
2answers
34 views

htop displays incorrectly on different vps

When I use "htop" command for linux (+F5), layout on 2 my vps different: Why on my first server I see broken tree?
0
votes
1answer
26 views

Terminator interface inside tilda emulator?

Does anyone knows how to use Terminator inside Tilda? I use Tilda emulator a lot but sometimes I need to have different terminal windows open to check things out and I don't want to open Terminator ...
0
votes
1answer
40 views

feeding the password without any terminal window (stdout)

I have a command like this: echo "12345" | sudo abcde where 12345 is supposed to be the root password and abcde a program or a command. I have a shortcut which runs this command. I have tested the ...
1
vote
2answers
66 views

Why using cat on binary files messed up the terminal and how?

If I understand correctly the cat manual: concatenate files and print on the standard output cat will take files as argument and print them on standard output. What I don't get is if I use the ...
1
vote
1answer
30 views

Function key mappings in telnet session to Universe Application

Our client uses Termtek terminals to connect to their Universe platform. More terminals needed and we can't get any. The alternative is to get winboxes and run wintegrate or try and get a Linux ...
1
vote
0answers
29 views

vim and tmux on the same line

I would like to figure out a way to get my vim statusline and tmux statusline on the same line if such a thing is possible and not immensely difficult (ideally, the vim prompt, or whatever it's called ...
2
votes
2answers
43 views

In OS X Darwin, why can I interfere with text input across user sessions using cat?

OS X Darwin: Disrupting Terminal Sessions Across User Identities How, in Brief: with cat < /dev/ttys_, in Terminal. My Question This OS X 10.9.2 Darwin behaviour seems odd to me, and I would ...
6
votes
2answers
170 views

tmux, TERM and 256 colours support

Introduction My question arises from the necessity of understanding why I have now (after multiple trials) Terminal and tmux which support 256 colours even with tput colors that tells me they are ...
1
vote
1answer
28 views

How can I get `cacafire` to show up in the original gnome-terminal, instead of a separate window?

If I am in a Linux virtual terminal (pressing Control-Alt-F1 on Ubuntu), and I use the command cacafire, I get the flames inside the actual terminal. However, if I am in the gnome environment, and I ...
1
vote
2answers
48 views

Why Putty inserting ~ into my Fedora bash shell

Recently while working in Putty logged into my Fedora system I have started getting random ~ characters on my shell. Additionally, while I am editing in VIM I'll have characters randomly change to ...
0
votes
3answers
40 views

Terminal Root Command Warning

Is it possible to write a script (or change some file) in order to warn the user that they are using a command that is normally reserved for root? And if so, how? I'm currently the administrator of ...
13
votes
3answers
260 views

What are the responsibilities of each Pseudo-Terminal (PTY) component (software, master side, slave side)?

I am trying to figure out how a tty works1 (the work-flow and responsibilities of each elements). I have read several interesting articles about it, but there are still some blurry areas. This is ...
3
votes
1answer
33 views

Center Mutt pager horizontally

Is there a way to horizontally center emails when reading them in a larger terminal using mutt? I'm not interested in centered justification of the text in the email, but I am interested in forcing ...
0
votes
1answer
17 views

Can't terminate PHP daemon process

I've started a PHP daemon process via SSH with php ./my-script.php --daemon Now I want to quit this process, but I can't. It's still active in the foreground of my shell and I've hit CTRL + C ...
1
vote
1answer
26 views

Connect to pseudoterminal (same user) from lost session [duplicate]

I was running several large processes at once, and my PC froze (I suspect due to heat, its a laptop, and the fan was at maximum for several minutes just prior to locking up). The mouse cursor moved, ...
3
votes
2answers
81 views

Can zsh access the stdout of last run program?

I often use find or locate to find out about paths. (~) locate foobar.mmpz /home/progo/lmms/projects/foobar.mmpz The next step is often to open or otherwise manipulate the files. In a happy case ...
4
votes
3answers
84 views

key bindings table?

Do we have a key bindings table that translates all the various ways of referring to a key press? I'm using zsh, but I presume that if there was such a table it would work for any shell. The reason I ...
2
votes
2answers
81 views

Command-line editing vim style [duplicate]

I recently discovered terminal's feature, you can set the keys emacs or vi style I prefer the second. so if you do set -o vi You can use k j l h keys to navigate on the command line. And you can ...
2
votes
0answers
30 views

How to send/receive Messages on RFCOMM Terminal

I have connected to another Bluetooth device via RFCOMM. Now i want to send/receive Messages, but just typing them into the Console won't send them.. where to do that?
9
votes
4answers
874 views

What does a bash sequence '\033[999D' mean and where is it explained?

I have come across bash sequences such as \033[999D and \033[2K\r which are used to do some manipulation on a printout on a terminal. But what do these sequences mean? Where can I find a list/summary ...
2
votes
2answers
58 views

Ctrl-space not getting through ssh

I am on windows 8 using GIT bash to access a remote server via ssh. When I press Ctrl+Space in emacs running locally in console (emacs -nw), everything works as expected. However, when going over ssh, ...
2
votes
1answer
61 views

Start scrolling command prompt when filled until a particular fraction

I'm using the default terminal command prompt on Ubuntu 12.04. When I'm doing something on the prompt (as opposed to editing in VI) the scrolling starts when the text reaches bottom of the screen. I ...
0
votes
0answers
20 views

logname not working under X session

I would like to find out the name of the user at the end of a sudo-chain. The exact tool for this is logname or also who am i works as well. My problem is that while over SSH or tty1 (Ctrl+Alt+F1) ...
0
votes
0answers
36 views

Backlight powersaving: Working in X11, but backlight does not turn off on virtual terminal. Gentoo, Asus EeePC 1015bx

I'm facing a puzzling issue on my laptop, an Asus EeePC 1015bx, which has an AMD C-60 APU and is running Gentoo. Although the screen powersave functions are working in X11, the backlight does not ...
1
vote
0answers
38 views

unable to open openmpi ? Terminal / OSX 10.9.1

Hi I am trying to simulate an example of a software using terminal on OSx 10.9.1. When I execute examples the terminal said Bus error:10 and some errors abput openmpi. I downloaded Openmpi versions ...