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
98 views

Can't open Gajim

When I try to open Gajim using terminal on gnome I get the following: Traceback (most recent call last): File "gajim.py", line 106, in <module> import common.configpaths File ...
4
votes
4answers
522 views

Getting stdin from a named pipe

What I am trying to do is run python in a terminal window and redirect it's stdin from a named pipe. Then I write to the named pipe in another terminal and have that command execute on python. ...
5
votes
3answers
2k views

Ctrl + c will not kill process

I have looked for answers and so far have found nothing to answer my question. I am currently logging in to my Ubuntu server and upon running a process I can not run any of the interrupts on it. Here ...
2
votes
0answers
200 views

Change the default terminal for all .desktop files?

My htop.desktop launches XTerm, but I want to change the default terminal to xfce4-terminal in all "Terminal=true" .desktop files.
0
votes
1answer
152 views

Open screen in terminal after user login [duplicate]

When a user logins to my Debian server using e.g. Putty, I need to perform the following: It will automatically execute command screen -r MyWindow, and the user won't be able to leave the screen ...
5
votes
2answers
2k views

Copy / paste text selections between tmux and the clipboard

I am running the latest version of tmux (from the git repository) and xclip (0.12), and I would like to be able to use Emacs-like keyboard bindings to move around the text in copy-mode, copy (M-w) ...
1
vote
0answers
116 views

vi hangs when run in /dev/console under LXC

I'm running an Arch Linux container from within lxc. The lxc-start command connects to the internal /dev/console, on which I have agetty running using the following command: /sbin/agetty --noclear -a ...
2
votes
4answers
1k views

Ctrl-s hang terminal emulator?

I came across a sentence in vimdoc: Note: CTRL-S does not work on all terminals and might block further input, use CTRL-Q to get going again. and this key indeed hangs my vim. I was ...
0
votes
1answer
159 views

Move terminal emulator process from xorg to tty? [duplicate]

Is it possible (and if so, how?) to move a process from a terminal emulator running in X to a different virtual terminal, so that I can restart the X server without killing the process running in the ...
2
votes
2answers
158 views

End process from another SSH window

I forgot to use screen and I have a task that has been running for quite some time, and I do not want to lose the saved data. Basically Ctrlc will end the task and save the data if I am on the same ...
3
votes
2answers
1k views

Ctrl+a+d exiting terminal?

I don't know what I have changed, but if I am on a terminal and I press Ctrl+a+d (that is, the three keys simultaneously) the terminal is killed. This is on gnome-terminal on Ubuntu and using zsh as ...
2
votes
2answers
138 views

Highlighting command in terminal

I am running long builds with lots of data that I need to read through after each build. But I have to start from bottom up to reach to top and it takes lot of time as all the text looks same. I was ...
1
vote
2answers
244 views

Mapping intr to del key

I am in the process of migrating a legacy 4GL application from SCO OpenServer 5.0.7 to CentOS (Red Hat) Linux 5.9. There are a number of screens that prompt the user to press "DEL to ABORT" but is ...
2
votes
2answers
917 views

Horizontal Scrolling in Terminal

So there are I believe 2 questions on this already. All of them to do with tail -f and hence people give the tangent answer of "use less". I need it for everything, every command, etc. The problem ...
0
votes
1answer
2k views

Centos freeing up disk space

I have a CentOS server running Plesk and it's run out of space on the plesk partition. I have narrowed down where a lot of the disk space is being used, but I'm not sure how to move forward. Can I ...
4
votes
1answer
562 views

Is it possible to boot an x86 Linux kernel using both 80x25 text mode consoles and VESA framebuffer consoles?

The Linux kernel documents that you can choose to boot Linux with VESA framebuffer consoles instead of the default 80x25 text mode consoles. For text application testing purposes, one may need both ...
5
votes
2answers
1k views

“who am i” after “su” not showing new user id?

