Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [terminal]

A terminal is an environment for text input/output. Inside the terminal, one runs command-line and text mode programs (including shells).

5
votes
0answers
668 views

How to make fontconfig fallback work?

I'm trying to use powerline fonts, but most of the powerline fonts don't look too good in my terminal. Instead I'd like to use a regular non-Powerline font, and specify a fallback Powerline font for ...
4
votes
0answers
46 views

Pasting into terminal including comments issue

This is somehow a follow-up to my last question: Pasting multiple commands into terminal stops at user input Pasting the following to the terminal works as expected: ( echo test1 # some comment echo ...
4
votes
0answers
86 views

For a process, what are the differences between a controlling terminal and non-controlling terminal?

For a process, what are the differences between a controlling terminal and non-controlling terminal? If a process calls open() on a terminal's device file, will the terminal become the controlling ...
4
votes
0answers
402 views

Getting Alt to Work in the Terminal with Tmux and Vim

I'm trying to make Alt + h/j/k/l switch tmux panes and vim windows. Yet for some reason my terminal (xfce4-terminal) and and Alt do not play nicely with each other. I got Alt + h/j/k/l to switch ...
4
votes
0answers
141 views

Is it possible to save the state of open terminals?

When working on certain projects, I routinely open a number of terminals, navigate each of them to various directories and resize and position them on my desktop. Is there any way to save this ...
4
votes
0answers
704 views

Slow terminal print out

Just installed (netinstall) debian wheezy on a second machine newer machine however the terminal print out is noticeable slower than on the old machine although the new have faster CPU, RAM and HDD (...
3
votes
0answers
172 views

Hang applications when pasting from terminal

I am encountering a very weird bug. Sometimes, when I copy contents from the terminal and paste them elsewhere (e.g. in a text editor, in a browser tab) it hangs that application or browser tab. I try ...
3
votes
0answers
70 views

Detecting intervals of inactivity in the tty? (to simulate setterm --blank in fbterm)

setterm --blank n allows me to configure the virtual terminal to automatically shut the display off after n minutes of inactivity. Unfortunately, I spend all my time in fbterm, where setterm does not ...
3
votes
0answers
380 views

How to change secondary font used by gnome terminal?

Some environment infos: Arch Linux KDE Plasma 5.10.4 GNOME Terminal 3.24.2 Using VTE version 0.48.3 +GNUTLS I set to use Ubuntu Mono Regular font in gnome terminal profile. And Latin characters do ...
3
votes
0answers
55 views

Mac Command + Up arrow functionality in Linux terminals?

I really like the the Command + Up/Down arrow keyboard shortcut in Mac terminal. It jumps between user commands typed in the terminal. Is there a similar function in linux terminals (like the GNOME ...
3
votes
0answers
254 views

Control characters in a terminal with an active foreground process

Say I have a process running in a terminal in the foreground. While it is active I can type commands, hit return, and those will be executed once the process is done. Now say furthermore I would like ...
3
votes
0answers
315 views

What TERM types are still in common usage?

I want to support 95% of terminals on modern desktop machines (and terminal emulators on phones). Would supporting: xterm xterm-256color linux be sufficient? If not, which am I missing and where ...
3
votes
0answers
89 views

apt-get update updates every time

I just got Linux Mint 17.02 Cinnamon on my desktop, and the first time I ran sudo apt-get update it asked me something about interfering with files, but I told it to skip over some for whatever reason....
3
votes
0answers
5k 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 ...
3
votes
0answers
657 views

Trying to download new Yakuake skins on my Arch/Gnome installation, but cannot

Currently I am using Arch Linux with a Gnome Desktop Environment. Now I have chosen to use Yakuake as my terminal. I'd like to use other skins that other people have put up online for my terminal. ...
3
votes
0answers
305 views

Terminal pty name according to the source IP address

Is possible to have some Unix (either just in Linux) 'engine' mounting the pts'es (terminals) names according to their IP (socket) source ? In the past we could map each physical ports to its tty ...
3
votes
0answers
152 views

No Login on created on tty2 to 6

On my Debian Linux no Login is possible on terminals 2 to 6. Login on 1 works fine, xorg-session with XDM and awesome wm works, too. The Error Message shown on these 5 screens is: systemd-logind[...]...
3
votes
0answers
2k views

How to change colors of all running urxvt instances?

I'm used to black background and light green text when working on my urxvt terminals. But sometimes, when I take my laptop outside, it becomes hard to read and I'd like to change the colors of all my ...
3
votes
0answers
378 views

Best way to view scripted session logs

I have aliases set up for SSH and minicom to call simple wrapper scripts which just ensure that I get a log of the session. The logs are stored in a specified directory, and named with a tag and a ...
2
votes
0answers
30 views

Change output width (columns) of processes created by gnu parallel

I'm trying to save the output of a command into files and it seems to work fine. However, when opening one of the files, I can see that output was limited to 80 characters width. How can I ensure that ...
2
votes
0answers
70 views

Legitimate reasons for a program to intercept, internally handle and ignore SIGINT signal

We know that - aside from SIGKILL and SIGSTOP - a program can intercept IPC signals, and run its internal handler circumventing the operation of the default handler. I can think of at least one very ...
2
votes
0answers
90 views

Detect terminal font

I am running Debian live XFCE, and I cannot seem to determine the font used by the Terminal. I went to Edit, Preferences, Appearance and it just says "Monospace Regular". Then I did cat /etc/default/...
2
votes
0answers
62 views

Why can't I send a post request to my server after SSH logout?

I've created a .jar file which listens on port 8089 and receives post requests. I start it in the background on my linux machine with the following commands: nohup java -jar myServer.jar & [1] ...
2
votes
0answers
24 views

Printing the screen (text-mode) to paper without drivers?

I am currently working on a machine that has entered Emergency Mode for CentOS 7.6. To give myself a hard copy of logs and messages that appear on the screen (which are not from a file), I will take ...
2
votes
0answers
75 views

Difference between closing terminal and closing shell on child processes

Opening a new terminal and typing the command firefox& inside, ps -l gives : 4 R 1000 23132 23104 99 80 0 - 2177945 - pts/27 00:00:07 firefox If the shell is closed with the command ...
2
votes
0answers
114 views

fbterm as standard console at login

Does someone know if it is possible to run FBterm as standard console at login?
2
votes
0answers
1k views

VirtualBox Ubuntu: “can't find in /etc/fstab” error when mounting new shared Windows Host folder

I have been able to successfully mount a shared folder between my VirtualBox Ubuntu instance (v17.10) and my Windows 7 Enterprise (host) using the following code in the Terminal: $ mkdir ~/...
2
votes
0answers
120 views

Change tmux status bar if process is running

I was wondering if it's possible to change text in the tmux status bar (or BASH shell prompt as an alternative) if a specific process is running. I would specifically like an indicator to appear if ...
2
votes
0answers
73 views

Show colors from child shell in parent shell

I solved this once, but I cannot remember how I did! In my child process, I have this: echo -e "some control chars" In my parent process, it will show the plain string, without any terminal styling....
2
votes
0answers
468 views

Xfce broked / network not working

Well. Some days ago i made an 'apt-get install virtualbox' on my kali linux 2.0. I use xfce. apt-get downloaded like 300mb of files and installed about 1gb. Everything ok. Then i restarted my ...
2
votes
0answers
692 views

Open Google Chrome URLs from terminal

I was trying to open chrome://version/ from terminal using /opt/google/chrome/chrome chrome://version/ command. While it worked for /opt/google/chrome/chrome google.com it just open a new window for ...
2
votes
0answers
161 views

Sending a script to tty instead of vt (specific problem stated, other solutions welcome)

I am curious as to what is the simplest way of sending an executed command (in this case, a bash script), that had been executed in a terminal emulator into a tty. Context: I am sick and tired of the ...
2
votes
0answers
252 views

How to move scrollbar to the left in gnome terminal?

I'm using gnome shell 3.22.3 with the classic theme on RHEL 7.4 beta and I want to move the scrollbar of the gnome-terminal to the left side of the window. I tried adding gtk-scrolled-window-...
2
votes
0answers
948 views

How to display inline images in a terminal that update on scroll with w3mimgdisplay

The w3mimgdisplay program displays images in buffered terminal emulators. This is how: http://blog.z3bra.org/2014/01/images-in-terminal.html . But it is not very well documented. As pointed out in the ...
2
votes
0answers
31 views

Timed display of text in terminal, perhaps slight markup (bold, colors). A.K.A. “play .srt subtitles”

Independent of the media player, I want to display separate subtitles in a scrolling text terminal to make language learning easier, or when I want more/different subtitles than the other viewers, ...
2
votes
0answers
239 views

Key combo to Abort accidental massive paste-into-terminal mistake

Due to the vagaries of virtualbox's clipboard I ended up pasting a huge logfile into the terminal instead of a small snippet of text. At this point, as the log file contains many newlines etc. it ...
2
votes
0answers
154 views

inputrc GNU readline vi-insert mode mappings do not seem to take effect

I have set vi-mode in my ~/.inputrc. The command-mode keybinds seem to work fine whereas the insert-mode keybindings do not have any effect at all. Specifically, the following are my insert mode ...
2
votes
0answers
219 views

“gnome-terminal -e tmux ./” keeps opening terminals forever

I recently asked this question. I won't ever use the first method. gnome-terminal -e tmux ./ if I put that in .zshrc or .bashrc (both shells, same problem). If I use that, the terminal will keep ...
2
votes
0answers
2k views

SNMP query the network range for multiple OIDs

I looked for any SNMP scanner tool for Linux that can SNMP query an IP range for multiple OIDs and return results (if found), but didn't find anything. I have SNMP installed on Ubuntu, is it ...
2
votes
0answers
234 views

how to scroll multiple lines in zsh screen completion

Thanks to this question, I was able to configure zsh to properly scroll one line up or down when hitting "pgup/pgdwn" in a autocompletion menu: bindkey "${terminfo[kpp]}" up-line-or-history bindkey "$...
2
votes
0answers
624 views

ssh fails with “could not find home directory” (which exists and has permissions) even while a local terminal logs the same user in

I have a bizarre problem where ssh does not find a home directory for some users (that exists), yet the same user can login directly on my machine via a local terminal. Details follow: I maintain a ...
2
votes
0answers
308 views

What does ttyctl -f do, and why does it enable flow control in vim, mutt, etc.?

Background I have the following two lines in ~/.zshrc. setopt noflowcontrol ttyctl -f The first line disables flow control in zsh. I'm unsure what the second does, but I was advised to add it from ...
2
votes
0answers
721 views

Why is text mode scrolling slow?

In any text mode, from the GRUB menu loading, through booting, and also in any VT other than the one where X is running, text scrolling is abysmally slow (several seconds for a dense screenful of text)...
2
votes
0answers
79 views

appending & to unrecognized command closes terminal tab

I know about the use of & to background commands. But when I try to use it with an unrecognized command, for example entering a & into the terminal and pressing Enter, it closes the terminal ...
2
votes
0answers
401 views

reverse-i-search not showing all results compared to grep

I have always used reverse-i-search to grab my old commands, however for some reason its not returning all the results, at least the results I am expecting. desired command cat ~/.bash_history | ...
2
votes
0answers
352 views

ERROR Conterface Interface up or insufficient permissions: Too many open files in system

What does this mean 'Too many open files in system'. I have set ulimit -n 70000 so there isn't a limitation... [ERROR] Could not change MAC: interface up or insufficient permissions: Too many open ...
2
votes
0answers
898 views

How to mount usb drive without root or fstab?

I know this is one of those questions that have been debated up and down the web. But I still want to have some opinions on this. It is about mounting a usb-drive or usb-stick as a normal user. I ...
2
votes
0answers
54 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
0answers
250 views

Network traffic monitor “nettop” morphing away from expected results

On Mac, I open a new shell and enter nettop. For a split second I see chrome (as I expected) and some other things going on (had to record screen to catch them); then I'm only shown data on ...
2
votes
0answers
43 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 \\192.168....