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
2answers
28 views

Kerning problem when using a variable width font in Debian terminal

In my Debian Linux terminal some fonts looks like this. But any text editor (i.e leafpad) shows this font correctly. What is the problem?
23
votes
9answers
102k views

How to connect to a serial port as simple as using SSH?

Is there a way to connect to a serial terminal just as you would do with SSH? There must be a simpler way than tools such as Minicom, like this $ serial /dev/ttyS0 I know I can cat the output ...
0
votes
1answer
23 views

Serial devices?

Is it possible to do some echo on /dev/ttyS8 serial device in one terminal window, and in second to cat /dev/ttyS8 and display data from that file?
0
votes
0answers
7 views

Debian Jessie - Terminal not resizing for non-admin user

I've deployed a Debian 8 instance on ec2 using the "official" AMI listed for my region on the debian site. I logged into the default admin account and created another user before logging in as them. ...
0
votes
0answers
10 views

send bootup script output to virtual terminal

I have a script that I symlink in as /etc/rc.d/rc3.d/S30initialize which basically makes it get called when entering runlevel 3. I want for the output of this script to appear on the virtual ...
4
votes
5answers
759 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
44 views

How to make boot output verbose?

I use to enjoy watching my red hat then debian then ubuntu machine boot, the boot process was not hidden from my view, now it is, in most of all distros, now, I know I can somehow connect a terminal ...
1
vote
1answer
27 views

How to suppress exit code of finished background jobs

Is there a way to hide the exit code of the background jobs that have finished? For example, if I run: sleep 5& After the 5s, if I hit return the terminal gives me: [1]+ Done ...
7
votes
3answers
4k 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 ...
0
votes
2answers
35 views

error when adding user to wheel group in CentOS 7

I am trying to grant sudo privileges to a user of a CentOS 7 devbox by typing gpasswd -a user wheel, but the attempt is failing. What am I doing wrong? Here is what I typed: I discovered that ...
17
votes
3answers
342 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 ...
0
votes
0answers
23 views

Can't open steam application after installing SteamOS 2.0 (Brewmaster)

I was trying to install SteamOS Brewmaster update July 2015. Comes an error that I can't open the terminal, but I can fix it with reconfigure language from Ctrl+Alt+F2 or other. But the other problem ...
4
votes
2answers
75 views

Where is the `$TERM` environmental variable set in Debian Jessie for console logins?

I have read a lot of articles and SE questions regarding how and where the default $TERM environmental variable gets set. Unfortunately in Debian 8.1 I can't seem to find where the default $TERM ...
0
votes
1answer
30 views

Running script through bashrc causes nesting of tmux panes

I use the following tmux code in a script file tmux-dev.sh and add it to bash using bash /home/rohit/tmux-dev.sh : tmux new-session -d tmux split-window -h tmux split-window -v tmux -2 attach-session ...
0
votes
2answers
54 views

open(1) in rifle.conf for ranger on OS X

ranger ~/.config/ranger/rifle.conf For simplicity What one line – in the rifle configuration file – could cause open(1) to be used for all types of file? Background ...
63
votes
5answers
70k 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?
1
vote
2answers
35 views

Execute command inside another command

I'm trying to record my tmux session. I've got an alias record-session which executes command from ttygif ttyrec ~/ttygif/files/last-session. As far as I understand ttygif starts new terminal instance ...
0
votes
2answers
17 views

How to install PyX correctly for Scappy use? [closed]

