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
0answers
4 views

Starting Ettercap is giving me an error

I don't know if this is the right website or not, but at this point, I don't really care, because I'm at my wits end, to be honest. I have been stuck finding this problem online for the past 5 days, ...
0
votes
4answers
22 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
24 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: ...
3
votes
1answer
51 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 ...
1
vote
1answer
33 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....
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 ...
1
vote
1answer
19 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 ...
1
vote
1answer
58 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 ...
-1
votes
1answer
22 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
741 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 ...
-1
votes
1answer
32 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 ...
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 ...
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
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. ...
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,...
3
votes
1answer
24 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
20 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
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 ...
0
votes
1answer
29 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 ...
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
1answer
71 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.
1
vote
1answer
117 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 ...
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. ...
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
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 ...
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
44 views

Find case duplicate files and rm uppercase

I have a number of image files that have duplicates across case (ie file.jpg File.jpg). I need a script like the following except I want to completely remove all uppercase. I know that fslint can do ...
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 ...
2
votes
1answer
46 views

Understanding controlling terminal

I started a java program that simply enters an infinite loop from a unix terminal (let's say terminal window tw1) I opened up a second terminal window (say tw2) and executed ps -ef | grep java command ...
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 [...
0
votes
1answer
30 views

change IP address

I tried to change my private IP address with the following commands: sudo ifconfig wlp3s0 down sudo ifconfig wlp3s0 192.168.1.12 sudo ifconfig wlp3s0 up They just work fine becouse the IP changes ...
0
votes
0answers
19 views

Making a list of user-installed software using terminal [duplicate]

I have been wondering if it's possible to use terminal to make a list of all user-installed software. I have backed up all my files in preparation for an upgrade to ubuntu 16.04, and I used tree to ...
2
votes
1answer
42 views

How do I stop title-escape-sequences from clobbering my GNU screen titles?

I don't have control over the shell prompt or preexec, and I want to keep the titles I assign to screens. Can I get screen to ignore title-escape-sequences?
0
votes
0answers
19 views

Sub process keyboard input layer

I have a bash script where I set up a stream playlist by user interaction. The user then press p to play the selection. This simply do something like: media-player --playlist media-player defaults ...
3
votes
2answers
158 views

`cut`: selecting columns containing a string

I have a big file with several columns on each line. I'm familiar with using cut -f -d to select specific columns by their number. I checked the manual for cut and it doesn't seem that there's a way ...
0
votes
1answer
37 views

how to change colors of my ps1 root terminal permanently [duplicate]

I want to change the colors of root@MyComputer:~#and when i type the ls command show me the result as colors! I write a simple BB code to display what i want: [color=red]root@MyComputer:[/color][...
0
votes
2answers
94 views

How do I record all terminal input and output to a local file by default for each session?

I'm aware the script command can be used to record all keyboard input and screen output to a file, but this has to be invoked each time a terminal session is started. I keep timestamped versions of my ...
2
votes
0answers
31 views

apt-get commands won't return

I am working on a Raspberry Pi running Raspbian, and I think I'm having a problem with my apt-get. The problem originated with a MySQL server I was running. The server stopped seemingly at random, ...
2
votes
2answers
67 views

How terminal emulators handle Shift+FKeys?

This question is inspired by another question on vi.SE. There, OP has issues with the Shift+F8 key combination when running vim inside urxvt. That key combination will never work in vim because the ...
3
votes
0answers
68 views

Console: Can't type special characters (Ubuntu 14.04)

We have linux-based computers (Ubuntu 14.04.4) prepared by other company to use their software. We have root password. Those computers has no X Window System. Just consoles. There is a problem with ...
1
vote
1answer
31 views

Readline bindings not working with Control and Shift modifiers

I'm tweaking with GNU Readline's key bindings in Bash. Specifically, I wish to achieve the following mapping effect: Control' ==> 'I' ControlShift' ==> "I" Control` ==> `I` Control[ ==>...
2
votes
0answers
36 views

Weird control sequence before password prompt

I have installed debian 8 with xfce4 - freshly - and everything seems to work fine, except: When I try to enter some password into the xfce4-terminal there sometimes is displayed some weird escape ...
2
votes
1answer
38 views

How to suppress echo of buggy read function

I'm trying to capture a key press in a shell script (e.g. using read) and not to echo it. The three methods I found were stty -echo, the -s switch and stream redirection. However, on macOS, which ...
0
votes
0answers
64 views

How to setup the alfa AWUS036NH driver on Kali Linux?

I bought this Alfa awus036nh and i want to use it on Kali Linux. I'm running Kali on a Virtual Machine and fixed the USB issue and now the machine recognizes the adapter. I need to setup the driver ...
1
vote
2answers
49 views

How to fix shell prompt ( ps1 ) after remote login

I am observing the below strange prompt after login to my remote machine from ubuntu 14.04. This only happens while I'm using the ubuntu gui terminal and not via putty. Any suggestion to fix it?
0
votes
0answers
19 views

how to get a “parent-child” relationship with tmux panes and windows

Essentially I'm trying to mimic fork when I split a window or create a new one from an existing tmux session. For example lets say you enter a shell in gnome-terminal and then launch a new gnome-...