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

0
votes
1answer
57 views

/Library: Operation not permitted when logged in as root user

Im trying to install Jekyll on El Capitan, however I do get permissions error, as you'll see from the screenshot. I am logged in as a root user. Any advice appreciated. UPDATE: After suggested ...
20
votes
3answers
11k views

Force GNU screen to reflow to current terminal width on reattach?

I would like to force GNU screen to reflow to the existing terminal width when I reattach a session. It seems to me this worked properly before I upgraded a machine to CentOS 6, but I cannot figure ...
5
votes
2answers
805 views

Set default xdg-open application to terminal program

Is it possible to use terminal vim with xdg-open? I don't have a GUI text editor because I only use vim through the terminal. (I don't care very much for gvim either.) Is it possible to tell xdg-open ...
0
votes
1answer
24 views

Can't type AltGr characters in the OSX Terminal

I probably messed up something and I can't type tilde and brackets in my terminal. I'm on Mac OS X but I thought this has something to do with Emacs that I use just from yesterday for an online course....
3
votes
1answer
46 views

(SOLVED) 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:...
1
vote
4answers
5k views

Unable to configure the Network Settings in centos 7

I am 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 via yum install ...
31
votes
2answers
112k views

Sending messages to another user

Is there any command to send messages through the Linux shell to other people on the same network? I'm using write user and then write the message itself. But there's any command that doesn't show my ...
1
vote
0answers
23 views

Telnet server terminal support not working

Telnet Server Problem It looks like a recent Yum update (20 July 2016) broke the telnet-server on one of our VMs. Using an SSH connection to the same server works fine. I'm trying to track down where ...
2
votes
1answer
534 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. ...
0
votes
4answers
37 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
32 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
90 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
236 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
59 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
384 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
41 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 ...
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
37 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
22 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 ...
50
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
25 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
40 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 ...
9
votes
3answers
762 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
6k 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
120 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
35 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 ...
7
votes
2answers
65 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
150 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
56 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
26 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
27 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
50 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
34 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
32 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
15 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
148k 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
65 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
133 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
75 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
35 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
43 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 ...