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

1
vote
0answers
17 views

MOZREPL output showing up in terminal window

I have a very a annoying problem. I've using Mac Terminal over SSH to write Perl script with vim on a local virtual Debian machine. The Perl script uses the WWW::Mechanize::Firefox module which in ...
0
votes
2answers
30 views

centos7 terminal can't have image as background?

I previously used ubuntu, I can set a image as my terminal background. Yet, in centos 7, I don't see a place for setting image as the terminal background. What can I do to achieve this? It's ...
2
votes
0answers
21 views

Mount a folder from server in network on mn the local machine permanently

I have a remote server which is connected to my wi-fi modem. So I can access this server by 192.158.188.45 I want to mount a folder from this server on my local machine permanently. I wrote ...
0
votes
1answer
6k views

Running Java classes in a package --> Error: Could not find or load main class

I'm learning how to compile and run java classes in terminal using the commands javac and java. I have no problem compiling and running an individual class, however, when I put that class into a ...
1
vote
0answers
15 views

using multiple terminal x-windows with one tmux session

I usually work with 2 monitors that are not quite vertically aligned (I have a benchtop power supply under my left monitor), but I want to have 4 terminal windows side-by side on my screens which I ...
4
votes
3answers
4k 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 ...
0
votes
1answer
37 views

Process login vs user login

In a Ubuntu 14.04 system, who has the following output: user1 :0 2016-05-02 14:49 (:0) user1 pts/4 2016-05-02 15:10 (:0) So apparently just the pts/4 is used. But, for example, ...
61
votes
3answers
142k views

List all connected SSH sessions?

I just SSH'd into root, and then SSH'd again into root on the same machine. So I have two windows open both SSH'd into root on my remote machine. From the shell, how can I see a list of these two ...
2
votes
2answers
56 views

When opening a terminal does not require a login?

Speaking about Linux and in particular Ubuntu (from 14.04) systems: Case 1 - As pointed out in this answer, processes that allocate a pseudo-terminal don't need to make a login: for example, cups. ...
0
votes
1answer
29 views

What is the -c [start-directory] in “tmux new-session” command? [duplicate]

In the manual new-session -c option is listed as use to specify [start-directory] with no further explanation. I have a few question to help me understand: What is start-directory used for? Does ...
0
votes
1answer
118 views

Do any open source Linux terminals and fonts support ligatures?

The PragmataPro Font has some really killer examples where they render == as a single character and clean up a lot of other stuff. Would any Linux terminals support this? And are there any ...
32
votes
4answers
44k views

SSH inside SSH fails with “stdin: is not a tty”

I'm trying to connect to machine one with ssh and then connect to another machine two with ssh, but I get this error. ssh user@computerone.com 'ssh otheruser@computertwo.com' stdin: is not a tty ...
1
vote
2answers
18 views

Using fasd to open a file or directory in emacsclient

I'm trying to open files found with fasd in emacsclient. I'm using fasd -e emacsclient -c -a '' set to an alias. Nothing happens when I call the alias, I just get a new prompt. I've tried using Emacs ...
2
votes
2answers
125 views

UTF-8 characters are not displayed correctly in Debian

Short description of my problem: I ran into an issue lately where I am unable to make bash/nano/irssi/etc display "special" UTF-8 characters like the german umlauts (äüö), the euro sign (€) and some ...
0
votes
2answers
50 views

What can cause my shell to look like this? [duplicate]

I'm currently developing a home automation framework for my apartment. This involves getting JSON over Serial from an Arduino. When the JSON can't be parsed (usually only on startup) I log it as an ...
12
votes
1answer
3k 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
vote
1answer
12 views

Modifying Audio System Settings via console in OpenSUSE 13.1

