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

How can I type in one terminal and have it appear as if I were interacting with the second terminal (but not the first)? [on hold]

Honestly I don't care how this happens. Really I don't mean "terminal" necessarily, because what I look at are terminal emulators. If there is a terminal emulator I can use to do this, I'd be ...
4
votes
1answer
101 views

Untar a specifc folder within tar.gz

How do I untar/uncompress a specific folder within a tar.gz using the terminal/commandline (Ubuntu 14.04 (Trusty Tahr))? Precise: -file.tar.gz -- folder1 -- folder2 How to extract... ... ...
8
votes
2answers
7k views

How to display `top` results sorted by memory usage in real time?

How can I display the top results in my terminal in real time so that the list is sorted by memory usage?
0
votes
1answer
38 views

CentOS 7 add new user with root privileges

I am reading this tutorial, and trying to create a new user with root privileges and then block root access via ssh in a CentOS 7 server. The problem is that the new user is blocked from doing root ...
2
votes
3answers
955 views

console vim in screen session: remap Ctrl-Shift-Left, Ctrl-Shift-Right to not delete lines

I have my gvim setup so that I can select word-wise with Ctrl-Shift-Right, Ctrl-Shift-Left etc. (yes, I know it's a bad habit, but it works for me..). Unfortunately, these key combinations delete ...
11
votes
1answer
173 views

What is the name of this terminal window graphical trick, which shows accented edges around highlighted text?

I've noticed a few screenshots of terminal windows online which show thin highlighted edges around status bars or highlighted lines. In the following example, note the light grey edging around lines ...
-1
votes
4answers
3k views

Arch Linux terminal not starting

I just installed Arch Linux following a video tutorial from youtube for the first time. However, when I try starting the GNOME terminal it won't start. It will say Terminal at the top of my screen for ...
2
votes
1answer
12 views

Prevent application to tamper with terminal settings?

Recently, more and more GUI applications (okular and inkscape, among others) started disabling terminal echo while they are active. This seems unnecessary at best (if you don't background the process, ...
1
vote
1answer
707 views

Corrupted gnu-screen session not displaying UTF-8 correctly

(Edited to clarify the role of Emacs in the problem with the display.) My current gnu-screen session has gotten corrupted somehow, and Emacs fails to display UTF-8 characters properly. I've ...
0
votes
0answers
21 views

How to disable “Warning: Program '/bin/bash' crashed” message?

I'm using Kubuntu 14.04. When I exiting terminal emulator (konsole or yakuake) by doing something like kill -9 $$ it doesn't close, and saying: Warning: Program '/bin/bash' crashed. How could I ...
-1
votes
1answer
22 views

exit tmux window without quitting the Terminal program

OK I'm new to this. I installed tmux to run a several days experiment. After typing tmux new -s name I got a new window with green banner at the bottom. I compile and run java program. Now I do not ...
4
votes
2answers
546 views

use mosh without giving up local scrollback / history?

Is there a way to use mosh without giving up the local scrollback? Basically, in some circumstances, IP-roaming is indeed useful and needed, but the extra terminal emulation and key prediction seems ...
1
vote
0answers
23 views

Switching to alternate tty device does not give command prompt [closed]

I am trying to install a graphics driver and need to terminate X in order to do so. However, when I switch to an alternate tty device using CTL-ALT-Fx I am met with only a black screen. It appears as ...
5
votes
1answer
30k 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 ...
0
votes
1answer
35 views

Split the large files into sub files. How to do this process? [duplicate]

I have a large file in my unix box with 2 Gb. The files contains the xml lines. I want to split the files into say 10 files say each file is now of 204 MB ( approx ) so that combining the 10 files ...
1
vote
0answers
25 views

Resizing Xterm window kills Django running in it

I have a Django instance running in a terminal window. Any time I resize the window, the Django process dies ungracefully, leaving no record of it in the error_log file. I tested it within ratpoison, ...
0
votes
1answer
30 views

command “jobs” cannot see the stopped jobs

I have wrote a very simple shell script to practice command "bg" , "fg" and "jobs": #!/bin/bash myvar=1 while [ $myvar -le 100000000 ] do echo $myvar myvar=$(( $myvar + 1 )) done I use ...
0
votes
2answers
43 views

Using something like scp but when I've logged in already [duplicate]

I want to copy a file via ssh when I've logged in. What scp does is that it copies the files by login, password, path. What I want is to be able to do the same thing when I'm "inside", ideally without ...
2
votes
1answer
1k views

LS_COLORS settings for specific types of files

I'm trying to set up my color scheme for ls, and I'm having trouble finding information about exactly what parameters I have to work with, or where those come from. And especially setting colors for ...
2
votes
0answers
32 views

How to display a BASH X terminal and graphics in split view window?

I created a simple education tool using BASH script which runs in an X terminal. It displays a prompt, at which users can enter choices, as described in the Bash Guide for Beginners' Catching user ...
2
votes
1answer
437 views

Activating colors in links2 (text mode)

I can't seem to see colors in links2 (text mode), even after playing with my TERM settings. The links2 manpage and README.Debian don't specifically address this issue. Also, command-line options like ...
2
votes
2answers
1k views

How can I get weechat to signal gnome-terminal on a highlight?

When using a terminal based client like weechat, weechat does not signal the terminal letting the user know that they have been highlighted. How can this be done? I would like my terminal to blink ...
0
votes
0answers
19 views

aterm or gnome-terminal window unresponsive to keyboard events

I try to investigate a problem: Depending on the way I launch aterm or gnome-terminal, the window may or may not be responsive to keyboard events. The cause of the problem may reside in Aterm, ...
12
votes
2answers
7k views

why there are six getty processes running on my desktop?

My desktop system is: $ uname -a Linux xmachine 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:25:36 UTC 2011 i686 i686 i386 GNU/Linux By running ps a | grep getty, I get this output: 900 tty4 ...
0
votes
2answers
32 views

Pinpoint strange text at initiation of SSH session

On my OpenSUSE 13.1 (Gnome 3) system, whenever I start a SSH session, somewhere in the initialization, the terminal outputs some strange lines. Last login: Sat Nov 29 00:00:00 2014 from [HOSTNAME] ...
1
vote
1answer
33 views

How to make man(1) use the entire terminal width?

I'm on FreeBSD, using a wide xterm with, say, 132 characters per line. When running $ man man the manual page is formatted to fit an 80 character per line terminal width. Is there a way to make the ...
11
votes
2answers
316 views

How to start XTerm with prompt at the bottom?

When starting XTerm the prompt starts at the first line of the terminal. When running commands the prompt moves down until it reaches the bottom, and from then on it stays there (not even Shift-Page ...
0
votes
1answer
37 views

How enable ctrl + v paste in redhat? [duplicate]

I've installed Red Hat 6.5 and see that Ctrl + V does not work. It just prints ^V in the console instead of pasting from the clipboard. What can be wrong? How can I enable pasting using Ctrl + V?
74
votes
8answers
32k views

How can I disown a running process and associate it to a new screen shell?

I have a running program on a SSH shell. I want to pause it and be able to unpause its execution when I come back. One way I thought of doing that was to transfer its ownership to a screen shell, ...
0
votes
1answer
53 views

How to move a background job from one terminal tab to another? [duplicate]

I have a background job, say jobid 1, in a tab of gnome terminal. Can I move it to a another tab of genome terminal? I understand that the shell process in the first gnome terminal tab is the parent ...
2
votes
0answers
21 views

How to output rsync sent data in realtime using standard tools

I'm developing a small tool for some people who need to send files over to a server. I'd like to use rsync to a rsync deamon to do so. Is it possible to have rsync to output how much data it has ...
2
votes
5answers
4k views

Fix terminal title after SSH remote logging to another machine

right now I am using an one-line perl code to change titles of my terminal bars, print("\e]0;@ARGV\7"); but every time after I ssh to another remote machine, the title will be modified by the host ...
0
votes
0answers
11 views

How can I resolve the ftp.hu.debian.org mirror?

I would like to download the midnight commander, but the computer can't resolve the ftp.hu.debian.org mirror. Why, and how can I solved this problem to can install the mc?
2
votes
1answer
288 views

Can emacs use gpg-agent in a terminal at all?

I understand that there are problems with getting pinentry-curses to work with emacs (see some of the comments on http://emacswiki.org/emacs/EasyPG), and so using emacs in a terminal isn't compatible ...
3
votes
1answer
104 views

Reading char-by-char silently does not work

I'm trying to read user input char by char, silently, as follows: while [ 1 ]; do read -s -N 1 ... done While this loop works perfectly using VNC (xterm), it works only partially using putty ...
0
votes
1answer
19 views

term definitions not found

I am trying to select best term for UNIX terminal , checked the term information post , but when I try to get information about ls /lib/term* its not defined. However I did find ls ...
1
vote
2answers
35 views

SSH Tunneling Through a Firewall to a Cluster

I work at a university but I often work remotely. There is a cluster computer at the university that I need to be able to interact with, but its behind a firewall. Let's call the firewall F and the ...
0
votes
1answer
125 views

Run bash script on startup in Linux Mint and open mate-terminal automatically

I'm new to Linux, so not sure how to do what I want. I have my_script.sh (executable, of course) like this: #!/usr/bin/env bash mate-terminal -e "bash -c 'cd ...
2
votes
2answers
815 views

Installing Steam on Debian Wheezy

I downloaded the .deb file from the Steam website, but couldn't install it as it complained about having and "outdated" version of libc6. I look around and apparently I have to add jessie sources to ...
1
vote
1answer
14 views

Identify whether terminal is open in guake

I need to check in my .vimrc whether or not the terminal in which vim is opened is running in Guake. How can I see this? The $TERM variable does not seem to be quite right...
1
vote
2answers
2k views

Command not found problem in Linux-Ubuntu terminal

My friend is having problem in trying to call make to compile an application which both me and a second friend have previously successfully compiled. The file uses a "linux-devkit" pack that possess ...
4
votes
2answers
5k views

How can I make PuTTY compatible with Solaris?

I'm connecting to a Solaris machine from WinXP using PuTTY. When I try to use the NumPad keys for editing a command in Bash (Home, End, Delete) a ~ character is instead printed to the console. ...
0
votes
1answer
16 views

toggling between output and command prompt in CentOS terminal

When I open the terminal in CentOS linux and use su - to work as the root user, I type in commands like journalctl that result in a lot of output. The problem is, when I am done scrolling through the ...
1
vote
1answer
28 views

'hhighlighter' wrapper script saying command not found

I have gotten the wrapper script 'hhighlighter' from https://github.com/paoloantinori/hhighlighter which colors anything you want in stdout. I followed the instructions about installing ack-grep, ...
0
votes
1answer
19 views

Keep PHP's output with tee -a

Normally when running PHP script in web server mode, this would show up: $ php -S 0.0.0.0:12345 PHP 5.6.1 Development Server started at Mon Nov 24 14:09:22 2014 Listening on http://0.0.0.0:12345 ...
1
vote
0answers
20 views

How to use ESC sequences to make terminal region scrollable

I have a stm32f1 controlled device that uses USART/USB port to implement a user control interface. Using a standard terminal software (putty/minicom) a user has an ability to enter simple command in ...
1
vote
1answer
63 views

ifconfig command showing internal ip address

I'm using centOS 6.3 on virtualbox as guest OS on Win 7 host. My problem is when I use ifconfig command in terminal, I'm being thrown internal IP address(10.x.x.x). However, when I googled "my IP ...
8
votes
2answers
6k views

Poor TTY resolution with nVidia driver

The resolution of the TTY1-6 is poor ~ 640×480 Ubuntu 11.10 | Grub2 | nVidia | NVIDIA GT215 Board I went through the process on this site and after the edit the GRUB menu appears in the correct ...
1
vote
0answers
24 views

How can I get red letters with tput when I seem to get yellow?

I was using #!/bin/sh if [ $TERM=screen ] then pass_color=' \033[01;32m' fail_color=' \033[01;31m' fi echo "$pass_color green $fail_color red" as in but I was advised to use tput instead, so ...
10
votes
2answers
8k views

Shortcut key for scrolling inside a terminal

What is the shortcut key for scrolling inside a terminal? If I hit the Up or Down arrow or PageUp or PageDown, it will only traverse through command history, not let me traverse the previous part ...