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

-6
votes
0answers
22 views

Script after downloading the file move them to other location [on hold]

I need help with a script that does the following Firefox finishes downloading a file to default folder. Compare the downloaded file to a predefined list of files. If the filename exists in the ...
1
vote
1answer
14 views

Some letters on gnome-terminal can't be typed by specific user

I have a very strange problem on my Ubuntu 14.04 machine. I can't use some letters like r and i in gnome-terminal. Note: when my CapsLock is on I can type R and I in terminal. The problem on my ...
1
vote
1answer
37 views

Send specific signal number with specific key

I want to set a specific key like F12 to send me a specific signal number that out of linux signals range that I can handle this signal with trap command. How can I do that? NOTE: I'm working with ...
2
votes
1answer
42 views

make: *** [all] Error 2

I tried to install a decompiler on my macbook, but the terminal returned errors below. ouekihodos-MacBook-Pro:radare2 LewisWang$ gmake /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ...
0
votes
1answer
17 views

Can I get my iTerm key-combos working in tmux?

I have some shortcut keys defined in iTerm, and I use them for key-mappings in Vim. For example, I map Ctrl-Enter to send a ^[O2P escape code, which I then use to define a Ctrl-Enter key-mapping in ...
3
votes
2answers
70 views

Shell loses keypresses when running SSH in the background

I'm experiencing a bizarre problem with SSH + Bash + Terminal.app: when SSH is run in the background, the shell appears to randomly lose keypresses ~50% of the time. For example, if I run: $ ssh -N ...
2
votes
0answers
23 views

Hex codes for input key combinations

In iTerm2 one can setup keyboard shortcuts so that for a given input sequence, iTerm2 sends a specific hex code to the terminal. What exactly are these hex codes? And how can I identify a hex code ...
0
votes
0answers
16 views

Mac Terminal: Scroll up and down in screen mode

I am in screen mode and I am outputing results that are too long to read through even using Ctrl+a + [ + Up / Down Arrow Key. Is there a way that I can scroll up and down using the mouse in screen ...
0
votes
1answer
26 views

Terminal: termcapinfo command not found

I added the following line to my .screenrc script such that I can use my mouse to scroll up and down in the terminal when the output is too large and long. However, when I try to source .screenrc ...
1
vote
2answers
96 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 ...
1
vote
1answer
34 views

Use PSF font in X11 terminal emulator

I want to use a specific console font (/usr/share/consolefonts/Uni3-Fixed16.psf.gz) in a X11 terminal emulator (for example Terminator or gnome-terminal). I've stumbled over similar questions, but ...
0
votes
1answer
48 views

Installing Xmgrace on Mac problem

Hi I'm totally new to UNIX, I use my console for 2 months only and only know the very basic commands... I have worked on a machine previously and have been using the xmgrace command to make some ...
10
votes
1answer
257 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 ...
1
vote
0answers
70 views

Load a background image or set the background color if Konsole/Shell is running SSH

I want to set my laptop to load an image in the shell's background or set the background color to red if I'm connected via SSH. How can this be done? With a bash function in .bashrc? I have: Set the ...
0
votes
0answers
48 views

Terminal freezes after using tar or gz

On Linux within bash the Pseudo Terminal window (terminator) as well as the Terminal itself "freezes" when trying to use autocomplete (TAB) as well as after getting an error message using gzip and ...
1
vote
1answer
26 views

tmux blocks certain things on my Mac

I really like tmux and use it often so I set the following in my .zprofile: [[ $TERM != "screen" ]] && exec tmux so when I open a new window, tmux will be there for me. However, there are ...
2
votes
0answers
55 views

How can you get the current terminal line (the one that is still editable by the user)?

I need a way to use the current line which the users typed into as variable for a shell function. my current code, which can be called by ctrl+r zle -N search bindkey "^R" search search () { read ...
1
vote
2answers
61 views

Confusions mitigation while working similar environments in multiple servers

I often have to open multiple ssh sell terminals of remote servers together., eg. Dev and test. These paths and applications are exactly similar. And I am often confused if I run a particular command ...
0
votes
2answers
26 views

Configure distant terminal behaviour

I just installed debian 7 on a VPS, created users, configured ssh ..etc The problem is that the terminal application changed its behavior just after connecting with my new username: Autocompletion ...
1
vote
0answers
30 views

Terminal won't go back to prompt after launching app [closed]

I'm running elementary OS Luna (based on Ubuntu 12.04) on which I've installed Okular as I consider it to be the best PDF reader even if it's meant primarily for KDE. The issue is this, I need to use ...
0
votes
0answers
12 views

Determin if the currnet terminal has a dark or light theme [duplicate]

I have several (Bash) scripts that uses ASCII color codes. They look good on my dark themed terminal, however on my colleagues light themed terminal the colors I selected don't look that good. Is ...
0
votes
0answers
22 views

Broadcast messages don't appear on gnome-terminal, but appear on xterm

I'm curious about the behavior of broadcast messages by $ sudo wall myfile the message from myfile appears on all /dev/ttyN devices (the ones to which I can switch by pressing Ctrl+Alt+fN), it also ...
3
votes
1answer
95 views

Error with gedit can't save any file

meraj@meraj-SATELLITE-C850-A785:~$ sudo gedit /etc/php5/apache2/php.ini (gedit:16243): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ...
0
votes
1answer
50 views

Download yad with bash script

i'm building a simple deb package (single binary) for a little project i've been working on. Now I want to build a nice interface around it and used zenity for a couple of times, but this time I ...
0
votes
0answers
42 views

Seeing SSH debug messages in Terminal/console

I am seeing "debug3: Received SSH2_MSG_IGNORE" appear in the terminal on a RHEL 6 Linux server. I thought maybe rsyslog had a console entry, but it doesn't. sshd_config has logging at AUTHPRIV, and ...
0
votes
1answer
67 views

How to set the prompt and tab-title on Gnome-Shell (Gnome 3, centos 7)

This is embarrassing, but I don't seem to be able to set the command-prompt or the shell title. I'm using Gnome3 on centos 7. PROMPT I've added the following to ~/.bashrc: export PS1="\w \$ " The ...
1
vote
1answer
21 views

How to configure up arrow to get to the previous command in maxima?

If I press Up in a shell, then normally it brings up the previous command I entered. In maxima it's all different. Pressing Up just prints out ^[[A. The same thing happens when I try to move the ...
1
vote
1answer
58 views

Dynamic text wrapping of terminal output

I am specifically looking for is dynamic formatting of output. In every terminal emulator I can remember having used in Linux, when some program prints to the screen, the output gets formatted to fit ...
0
votes
0answers
20 views

Why some packages don't get upgraded?

I upgrade packages in terminal using this command apt-get update && apt-get dist-upgrade -y --show-progress && apt-get autoremove -y && apt-get check && apt-get ...
4
votes
4answers
437 views

Multiple terminals at once without an X server

There is a way to visualize multiple terminals at the same time without running a Xorg session ? I have a really low profile machine that could be great for some basic stuff but has an horrible ...
1
vote
1answer
32 views

Standard Terminal Font Aspect Ratio

What is the aspect ratio of a mono font that's made for terminal use, or more specifically, the size of the cell that any single character would fill? I've read that a standard terminal is 80x24 ...
1
vote
1answer
28 views

Save views in multiple screen terminals

As I do in default single view screen terminal of ubuntu; gnome-terminal \ --tab-with-profile=Default --working-directory="some dir" --title="some title" \ --tab-with-profile=Default ...
4
votes
0answers
36 views

Show error messages and information that a program was killed on another terminal [duplicate]

If I open a program, say evince, from the GNOME GUI, it is not attached to a terminal. If I send it a signal, it acts accordingly but nothing shows up in my terminal. If I were to open it in a ...
-1
votes
2answers
50 views

How to use grep to find all instances of one .txt file in another?

How would I use grep to compare if any line from one .txt document occurred in another? Further how would I use grep to find out the opposite? Would it be grep -v?
1
vote
1answer
46 views

Who does the linewrap and how to deactivate?

If I connect to a linux device via serial adapter (no matter if pyserial, screen or minicom), and no matter how I change settings like stty when I enter a long command it gets line wrapped ...
2
votes
1answer
257 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 ...
0
votes
0answers
33 views

X11 Path Issues and Confusion for Installed Packages

I am using GMT (generic mapping tools) and SAC (Seismic Analysis Code), and each use X11 (or XQuartz on 10.9.4 Mavericks) to display graphics. When I want to display postscript using ghostview, I get ...
4
votes
1answer
39 views

Is it possible to change what tty a terminal emulator is connected to?

If I have a terminal emulator (say, xterm) by default it connects to a pseudoterminal like /dev/pts/3 What I would like to know is if it is possible to connect it directly to, say, tty1? Could I ...
1
vote
0answers
28 views

Using X11 Displays through Terminal.app commands : generic mapping tools

I am trying to figure out why I can't use ghostscript or ghostview (or any other X11 applications) when I try to call them in the Terminal. I am using bash, and I also used Fink to get the packages I ...
3
votes
1answer
22 views

logging session with 'script' - how later read it?

I log my terminal session with script. As we know, it contains all characters that were send to terminal, including control ones, like backspaces etc. This makes output file a kind of unreadable, ...
7
votes
5answers
676 views

Vintage terminal for Ubuntu

So I have just been introduced to Cathode for OSX and I am completely fascinated by how classic it looks with it's 1970s retro style. Does anyone know of any programs/packages I can download to get my ...
3
votes
1answer
140 views

How to draw a single pixel in a terminal?

Until now I used characters to draw images, shapes etc in a terminal. Is it possible to draw a single pixel? Let's say: foo 1 1 red This will draw a red pixel at the coordinate (1, 1). Is there ...
2
votes
1answer
45 views

Play .wav when text scrolls in terminal

After watching a TV show, I came up with a fun idea. Is there a way to take that cheesy high-pitched sound effect they play every time text scrolls down a command-line screen on TV and play it when ...
1
vote
1answer
48 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 ...
4
votes
1answer
79 views

What exactly is 'scrollback' and 'scrollback buffer'?

What are "scrollback" and "scrollback buffer" in programs like bash and screen, and how do they relate to the tty, the programs being run, and stdin/ stdout/ stderr? Here is the only definition of ...
-1
votes
1answer
60 views

How to control network bandwidth using Linux [closed]

Currently my Internet is really slow. But I want to allocate all resources to a browser that is loading a movie. How do I do that?
2
votes
3answers
144 views

What is the problem with the output of plink?

On my Windows7 machine, I'm traversing to the installed path of PuTTy Application and running: plink <hostname> to connect to my remote Linux host. I see some unrecognized characters in the ...
3
votes
1answer
72 views

Stop printer jobs from terminal

I am working with an old CentOs version (5.0) that is not really my machine. Recently, for some dark reasons, I have problems in printing. The jobs rest in queue, and I cannot cancel them from the ...
1
vote
1answer
48 views

How can I recreate a VT100 environment and connect an Esprit 250C Terminal?

I have an Esprit 250c Modular Color RS/232 Terminal "Intelligence Unit" ( overview here, and pdf of features here ) I would like to make it work as a text-based tty terminal, maybe VT100 as it ...
1
vote
1answer
108 views

What does typing a single apostrophe do in terminal? [duplicate]

I typed in a single ' by accident and I got this as a result and exited out of it after typing ' in again. ' > > ' : command not found What does this do?