My PC has an internal speaker and every time when I reboot linux, the output of the (integrated) sound card changes to this internal speaker. But I want to use my external speakers (via the green jack ...
0
votes
0answers
22 views

It seems like my inputrc file is being ignored by the terminal. When I hit ctrl+arrow it returns ;5C

This is my /etc/inputrc file. And I also have a ~/.inputrc file with the same content: set meta-flag on set input-meta on set convert-meta off set output-meta on $if mode=emacs "\e[1~": ...
2
votes
3answers
5k views

Endless data loop from dev/ttyUSB while sending AT commands

I have problem sending AT commands to my USB modem. At first I tried php-serial class, but when i was reading data, I got endless loop with strange data. Then I tried to debug problem and opened putty ...
1
vote
1answer
40 views

How to read from another terminal?

I opened two terminals (/dev/pts/1 and /dev/pts/2) and started my application from /dev/pts/1. I want to read in real time from /dev/pts/2 but my code doesn't work: actually some of the symbols are ...
0
votes
3answers
24 views

How can I quickly check exactly how many columns my terminal has? [duplicate]

After window resizing, font size changes, etc., how can I easily and quickly check what is the current display width of my terminal?
1
vote
3answers
56 views

Go to first line of console output of a command

Let's say I am calling ls -la, which produces a very long output. Is there any key/command which lets my console scroll up to the first line of the output?
141
votes
11answers
121k views

How can I close a terminal without killing the command running in it?

Sometimes I want to start a process and forget about it. If I start it from the command line, like this: redshift I can't close the terminal, or it will kill the process. Can I run a command in ...
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 ...
2
votes
1answer
28 views

Which files are displayed or executed after login?

I'm using an embedded Linux distribution (Lime2) on a custom ARM board. On login via SSH, the following is displayed: root@mybox ~ # ssh localhost root@localhost's password: _ _ ...
0
votes
2answers
38 views

.sh query - running a ssh task

This is on a macintosh but it's still unix command. I am running some computers on a network that have file sharing turned off because of security so the only way to connect is via ssh. I need to ...
0
votes
0answers
11 views

Detect bluetooth button press in terminal

I have a bluetooth earpiece samsung HM1100 and im trying to detect its button press in terminal. I have tried this, but hcitool scan is not detecting my earpiece. But it detects other laptops. Is ...
15
votes
3answers
1k views

What terminal emulators support tmux control mode?

tmux has its control mode, activated with -CC, to allow the terminal emulator to control tmux. iTerm2 uses this to great effect for allowing tmux windows to appear as separate iTerm windows. Are ...
7
votes
3answers
636 views

Real time cmd tool to show HDD space remaining

Is there a command line tool which shows in real time how much space remains on my external hard drive?
0
votes
2answers
1k 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 ...
0
votes
0answers
22 views

Qubes/Xen OS: access file manager for dom0

I hope somebody more experienced with Qubes specific terminal commands can help. If the KDE manager is installed, how does one open via terminal input the file manager for 'dom0'? To browse 'Home' ...
2
votes
3answers
4k 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 ...
0
votes
2answers
40 views

How to see and use the last paths used in Terminal? [duplicate]

I'm quite a newbe. I was wandering: is it possible to see the last paths used in terminal (bash, whatever.., I use a Mac), something like what you do with recent commands? I often use the terminal on ...
0
votes
0answers
27 views

Traceback (most recent call last) error appears on terminal [duplicate]

Recently i encountered a weird problem in Linux mint 14.When i enter any command (e.g $ ls) in terminal it throws error saying Traceback (most recent call last). Detail Description of the error is ...
3
votes
6answers
16k 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 ...
5
votes
2answers
574 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 ...
0
votes
0answers
74 views

What could be the reason for a delayed display of the prompt ?

When I click on the Xfce-Terminal Logo, the terminal window opens, but for about 30 seconds there is no prompt and no reaction to a command. On the picture below, the lower window already attained ...
0
votes
1answer
331 views

Compile OpenBroadcaster on Debian

Trying to compile obs on debian like here described: https://github.com/jp9000/obs-studio/blob/master/INSTALL gives me this error: Linking C shared library libobs.so /usr/bin/ld: ...
2
votes
1answer
116 views

Package installation : dpkg parse error

I need help with installation through the terminal. Any time I try to install any new packages using sudo apt-get install *package*, I get the following error: dpkg: parse error, in file ...
2
votes
2answers
288 views

Send javascript to Chromium or Firefox from linux terminal

I am using either a chromium or firefox web browser in kiosk mode to log in to a website from boot up, and I want to use a javascript to send in a command to login to a website automatically. I know ...
28
votes
2answers
14k views

Output from ls has newlines but displays on a single line. Why?

I think I may be overlooking a relatively fundamental point regarding shell. Output from the ls command by default separates output with newlines, but the shell displays the output on a single line. ...
0
votes
0answers
19 views

SunOS 5.10 gives invalid terminal

While I login to SunOS 5.10 through putty it shows as terminal vt100: Then what ever command I type it says invalid terminal with the command. For example if i type ls the display will be. ...
2
votes
0answers
28 views

xfce4-terminal: keyboard shortcut to set terminal title

How can one set a keyboard shortcut for an instance of xfce4-terminal? It appears that the Terminal->Set Title menu does not have a shortcut tooltip, and I would really like to keep my open terminals ...
1
vote
1answer
47 views

Save cursor position and restore it in terminal

I am playing with some terminal capabilities to create async prompt output on bash. I want to get something like this: while outputting string in PROMPT_COMMAND, save terminal cursor position, print ...
7
votes
6answers
950 views

Terminal and Vim

I open a terminal then I open Vim. Then I work on my source code, but unfortunately I click on the close button of the terminal title bar and my work is lost. Is it possible to configure Vim such that ...
1
vote
2answers
79 views

Disable scroll inside Xfce terminal / Avoid scrolling through command history

Is there a way to disable scrolling through command history for the Xfce terminal? I don't wish to rely on palm rejection, I'd just like it disabled when I'm using the terminal. Specifically I'm ...
2
votes
1answer
33 views

.desktop file for ncurses application

I am trying to create a .desktop file for the calcurse ncurses calendar application: [Desktop Entry] Version=1.0 Type=Application Name=calcurse Comment=an ncurses calendar TryExec=calcurse ...
1
vote
1answer
24 views

Scrolling output with ccze

I love the default fancy output of ccze, but I can't seem to get it scroll property. Executing tail -f something.log | ccze from an X terminal works, but I can't scroll back once the screen has ...
1
vote
1answer
615 views

Passing escape sequences to shells within ansi-term in Emacs

In a regular terminal (e.g. iTerm2 on OS X) I can connect to a database, e.g. > psql .... and then, as I type my command in psql, e.g. $ select foo from bar I can move around (as I type psql ...
76
votes
4answers
14k views

What is the point of Ctrl-S?

Ctrl+S stops all output to the terminal which can be restarted with Ctrl+Q. But, why does Ctrl+S exist in the first place? What problem was trying to be solved by putting that control sequence in ...