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

2
votes
1answer
512 views

Change default terminal emulator on Debian

I'm trying to change my terminal emulator from xterm to eterm on Debian Jessie. I can't seem to find the tty config files. I've ran: sudo find / -name tty*.conf but that doesn't yield any results. ...
2
votes
1answer
26 views

Starting Ettercap is giving me an error

I have been stuck finding this problem online for the past 5 days, and I couldn't find an answer, everytime I start ettercap and choose my interface as wlan0 it gives me an error, like this one ERROR:...
0
votes
4answers
25 views

How come dd only outputs when I press Ctl+t? [duplicate]

This is with OSX. When I run this in a terminal scottcarlson$ sudo dd if=Downloads/CentOS-7-x86_64-Everything-1511.iso of=/dev/disk2 2> Desktop/out.txt and then this in another tail -f Desktop/...
0
votes
1answer
27 views

Vim in Gnome-terminal says “Output is not to a terminal”

I have several reasons to think that my terminal behaves like a console. I use GNOME Terminal 3.18.3. When I open vim from my terminal on fedora 23, the following warning is emitted: "Vim: Warning: ...
1
vote
1answer
66 views

How to export / import Ubuntu 16.04 terminal color scheme

I'm trying to export the color scheme from my Ubuntu 16.04 terminal to use on another system. I found some posts that suggest: gconftool-2 --dump '/apps/gnome-terminal' > gnome-terminal-conf.xml ...
2
votes
1answer
231 views

change terminal appearance according to server

I have 2 different serves (all running Linux) to which I connect via ssh . After login all terminal background looks same. I want to have different color theme or background for different servers. For ...
3
votes
1answer
52 views

Clear half of the screen from the command-line

Is there some way clear the terminal but instead of leaving the prompt at the top of the screen leaves it in the middle? It looks like clear basically ignores all command-line parameters. I thought ...
2
votes
1answer
373 views

Error “dircolors: no SHELL environment variable, and no shell type option given”

Running Linux Mint 17.3 Cinnamon A while ago a created a script that changed the colors in the Terminal (to match a tutorial I was following) However if I open the terminal on another account, I get ...
0
votes
0answers
38 views

Gnome-terminal start error

When I execute the command "screenfetch" in gnome-terminal, try to open the terminal again, the terminal will not run; if you open the gnome-terminal on the other terminal, just can open it; The most ...
2
votes
4answers
5k views

Unable to configure the Network Settings in centos 7

unable to run "system-config-network-tui" command in centos 7. Returns the error "bash: system-config-Network-tui: command not found". I've already installed the package using "yum install ...
14
votes
1answer
12k views

how to resize horizontally a screen region

I am using screen to split my terminals but I would like to be able to resize the horizontal dimension of the split screens. If I do C-a :resize 10 I only change the vertical dimension to 10 lines. ...
1
vote
1answer
34 views

How can I run a process in one terminal from another terminal

I have 5 processes running from one terminal (T1). All of them are running in background, but generate a lot of output. Now from other terminal (T2), I want to kill one of them using KILL pid command....
5
votes
3answers
48k views

How to find which Process is causing High CPU usage

Is there any way to find out from terminal which process is causing high CPU Usage ? It would also be useful to order processes in descending order of cpu Usage
1
vote
1answer
20 views

Workaround for Ctrl-Space in Konsole

After upgrading from Kubuntu 14.04 LTS to 16.04 LTS, Konsole 15.12.3 with Qt 5.5.1 under the KDE framework 5.18.0 no longer recognizes Ctrl+Space. Are there any workarounds to get it working, apart ...
49
votes
3answers
47k views

What causes this green background in ls output?

There are two directories shown by 'ls'. Normally directories anywhere are blue on black background. But the first one is blue on green and impossible to read. Why is this? How to make it blue on ...
-1
votes
1answer
23 views

What happened to mate-terminal?

I did apt-get dist-upgrade to my Kali (rolling) and suddenly mate-terminal (1.14.0-1) went mad. No more transparent backgrounds but what really made me rip my shorts was the seeming inability to bring ...
1
vote
1answer
39 views

