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

2
votes
1answer
13 views

Strange characters after pressing numeric keyboards in VIM editor

I'm running VIM under GNU screen. When I'm in insert mode and press e.g. asterisk symbol on numeric keyboard, instead of asterisk I get <F3>, when I press e.g. 4 I get t followed by newline. My ...
2
votes
3answers
27 views

How do I remap newline and carriage return regardless of the terminal used to connect?

All my configuration is stored in my github account (https://github.com/mnebuerquo/dotfiles) so I can just clone my repo and run my install script and my home is configured to use all my tools. I ...
0
votes
0answers
16 views

Can I cheat the docker run -it session by remapping ctrl+p key?

This is regarding this issue with docker: https://github.com/docker/docker/issues/3519 and http://stackoverflow.com/questions/20828657/docker-change-ctrlp-to-something-else As I understand this, the ...
0
votes
0answers
6 views

Regd: Can't able to enter into ubuntu desktop via admistrator login [on hold]

I gave the right admin credentials but couldn't login into desktop. If I give the credentials means its redirects to terminal and within a fraction of second again it will come back to switch user ...
1
vote
2answers
34 views

Trailing spaces when copying from console

It's this annoying behavior I've been experiencing here and there occasionally: when you select text with mouse in console (that is, copy it), paste it, and realize you've got extra spaces at the end ...
-3
votes
0answers
17 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 ...
2
votes
2answers
31 views

find closest matching folder

What is the best way to sort the results of $ find . -name scripts -type d by the occurrences of '\' and then choose the first result. I want to create an alias that would cd down to a common folder ...
2
votes
2answers
101 views

Redirect output of less utility to a file

Here is what I did less -N file1 > file2 what I want is writting file1 into file2 with line-numbers option. But I failed with that. Any suggestion to do that? Why I failed to do it? Thanks.
2
votes
1answer
71 views

Unable to get back to bash prompt after strange command

I was messing about with different wildcards and ran the following command: ls testdir/!(*/) after which I was completely unable to get back to the bash prompt. None of ^C, ^D, or even ^Z worked: ...
0
votes
3answers
57 views

Delete all files that DON'T have duplicate names?

Given a large list of files, containing the following: FILE1.doc FILE1.pdf FILE2.doc FILE3.doc FILE3.pdf FILE4.doc Is there a terminal command that would allow me to remove all files that do not ...
0
votes
0answers
9 views

What is the difference between Uni1, Uni2, and Uni3 terminal font codesets?

I'd like to change my terminal font to any of: /usr/share/consolefonts/Uni1-Fixed15.psf.gz /usr/share/consolefonts/Uni2-Fixed15.psf.gz /usr/share/consolefonts/Uni3-Fixed15.psf.gz What is the ...
0
votes
2answers
34 views

grep for lines/files that contain exactly X chars

Here's the output of a grep command I ran: [user@localhost] : ~/Documents/challenge $ grep -i -e ".\{32\}" fileA fileB fileA:W0mMhUcRRnG8dcghE4qvk3JA9lGt8nDl fileB:observacion = new Observacion(); ...
0
votes
0answers
12 views

Weird UI glitching in VIM adjusting split bar

i just installed gvim on linux mint and I'm experiencing some weird UI glitch when adjusting the split bar and it also seems to happen when making changes to files in the editor. I have similar ...
1
vote
0answers
17 views

tmux select-pane -LDUR command - disable auto-cycling behavior

is it possible to disable the behavior which cause selecting a pane on opposite side of a tmux window if there is no more pane left in a direction select-pane command was originally triggered at? if ...
1
vote
2answers
24 views

Issue commands at the same time in several terminals

Desktop -> ssh -> Servers Are there any solutions to have several windows in my desktop and: If I issue a command in one window, the same command thing will be issued on other terminals too. So if ...
0
votes
0answers
16 views

Vi buffer contents stay on-screen after using screen commands

In shell terminal, echo $TERM --- prints xterm Now i do vi somedoc and exit, vi contents disappear from the shell screen and the shell's previously ran commands are visible. So far, all good. Now ...
2
votes
0answers
36 views

Eliminating trailing space on wrapped lines in a terminal

In some terminal sessions, a space is inserted where long lines wrap. When copying multiple lines with a mouse, the inserted trailing space on each line is included. When pasted, one must manually ...
1
vote
1answer
18 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 ...
0
votes
0answers
21 views

I keep getting a space in my program from cin.get() [migrated]

This is my program: #include <iostream> #include <cstdlib> #include <ctime> using namespace std; #define RAND(a,b) (a + rand()% (b-a+1)) int main() { int num; int ...
-3
votes
1answer
35 views

How to solve terminal window [closed]

I am getting the following error: There was an error creating the child process for this terminal Failed to execute child process "terminal" (No such file or directory) Please help me resolve ...
1
vote
0answers
10 views

Difference of meta-data between mdls and mediainfo [migrated]

I was wondering what are the difference between the type of metadata returned by mdls and by mediainfo. Why are they different? For exemple why the creation date is different on the same file? ...
0
votes
1answer
24 views

MobaXterm: How to see previous commands' terminal output while still being in VIM? (Equivalent of 'Shift + Page Up' in PuTTY)

I'm finding this difficult to explain because I'm not sure what this is called technically so please bear with me. What I want (which is possible in PuTTY): 1) Login to a machine (using PuTTY) 2) $ ...
0
votes
1answer
16 views

