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

0
votes
1answer
23 views

Difference between tty and ttyS and pts and vcsa? [on hold]

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
20 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
2answers
26 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
17 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
2answers
33 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
96 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
31 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
30 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
15 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 ...
0
votes
1answer
21 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
votes
0answers
22 views

accessing router through terminal [closed]

I am setting a ftp server on fedora 20(vsftpd). And all the basic configurations are complete. But now I have to tell my router about ports that need to remain open. However, this is possible from ...
1
vote
1answer
28 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
38 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
20 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
16 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
29 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
30 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
20 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
30 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 ...
-1
votes
0answers
21 views

Startup script run “oh my zsh”

I want "oh my zsh" to run below script each time it loads "echo 'export PATH=$PATH:/Applications/orca' >> ~/.bash_profile; source ~/.bash_profile" this would easily run orca software each ...
3
votes
2answers
261 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
81 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
0answers
32 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
31 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
383 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
25 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
16 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
33 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 ...
0
votes
0answers
11 views

Synchronize strings copied on vim with the xserver clipboard [duplicate]

How to copy a string in vim under terminal and get it available in the main clipboard? Seems that by default, is not possible to copy from vim to my browser, for example
3
votes
1answer
20 views

sudo command inside heredoc block in a ssh session is not working

When i use heredoc and put all the commands inside heredoc as, ssh -t -i master.pem cloud-user@$1 <<EOSSH sudo service x restart sudo service y restart EOSSH it throws error as, ...
0
votes
0answers
19 views

tmux doesn't resize with terminal window

When I resize a terminal window containing a tmux session, tmux doesn't detect this change, but continues to function normally within the old window boundaries. tmux ls shows no other attached ...
0
votes
1answer
21 views

gnome-terminal broke after adding command to initialize

I just broke my gnome-terminal. At the options I tried to force my terminal to open with 256 colors adding the command: export TERM=xterm-256color but now my terminal open and exits immediately. ...
0
votes
0answers
5 views

Keyboard's Control key detected as Primary

I use ArchLinux 64-bit, with these apps: xfce4-panel 4.12.0-1 xfce4-session 4.12.1-2 xorg-server 1.17.1-7 xorg-server-common 1.17.1-7 xorg-server-xwayland 1.17.1-7 xorg-setxkbmap 1.3.1-1 xorg-xauth ...
5
votes
3answers
185 views

How to display commands in a different terminal?

I have a raspberry pi with a screen attached to it. It boots up to a login prompt. I have no keyboard and no mouse attached to it and would like to keep it this way. I proceed to login to it via ssh ...
0
votes
0answers
18 views

Serial Console Log Redraw Characters [duplicate]

We have a server in our infrastructure that logs all serial output of devices. One of the main issues we experience with it, is that sometimes we get output that is virtually unreadable due to the ...
3
votes
1answer
98 views

terminal color theory

TLDR: What is the theory behind terminal colors? I have a fixed value of LS_COLORS in numbers: ...
3
votes
2answers
69 views

preventing terminal prompt from being overwritten by program output

Suppose I run a command like this in the terminal: ~$ echo 'sleep 2; echo "hello!"' | sh then start typing the next line. After two seconds the words "hello!\n" will be inserted into whatever I'm ...
5
votes
1answer
50 views

How to scroll up after a kernel panic?

While tinkering with a Linux VM I regularly get kernel panics, that push up all the helpful output with stuff I don't understand and that is probably not helpful to me. The panics mostly occur during ...
0
votes
0answers
30 views

How can I update or upgrade BOSS Linux by terminal?

I use EduBOSS Linux 3.0. Since installation I still not update my OS. But I want to solve some Audio, Video and Graphics problems. To solve that problems I want update my BOSS Linux. How can I ...
5
votes
2answers
74 views

How are terminal length and width forwarded over SSH and telnet?

When I view the length and width of my terminal emulator with stty size then it is 271 characters long and 71 lines tall. When I log into another server over SSH and execute stty size, then it is also ...
1
vote
1answer
18 views

keyboard shortcut for terminal opens and instantly closes terminal (konsole)

After upgrading to latest Kubuntu 15.04 my keyboard shortcut ctrl+alt+T no longer works. The konsole window opens and instantly shuts down. Different keybindings dont work either. Other shortucts like ...
0
votes
1answer
44 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: ...
0
votes
1answer
60 views

What does this ls command do? [duplicate]

what does this command do if it was executed in my current working directory that has files in it? ls 2> result I think whatever ls writes will be redirected to the result file? Is that correct and ...
-5
votes
1answer
36 views

Find Command: display the file numbers [closed]

I have a couple of questions about the find command. How to show how many files and directories(only the result numbers) within the /var directory (and below) are owned by someone other than you or ...
2
votes
1answer
53 views

What happens step by step when using “rm -rf directory”? [duplicate]

Let's assume that I have 150 GB of data in a directory and I have accidentally run this command for a directory. Suddenly I realised, I should not put "/" in the beginning of directory and I ...
5
votes
3answers
157 views

cssh: change terminal from xterm to terminator

I would like cssh to use terminator terminal emulator, instead of the default xterm. In ~/.clusterssh/config I have changed the following line: #terminal=/usr/bin/xterm terminal=/usr/bin/terminator ...
2
votes
2answers
61 views

What allows a command to be typed while the previous command is still running in foreground?

Sometimes I have seen when one program (say A) is running in the foreground and printing its output to stdout, I can type another command (say B), and when I press Enter it is run, even though I had ...
0
votes
0answers
13 views

Changing from bash-4.3$ to [user@hostname currentfolder]# [duplicate]

I'm tring out different linux distros. I've settled on Fedora, but I'm a bit confused. On my other distros, my terminal would open up with a [user@hostname currentfolder]# before each prompt. Now I ...
0
votes
1answer
73 views

sudo apt-get update doesn't work

I am using ubuntu 14.04 LTS. when I run sudo apt-get update command in terminal, following error will appear E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) ...
1
vote
1answer
20 views

Resizing the terminal window for ipython command prompt

I am using the OS X Terminal (I know, not Linux or Unix, but hopefully that's irrelevant here) for a number of operations, and commonly use nano to quickly edit files. In doing so I often resize the ...