Why is it that when I switch user 'su username' and then execute 'who am i' is outputs the previous user which I was logged as and not the one I've switched to?
1
vote
0answers
138 views

Huawei modem change auto answer settings

Is there a way to change Huawei modem ATS0=1 command to be permanently set, so that there would not be need to send that command every time when modem is plugged in ? On each modem-plugin command is ...
4
votes
1answer
275 views

Is there any way to have console (rogue) mode programs take over only part of the terminal screen?

I like the command line because it preserves the context of what I'm doing. But if I use a "rogue" mode program like vi or less, the whole screen gets taken over. Is a middle way possible, where the ...
2
votes
1answer
132 views

How to detect if a program is not run from a terminal

If I am running a reverse TCP shell and attempt to run su, I get the following message: su: must be run from a terminal I would like to emulate this behavior in my own program and am wondering how ...
1
vote
2answers
332 views

Invoke a command/script disconnected from the controlling terminal?

I'm investigating the behaviour of a script that is normally run as an automated process (e.g. cron, Jenkins). The script can (eventually) invoke commands that behave differently (seeking user input) ...
2
votes
1answer
185 views

What's those underscore commands?

When I tab tab _ in terminal, Bash suggests 206 posibilities. I tried to run one of them _git_rm but nothing happend, what are they? Here is a screenshot:
1
vote
2answers
337 views

change terminal window default location

How do I change the default gnome-terminal location on screen. I checked out the preferences but they only have option to change default size. I also checked out .gconf/apps/gnome-terminal/ but didnt ...
0
votes
1answer
212 views

How to change keyboard speed in the Linux console? [duplicate]

When I press Ctrl + Alt + F1 the desktop environment disappears and a terminal window appears. Pressing Ctrl + Alt + F7 brings me back to DE. This terminal is useful when the DE hangs for some reason ...
2
votes
1answer
315 views

Tmux status bar question

I'm fairly new to tmux and to truly master and learn it, I decided to make myself a fresh .tmux.conf I was wondering, though, if it's possible to hide a path in the status bar. For example, I have ...
1
vote
0answers
96 views

touchpad scrolling lost when switching between physical and virtual tty

I have setup touchpad scrolling by running the following script in .xsession $ cat ~/bin/enablescrolling # enable two finger scroll synclient VertTwoFingerScroll=1 synclient HorizTwoFingerScroll=1 ...
5
votes
1answer
240 views

How to get background color in Emacs?

In Emacs no window mode, the background is automatically the same as the terminal (gnome-terminal). When I look at (frame-parameters) I see that (background-color . "unspecified-bg"). Well, for me, ...
0
votes
1answer
53 views

What characters in my printed boot scroll are artifacts?

I am a tech writer and I need to include a boot dump in a document. The dump the engineers gave me has some "bad characters" that I need to delete. What form does a "bad character" take? There are ...
4
votes
3answers
539 views

clear command in Konsole

I know about the Linux clear command, but it just moves the previous output from the visible part of terminal window (KDE Konsole). I can still scroll up and see all previous text. Is there similar ...
0
votes
0answers
88 views

Send update ping to ping services in Terminal?

I want to send ping from http://www.mysite.com/rss.xml to http://rpc.pingomatic.com Is there any way using terminal to achieve this?
0
votes
2answers
867 views

Why screen is not splitting my GNOME terminal?

I am working in a remote Linux box using VNC.I have a single terminal with lots of tabs opened in my system. How can I split them using the screen utility? Does the screen utility work with already ...
5
votes
1answer
36 views

IO and other shell commands when a program is not started by a terminal

I have several launchers on my desktop for various programs, and there is a "run in a terminal" setting for those launchers. When I check that setting, the program runs from a terminal, and logs its ...
1
vote
1answer
233 views

Is there some sort of “no newline at eof” rules for bash scripts?

I have two files, an env file and a run file. When I deploy them to my Ubuntu Server box I get the error: ./start-admin: line 10: syntax error: unexpected end of file If I deploy and then add a ...
3
votes
2answers
166 views