How does Elinks renders the HTML? [closed]

I like the elinks browser and I would like to know how does it render the HTML into text, using ANSII styles. I suppose there is a library behind elinks to handle the rendering, or it should be. Is ...
0
votes
1answer
33 views

Difference between tty and ttyS and pts and vcsa? [closed]

I can't understand what is difference among tty, ttyS, pts and vcsa? Are they same? when we connect a serial cable to a server which hosts unix-like operating system, which ones of these type of ...
1
vote
0answers
23 views

-devilspie doesn't play nice with spawning new terminals

I'm trying to configure devilspie so that on detection of opening a certain directory it runs a script to mount that directory over a network. I don't think the script itself is too important but ...
0
votes
3answers
36 views

ssh from screen leads to unknown terminal error

I'm trying to make an ssh connection (via lsh) from one Ubuntu host to another from within screen. If I try to run mc right after that I get the following error: Unknown terminal: screen-256color-s ...
1
vote
1answer
27 views

Tmux displaying quotes/messages on startup

I have installed tmux on Linux Mint Debian Edition and every time I start it or create a new pane/window it displays a random quote or message above the prompt. It's driving me crazy and I cannot seem ...
1
vote
1answer
46 views

Using cron to start a process on a terminal without using screen?

I want to start a process in a terminal using cron. I want the process to start in a terminal, so that I can continuously see the output of the process on the terminal, and kill it / restart it etc. I ...
1
vote
2answers
47 views

how to use nohup while still sending stderr to the terminal

nohup automatically redirects stderr to stdout, but I want to send it to the terminal (it shows progress). How can I do that?
5
votes
2answers
115 views

Silent GnuPG password request with bash commands

I'm trying to hide the "output" of a gnupg command, but it seems that it is always printed. the command is: echo "thisprogramwørks" | gpg -q --status-fd 1 --no-use-agent --sign --local-user D30BDF86 ...
3
votes
1answer
39 views

Background color whitespace when end of the terminal reached

I am working with control sequences for text formatting and have stumbled upon some unexpected behavior. I have some text to output, in the middle of this text there is some smaller text block ...
0
votes
2answers
40 views

Java programs not running in terminal

I have java 8 installed on fedora 20. Any java program runs perfectly fine via eclipse but when I run the same program on terminal it reports an error saying 'could not load main class' . what could ...
0
votes
1answer
21 views

dsniff not showing

How can I check a package? I installed dsniff and I can't access any of it's tools from terminal. I type arpspoof and nothing. Tab key doesn't autocomplete. Dsniff is installed using sudo apt-get ...
1
vote
1answer
26 views