How to get the F1-F4 keys to behave normally in tmux

In my normal terminal, F1-F4 keys produce ^[[11~^[[12~^[[13~^[[14~, but in tmux I get ^[OP^[OQ^[OR^[OS. I'd like them to behave the same in tmux so I don't have muck around with bindings for programs ...
8
votes
3answers
748 views

Terminal only as “Desktop”

Is it possible to have a terminal only desktop in Linux (Mint)? I want to boot normally, meaning I want to be able to start GUI programs (IDEs, Browsers etc.), but I don't want anything on the ...
34
votes
4answers
5k 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 ...
4
votes
2answers
113 views

Tmux and dim-ed colours in Terminal.app on MacOS

The problem On my Mac (10.11) Tmux does not show dim-ed colours properly, and this causes annoyance. In the following picture, the commit author's name is supposed to be represented in dim white. ...
-1
votes
1answer
34 views

Can't install packages

I'm trying to install the Banshee music-player, but everytime I type apt-get install Banshee I get this response. root@kali:~# apt-get install Banshee Reading package lists... Done Building ...
6
votes
2answers
61 views

Display stdout and stderr in two separate streams

I'm looking for a way to visually separate stdout and stderr, so that they don't interleave and so that they can be easily identified. Ideally, stdout and stderr would have separate areas on the ...
4
votes
3answers
149 views

Transforming short repeated words in columns into numbers

I want to transform the short repeated words in columns into numbers. In the following example I want to change the words (with ONLY 2 LETTERS) in column 3 for numbers, so that AA is changed to 2, AB ...
3
votes
1answer
196 views

tmux causing bold fonts in vim

I have installed tmux with vim, using the solarized colorscheme and airline plugin. All is good until I start tmux, where all the font turns bold and the airline status bar is looking weird. I have ...
0
votes
1answer
53 views

ctrl-c unsets echo on terminal [closed]

On different Linux distributions I experienced that pressing ctrl-c to stop a program (like 'cmp') or completion causes the terminal (usually xterm or gnome-terminal) to not echo the input any more. ...
14
votes
2answers
1k views

How do programs output to elsewhere than STDOUT/STDERR? How to avoid it?

Apparently I don't know all the output destinations that are available for use. I know about stdout(&1) and stderr (&2). However, after redirecting both descriptors, I sometimes still get some ...
0
votes
2answers
53 views

how to paste a file into another file (turn one), but one under the other?

I want to paste one file (with vectos 1xn) in another file? Example: File1 rs01 rs02 rs03 File2 AA BB CC How I can do this? But in my case, I have 55,000 column in File1 and File2, so,...
26
votes
8answers
33k views

How to disable line wrap in a terminal?

I need to view large logs files using a bash shell. I was using less to open the files, but since the lines are too lengthy there is some kind of line/word wrapping going on. Since the files are ...
3
votes
1answer
25 views

Print proper log file from a terminal session

I am trying to log a terminal with the ssh user@ip | tee -a test.log command. But, when I push backspace it prints in the log like: pwe[J[J[Jexit (for example). Is there any specific option ...
0
votes
0answers
20 views

i want to display a phone in the terminal but problem is only symbol of unicode phone is displayed only partially [closed]

I want to display a phone in the terminal I have used this below command unicode echo -e '\xe2\x98\x8e' But problem is only symbol of phone is displayed only partially. What might be the problem?
0
votes
0answers
21 views

Removed Nylas N1 Mail client from terminal. But its data exist

I recently uninstalled Nylas N1 an open source Mail client from my Ubuntu 14.04. I wanted to removed it completely (including data & Dependencies). So I ran following commands: sudo apt-get purge ...
-2
votes
1answer
49 views

Is it possible to get a star symbol in Linux? [duplicate]

Is it possible to get this star symbol in Linux, as shown in this screen shot?
0
votes
2answers
33 views

How to modify output on a bash terminal for all outputs

I would like to be able to permanently edit my setup (I am running ubuntu) so that every time the terminal outputs something it adds something to the output. An example of this would be to add a line ...
0
votes
1answer
30 views

How can I make a scrolling matrix terminal background?

There are many scripts/programs that will turn your terminal into a matrix style screensaver, however I want to use it as a terminal wallpaper and still be able to use my terminal. I haven't been able ...
0
votes
0answers
13 views

Mint Mate 17.3: How to enable mouse scrolling in man, less, vim

Is there a simple way to enable support for mousewheel scrolling in tools like vi, man and less in the default terminal of Mint Mate version 17.3? This works by default in Mint Cinnamon 17.1 and the ...
35
votes
10answers
147k views

How to connect to a serial port as simple as using SSH?

Is there a way to connect to a serial terminal just as you would do with SSH? There must be a simpler way than tools such as Minicom, like this $ serial /dev/ttyS0 I know I can cat the output ...
2
votes
2answers
60 views

How can I change the color of this blue text on my command line?

I know this question has been asked multiple times but I didn't find the answer on those other questions. Here an Image to illustrate my point: Can you read the blue line without squinting? No? Me ...
3
votes
3answers
898 views

Why dialog doesn't support emacs shell on Debian?

Dialog is a utility that provides dialog boxes from shell scripts, you may have seen them in aptitude during upgrades. When i use Emacs shell (M-x shell) and type sudo aptitude safe-upgrade, i get the ...
1
vote
1answer
118 views

“-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)”

Running a brand new Ubuntu 16.04 and a Debian 8 server. Trying to connect via ssh and getting the following strange terminal output. I refer to the rectangles with the numbers in it. The problem ...
3
votes
1answer
72 views

Can GPM be used in a teminal emulator?

I noticed it when installing gentoo https://wiki.gentoo.org/wiki/GPM But I can't figure out of it's possible to get it to work outside of a tty. I'm using GNOME-Terminal if that matters.
2
votes
2answers
32 views

Mouse click integration with SSH client, on command line, not just vim?

In vim, you can use the option :set mouse=a, and then (if your SSH client supports it) you will be able to simply click and the cursor will move, rather than having to use the arrow keys or whatnot. ...
4
votes
3answers
3k views

Using chown $USER:$USER inside bash script

In a small bash script I'm running I am attempting to chown a new directory that is created. I've added: sudo chown $USER:$USER /var/www/$sitename sudo chmod 775 /var/www/$sitename after the line ...
2
votes
1answer
41 views

Pausing terminal output

I have a command which outputs lots of data (say, strace with lots of syscalls, running for a few minutes). Is there any option (e.g. command wrapper or something similar) that would allow me to ...
0
votes
2answers
2k views

How to redirect output of a 'xterm -hold -e' command

I know you can use tee to log output from a command in a terminal, e.g.: df -h | tee ~/log.txt However, how can I do this with a more complex command like this: xterm -hold -e program arg1 arg2 ...
2
votes
1answer
2k views

How to enable Control key combinations for GNU screen on putty?

I am accessing a linux box via ssh using putty. Key combinations work fine when I'm not running screen. However, Ctrl key combinations do not work under a screen session. In fact, a Ctrl-any key is ...
0
votes
1answer
65 views

loging in with 'su' command in one line

How can I log in with the su command in one line in the terminal? I know that the sudo command can do that: echo [password] | sudo -S [command] But when I try to imply it in the su command : echo [...
2
votes
2answers
7k 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 ...
1
vote
2answers
48 views

tmux on remote machine not getting correct prefix + arrow keys

I am connecting from a windows machine to a remote machine using MobaXterm, and attach to a tmux session. Some key are not getting sent correctly, for example prefix + arrow keys just prints {A,B,C,D}...
1
vote
1answer
42 views

Is it possible to send color code escape sequences before login?

I'm trying to colorize the console and I'm having success with the following in root's .bash_profile: echo -en "\e]P7000000" echo -en "\e]P0F0F0F0" clear The problem is that this is obviously only ...
0
votes
2answers
33 views

Terminal doesn't wrap properly

I'm using Gnome Terminal to connect via SSH to my server. My account on the remote server (which is Ubuntu) uses bash. My bashrc contains a line that sets the shell prompt to include my current git ...