When I try to run Scappy interactive shell I am faced with this: INFO: Can't import PyX. Won't be able to use psdump() or pdfdump() (The shell is working but of course I can not use the above ^ :( ...
9
votes
2answers
2k views

screen + vim — Any way to automatically set screen window name to open vim filename?

I have a pretty nice screen rc file that shows me the open screen windows almost like tabs at the bottom of the terminal. Currently the windows are named according to my prompt which is not so useful. ...
2
votes
1answer
35 views

No colour in MOTD

I recently bought a Raspberry Pi, and have started playing around with it. After changing my MOTD, (to include colours), the colour codes are coming up as raw-text instead of executing. I am ...
0
votes
1answer
18 views

How to display unicode characters in ncmpcpp

I am using Arch Linux and have UTF-8 encoding enabled. But how can I display a unicode character in ncmpcpp via the config file of ncmpcpp? I already added the line filesystem_charset "UTF-8" to ...
-4
votes
0answers
94 views

Kali linux does not boot in gui

I got kali linux installed on my pc for a while but now linux will not boot in gui mode , only in text mode ( terminal ). I get no errors on booting it goes directly to the login screen . Hope you ...
4
votes
10answers
414 views

How to quickly add some space in the terminal?

I often find myself scrolling back through the terminal with the mouse-wheel to see the first of many C++ template errors issued by a command. Anticipating this, I'll hold down the Return key to give ...
2
votes
2answers
152 views

Background color mismatch in vim and tmux

I'm having trouble getting the full range of colors to work in vim when I'm running through tmux. I belive that it's some sort of trouble with TERM variables or 256colors, but I've done everything I ...
1
vote
4answers
85 views

Set, backup and restore colors in the terminal

I use this program to display all color available in the terminal. That waht I get: This program doesn't show me colors below 100. Why? Is there a way to display them. Is the are way to change ...
2
votes
1answer
63 views

What is the kernel frame buffer?

I was reading the "mplayer" man pages trying to play video using just the console, (I don't have or don't want to install X11). It mentions that I can use the kernel frame buffer device which is ...
10
votes
1answer
9k views

How to automatically record all your terminal sessions with script utility

What I want to achieve is be able to record my terminal sessions to file automatically whenever I use Yakuake/Konsole. It's easy to achieve if at the start of my session I do: script -f ...
1
vote
2answers
66 views

Automatic login to multiple SSH root terminals

I am not sure if this is a security issue, or can be actually done. I would like to be able to boot up my PC, maybe run a program that will open about 5 shells, each SSH'ing to my local machine but ...
0
votes
2answers
42 views

what is the file descriptor of my terminal

I need to use tcsetgrp function to make my background process to foreground process, but The parameter of tcsetgrp is a file descriptor associated with my terminal. What is the file descriptor of my ...
8
votes
1answer
486 views

Caret square bracket square bracket A ^[[A - What does it mean?

Apologies if this has already been asked, but I have no idea how I can find this out myself - when I search for "^[[A" in any search engine it ignores the "^[[" part altogether. Anyway, my question: ...
1
vote
0answers
22 views

Byobu - New window with same ssh session?

Is there a way to configure Byobu to use same ssh session in a new window. For e.g. Open Byobu window ssh into a remote host Press 'F2' to open a new window. This opens the terminal with ...
0
votes
2answers
234 views

Why does OpenSSL automatically send me Terminal mail?

I for some reason am getting messages from OpenSSL constantly (not literally constantly, but every hour or so) sent to my Terminal mail box saying: Message 1: Subject: Cron ...
1
vote
2answers
23 views

Bash not sourcing ~/.bash_profile on os x

I just got this really wierd poblem. When I start bash, I get these two lines: -bash: fasd: kommandot finns inte -bash: brew: kommandot finns inte "kommandot finns inte" means command does not ...
3
votes
1answer
41 views

What is the effect of the underscore in [A-Z] [_a-zA-Z0-9]*?

In regards to regular-expressions what is the effect of the underscore in [A-Z][_a-zA-Z0-9]*
0
votes
0answers
24 views

Terminal wont launch at all!

I used Synaptic in Debian and installed some packages (around 466). After that I executed apt-get update. During the update it kept telling me that some files looked like they had been edited ...
3
votes
1answer
556 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 ...
0
votes
1answer
4 views

How to disable vcstime

There's a program /usr/sbin/vcstime which prints the date/time in the top/right corner of your terminals. You can enable it in /etc/kbd/config (on the last line). It's disabled by default. I'm having ...
1
vote
1answer
344 views

Error while importing Compiz profile from Terminal

File name : import.py #!/usr/bin/python import sys import compizconfig #The last input on the command line will be the path to save the file to. savefile=sys.argv[-1] ...
21
votes
3answers
67k views

What is the best text-mode browser? [closed]

I am looking for one that is updated frequently and has support for many things. Please also state how to install it.
23
votes
5answers
22k views

How to scroll in a terminal using keyboard?

How can I scroll in bash using only the keyboard? If it's not possible in bash, are there any other shells that support this?
1
vote
2answers
50 views

How can I make flashing text in bash?

In the script bellow, how can I make the the word "end" from the output of the command " printf "\e[41mend==>\e[m $i "", flashing? #!/bin/bash in=path_to_my_folder for i in $(cat ${in}/file.txt); ...
0
votes
0answers
17 views

st terminal run block of code

I can run a command with a new terminal by typing st -e <command> How can I run a block of code this way, for instance: for i in {1..100}; do echo $i sleep 1 done I thought it would work ...
2
votes
2answers
551 views

How to make FreeBSD variant of cal start weeks on mondays?

Can week start day be changed in cal output? Is it hardcoded? Notice: not the ncal.
1
vote
1answer
33 views

Bind Ctrl-\ in inputrc?

I've been futzing around with this and can't seem to get it to work. Using Ctrl+V in the terminal correctly outputs ^\ for this combination so it should be recognizable. As I have Ctrl+\ bound to ...
2
votes
1answer
35 views

Terminal - redirection of output to file is cutted

I am using command: ./cpp-generator > ~/log.log But when I open the log.log the file is short. It ends in the middle of word. But if I run just: ./cpp-generator in terminal is whole, full ...
0
votes
0answers
9 views

auto mp3 id3 tag updater as a service [duplicate]

I have an ubuntu 14.04 server running 7/24 as NFS, torrent server etc. I have many mp3 files needed to update id3 tags. Is there a way for auto update those mp3 files id3 tags like musicbrainz picard ...
2
votes
2answers
3k views

Get list of all files by mask in terminal

I want to find all *.h,*.cpp files in folders with defined mask, like */trunk/src*. So, I can find separately *.h and *.cpp files: find . -path "*/trunk/src/*.h" find . -path "*/trunk/src/*.cpp" ...
0
votes
1answer
58 views

Disable ctrl c and ctrl z while a script is running

I have a script that takes about 45 seconds to run. How can I disable Ctrl-c and Ctrl-z while a script is running?
3
votes
1answer
1k 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
1answer
24 views

I get a blank screen

My laptop is displaying a blank screen today, instead of the normal login window. I am using LUbuntu 14.04. I can get into the terminal and login, but how do I start lxde after that and how do I get ...