Gimp canvas resize through terminal

I have multiple images in wrong canvas sizes and I need to resize them like this: for i in *; do blabla $i -resize 500x500 $i; done I can already resize image with convert tool but I need to resize ...
1
vote
1answer
40 views

Terminator not working!

Terminator is my choice of terminal in debian. I somehow broke it while playing with its profile preferences. I cant open it normally as other applications. However after becoming root i can access ...
0
votes
1answer
54 views

why are colors mixed up in CentOS 7 terminal?

I have CentOS 7 running as a guest OS inside a VirtualBox host. I opened a terminal to write some commands, but the colors are all messed up as shown in the following print screen: It looks ...
1
vote
3answers
28 views

Order of text jumbled when printing

We run an automated process which changes the data structure in a file, and it has run for about a year without any issues. It has just started failing and I have narrowed the problem down to one of ...
-1
votes
2answers
17 views

OpenDNS automatic diagnostic

I've contacted OpenDNS support because advertising are not filtered on this site http://www.backpackerboard.co.nz/ They asked me to read this manual instructions ...
1
vote
1answer
59 views

Escape sequences for function keys (F1-F12), especially F11 and F12

I want to use the terminal multiplexer byobu, so I need to use the function keys (F1-F12). However, I am accessing a remote machine via SSH, so I need to send function keys over SSH. (I'm running ...
0
votes
1answer
33 views

How would I start a program when I login to terminal? [duplicate]

Simple question, but too generic to find on google I guess. How would I set-up a program to run every time I opened terminal? for example; ever time I open the Terminal it runs hello.sh which would ...
1
vote
1answer
25 views

automatic line on every terminal tab open

I started getting this weird line every time I open a new terminal tab. 3='cd -3' ruby-2.1.5 ➜ /Volumes/dev_directory It started about a month ago and I've looked in the ~/.profile ~/.bashrc ...
0
votes
2answers
31 views

Which file should be sourced in .devishrc to permanently change the hitch-file? [closed]

By default, in DEVISH (at least for me) the hitch file used is mhitch.py... I can change the hitch using the -h option for the shfile command, but I need to permanently set it to something... Any ...
3
votes
2answers
287 views

How do I select text from terminal by using keyboard only?

I used to select text via mouse click+drag but I want to know if I can do the same thing via the keyboard only? I am talking about selecting text with the help of the keyboard on gnome-terminal, etc. ...
6
votes
2answers
94 views

Why does the terminal echo keystrokes when commands are running?

I was recently running tail -f on a log file of a server that was running, trying to diagnose a bug, when I accidentally bumped the keyboard and typed some characters. They got mixed in with the ...
2
votes
1answer
48 views

“at” (batch) job + dialog = nothing

The goal: to be able to get an "infobox" to open in a terminal after some time; alarm clock style, (on a Debian derived linux box). However: > at now + 3 min dialog --infobox "Time to attend to ...
4
votes
1answer
37 views

Posix command that moves cursor to specific position in terminal window

in school we have been assigned a homework in which we are suppose to print an ascii art into a terminal window. A input is data in format [x_coordinate, y_coordinate, char_ascii_value] (there is no ...
4
votes
9answers
393 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
1answer
39 views

Shift + Ctrl + C (terminal copy) doesn't work since I installed Awesome WM

The title sums it up. Since I installed Awesome WM I can't use Shift+Ctrl+C to copy text from terminal (although Shift+Ctrl+V still pastes)
1
vote
2answers
21 views

How to input Chinese (JCK) in console without X running

Is it possible at all to input JCK languages (Traditional Chinese in my case) in the console without having X-windows running? All the help I have found online for Chinese input assume that X and ...
2
votes
1answer
36 views

Why does the `users` command return different users depending on whether I ssh or open a new terminal?

How does users define what users are logged in? If I ssh into a box twice, I see my username twice listed if I execute users. However, if I create a new login shell via sudo su -, I do not see root ...