Vimrc, map control-; to an action

How do I map holding down Ctrl and pressing ; in Vim? It doesn't work on my Linux terminal. Ctrl-l works fine after putting <c-l> some_action in my vimrc, but <c-;> some_action does ...
7
votes
3answers
2k views

How do I opt out of recieving broadcast messages?

I am logged in to a university system and a very annoying n00b thinks he or she is some awesome hacker because she or he can broadcast an object dump to everyone using pipes. I bet they think it is ...
18
votes
2answers
5k 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. ...
2
votes
1answer
97 views

How can a bash script detect support for window titling escape characters?

I have a debug trap that runs every time I enter a command in bash that sets the window title to indicate what command is running. I'm leaving out all the configuration details and boil it down to: ...
4
votes
4answers
3k views

How to change title in gnome-terminal profile

I know how to load a specific terminal profile as well as loading a config file that the terminal reads, but every time I try to set the title and save the config file, it still returns to the ...
19
votes
3answers
8k views

How to remove “You have mail” welcome message

When I open up my terminal it says "you have mail", anyone has any idea of why? I am running OS X, but since it too is based on Unix and relies on files such as bashrc, bash_profile etc. I thought ...
4
votes
3answers
239 views

Is a command's stdout to the terminal being logged?

I am interested in learning whether a command's output to the terminal is logged somewhere. Since that can be a bit too generic, what about cat (and ccat) in specific? If I use cat on a file, will ...
0
votes
1answer
1k views

Cannot execute binary file on Mac OS X Lion 10.7.5

I want to execute phylocon on a mac OS X lion but after changing the path and making the file executable, I get the error 'cannot execute binary file'. But the steps that I took to running the command ...
2
votes
1answer
30 views

messages appearing when not desired

I have SSH access to a CentOS box and I have a strange behavior of that box, I have never seen before. Lets say I am editing a file with vi or displaying tail -f of a file. Every time the server has ...
0
votes
1answer
42 views

Looking for an 'all in one' application with a script panel and a console

I'm quite impress with Windows Powershell ISE. Here is a nice video. ISE stands for 'Integrated Scripting Environment' and it's an application that has a panel at the top for scripting and a panel ...
5
votes
1answer
117 views

Why are multiple command-line terminal consoles available/running at the same time on RHEL systems?

I'm studying for the RHCSA and am trying to wrap my mind around a seemingly basic concept: terminal consoles. I don't understand how/why RHEL systems make 6 terminal consoles (/dev/ttyN) available ...
1
vote
1answer
216 views

Can I use xterm to read/write to a pts without spawning another process (e.g a shell)?

I have a process which reads and writes to a pseudo terminal. I would like to open xterm and have it open a pseudo terminal and leave it open so I can communicate with this process without creating ...
1
vote
0answers
170 views

How to setup an audio/sound output monitor/listener?

I am working with an Arduino and am trying to get it to respond to sound when it is played on my computer. I'm communicating with it over a serial port. I need to know if there are any audio/sound ...
3
votes
1answer
815 views

New terminator window on remote server

Is there a way to open a new terminator pane on a remote server when connected by ssh? I am looking for something similar to what can be done (according to this answer) by tmux but using terminator ...
2
votes
3answers
232 views

Linux GCC compiler options

I have recently started using Linux as a tool for programing. In my book, I have seen that the GCC is used with 2 options: -g and -o. Now, I know that -o is to set a filename, but what is the purpose ...
9
votes
6answers
546 views

Is there a terminal app that allows filenames to be clickable?

Is there a terminal emulator (extension or app) that does link resolution for local paths? In particular when I see things like: ...
0
votes
2answers
319 views

Bandwidth, CPU & Memory stats returned in single line from terminal

I'm trying to create a simple monitoring system that will show a graph of sales that is linked entirely to data of bandwidth, CPU and Memory stats as they relate to sales. So if I sale 1 widget per 5 ...