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
0answers
27 views

If I cancel when prompted for my Git password, I can no longer see anything I type, until I log back in [duplicate]

Everything still works (typing "exit", for instance, exits), but I can't see anything I type. There's not "funny characters", just nothing. Even re-running git and entering the password properly ...
0
votes
1answer
68 views

Problem connecting with Beagleboard through serial?

I'm trying to connect to a BeagleBoard on Ubuntu using a Serial-to-USB adapter. It is currently being recognized as ttyUSB0 on our system. When I run "screen /dev/ttyUSB0 115200" the output just says ...
3
votes
1answer
1k views

How to change a font/background color in transparent windows?

When you select something, the color of the selection usually changes to the font color, and the font color is being set to backgroud color. So, if you have a black background in a terminal, and the ...
2
votes
1answer
74 views

Can I see remote terminal? [duplicate]

I am running a C program in a Cent OS machine. Now, the lab is locked in this weekend, but I have access to another lab of the institute. I can access the files etc. via SSH from a Mac machine in the ...
1
vote
2answers
107 views

Locked out of my own mac terminal?

So recently, some of my friends had been tampering with my files and data through terminal, so I decided to secure it by doing two things: First, I added the following to my ~/.bash_profile for ALL ...
1
vote
2answers
48 views

'Present' terminal window on shell/executable command?

Currently using Xfce and xfce4-terminal, but suggestions involving other Linux-based systems may still be helpful. I start a longish-running program in a terminal window, then alt-tab away and do ...
1
vote
0answers
86 views

how are runlevels from CentOS 6 chkconfig translated for CentOS 7 systemctl?

How would I translate the following command from CentOS 6 to run in CentOS 7? chkconfig --level 345 dovecot on My first guess is to type the following instead: systemctl enable dovecot But ...
14
votes
1answer
1k views

Documentation on LESS_TERMCAP_* variables?

I see these pretty colors in manpages viewed with less when setting a bunch of these variables. What do they mean, where is the documentation? Is this interpreted by less or termcap? screenshot
3
votes
1answer
309 views

Set default xdg-open application to terminal program

Is it possible to use terminal vim with xdg-open? I don't have a GUI text editor because I only use vim through the terminal. (I don't care very much for gvim either.) Is it possible to tell xdg-open ...
0
votes
0answers
46 views

Can I “hijack” a UNIX shell from another login? [duplicate]

Let's say I'm starting a job in a Unix terminal on a machine (a Mac if it matters), and this process does a lot of things and keeps printing output to the terminal. Then I go to another machine and ...
12
votes
2answers
1k views

Ctrl+D for ending terminal line input

If I do $cat > file.txt text<Ctrl+D><Ctrl+D> Question1: If I don't press enter, why do I have to press Ctrl+D twice? If I do $cat > file.txt pa bam pshhh<Ctrl+Z> [2]+ ...
1
vote
1answer
46 views

How does executing a file change the std input?

Imagine I have a script, which contains the goto command. The goto command will search in the std input for a line like this : jumpHere. But the std input is by default the terminal. It only makes ...
1
vote
2answers
145 views

Ctrl-z doesn't work in vi launched from Gnome terminal

I'm trying to switch Vi launched from Fedora Gnome terminal to background and go back to bash with Ctrl-Z but it doesn't seem to do anything.
0
votes
1answer
104 views

aterm or gnome-terminal window unresponsive to keyboard events

I try to investigate a problem: Depending on the way I launch aterm or gnome-terminal, the window may or may not be responsive to keyboard events. The cause of the problem may reside in Aterm, ...
0
votes
1answer
68 views

Selectively record commands and output from terminal to MySQL table

In some situations I would like to store complete commands and output from terminal sessions in a MySQL database. Ideally I would just copy the command and output from the terminal to my clipboard ...
3
votes
3answers
4k views

Sending message from one terminal user to another user

I have a user of name x in tty1 and y in tty2. Now x wants to write some message to y and vice-versa. Now I typed in tty1 terminal write y tty2 It is showing write:write:you have write permission ...
1
vote
0answers
112 views

Unable to create a configuration directory for [FishShell] Please set the $XDG_CONFIG_HOME variable

I'm getting this error when starting fishshell: melanie:~ melanie$ fish fish: Unable to create a configuration directory for fish. Your personal settings will not be saved. Please set the ...
0
votes
0answers
38 views

Errors on start of iTerm in Mac

I am getting two errors on startup of iTerm terminal on Mac OS X Yosemite. They are: bash: 1.25.32: command not found bash: Welcome: command not found I am unable to find a definitive resource on ...
7
votes
11answers
7k views

How do I run the same linux command in more than one tab/shell simultaneously?

Is there any tool/command in Linux that I can use to run a command in more than one tab simultaneously? I want to run the same command: ./myprog argument1 argument2 simultaneously in more than one ...
2
votes
0answers
49 views

What are the benefits of using Tmux at all times? [closed]

I have been using the terminal for all of my local work, and have only been using tmux when I am ssh'd onto another machine and want to make sure I don't lose work if the connection closes. A software ...
1
vote
2answers
65 views

How to get a positive signal upon the successful completion of a command

For each of the following commands (four in total) I would like get an exception if one of them throws an exception if case of an error. Ultimately, I will run this through Python using os.system(). ...
0
votes
0answers
133 views

How to disable “Warning: Program '/bin/bash' crashed” message?

I'm using Kubuntu 14.04. When I exiting terminal emulator (konsole or yakuake) by doing something like kill -9 $$ it doesn't close, and saying: Warning: Program '/bin/bash' crashed. How could I ...
2
votes
2answers
4k views

Command not found problem in Linux-Ubuntu terminal

My friend is having problem in trying to call make to compile an application which both me and a second friend have previously successfully compiled. The file uses a "linux-devkit" pack that possess ...
0
votes
1answer
157 views

Sudo command not working on Intel Galileo Gen 1

I have an Intel Galileo Gen 1 Arduino board and I am using it over SSH with Ethernet. When I try to use the sudo commands the bash terminal reports this, a missing command! I am using the bigger Linux ...
4
votes
0answers
216 views

Change Zsh theme in Android Studio

I've recently jumped ship to zsh and I'm using the Oh my Zsh! theme blinks. It looks very nice in the OSX Terminal, but it looks very bad in Android Studio's terminal. So my question is is there a ...
8
votes
2answers
663 views

Are there any linux terminals which can handle all key combinations?

I like to use emacs in terminal mode (-nw), but it seems most (all?) terminals can't handle some key combinations - for example, C-<RET> or C-M-%. I know this is because most terminals emulate a ...
1
vote
1answer
82 views

Is there a /dev/pts alternative on Mac OSX?

I'm attempting to determine how many terminal windows are open, as described in this Q&A answer. However there doesn't seem to be a /dev/pts on Mac OSX. Is there an alternative to this?
4
votes
1answer
1k views

Untar a specifc folder within tar.gz

How do I untar/uncompress a specific folder within a tar.gz using the terminal/commandline (Ubuntu 14.04 (Trusty Tahr))? Precise: -file.tar.gz -- folder1 -- folder2 How to extract... ... ...
2
votes
3answers
1k views

console vim in screen session: remap Ctrl-Shift-Left, Ctrl-Shift-Right to not delete lines

I have my gvim setup so that I can select word-wise with Ctrl-Shift-Right, Ctrl-Shift-Left etc. (yes, I know it's a bad habit, but it works for me..). Unfortunately, these key combinations delete ...
13
votes
1answer
244 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
4answers
6k views

Arch Linux terminal not starting

I just installed Arch Linux following a video tutorial from youtube for the first time. However, when I try starting the GNOME terminal it won't start. It will say Terminal at the top of my screen for ...
2
votes
1answer
20 views

Prevent application to tamper with terminal settings?

Recently, more and more GUI applications (okular and inkscape, among others) started disabling terminal echo while they are active. This seems unnecessary at best (if you don't background the process, ...
0
votes
1answer
1k views

exit tmux window without quitting the Terminal program

OK I'm new to this. I installed tmux to run a several days experiment. After typing tmux new -s name I got a new window with green banner at the bottom. I compile and run java program. Now I do not ...
12
votes
1answer
51k views

Sending messages to another user

Is there any command to send messages through the Linux shell to other people on the same network? I'm using write user and then write the message itself. But there's any command that doesn't show my ...
0
votes
1answer
276 views

Split the large files into sub files. How to do this process? [duplicate]

I have a large file in my unix box with 2 Gb. The files contains the xml lines. I want to split the files into say 10 files say each file is now of 204 MB ( approx ) so that combining the 10 files ...
1
vote
0answers
49 views

Resizing Xterm window kills Django running in it

I have a Django instance running in a terminal window. Any time I resize the window, the Django process dies ungracefully, leaving no record of it in the error_log file. I tested it within ratpoison, ...
0
votes
1answer
90 views

command “jobs” cannot see the stopped jobs

I have wrote a very simple shell script to practice command "bg" , "fg" and "jobs": #!/bin/bash myvar=1 while [ $myvar -le 100000000 ] do echo $myvar myvar=$(( $myvar + 1 )) done I use ...
0
votes
2answers
98 views

Using something like scp but when I've logged in already [duplicate]

I want to copy a file via ssh when I've logged in. What scp does is that it copies the files by login, password, path. What I want is to be able to do the same thing when I'm "inside", ideally without ...
2
votes
1answer
1k views

LS_COLORS settings for specific types of files

I'm trying to set up my color scheme for ls, and I'm having trouble finding information about exactly what parameters I have to work with, or where those come from. And especially setting colors for ...
2
votes
2answers
1k views

How can I get weechat to signal gnome-terminal on a highlight?

When using a terminal based client like weechat, weechat does not signal the terminal letting the user know that they have been highlighted. How can this be done? I would like my terminal to blink ...
0
votes
2answers
47 views

Pinpoint strange text at initiation of SSH session

On my OpenSUSE 13.1 (Gnome 3) system, whenever I start a SSH session, somewhere in the initialization, the terminal outputs some strange lines. Last login: Sat Nov 29 00:00:00 2014 from [HOSTNAME] ...
2
votes
1answer
72 views

How to make man(1) use the entire terminal width?

I'm on FreeBSD, using a wide xterm with, say, 132 characters per line. When running $ man man the manual page is formatted to fit an 80 character per line terminal width. Is there a way to make the ...
10
votes
2answers
501 views

How to start XTerm with prompt at the bottom?

When starting XTerm the prompt starts at the first line of the terminal. When running commands the prompt moves down until it reaches the bottom, and from then on it stays there (not even Shift-Page ...
0
votes
1answer
226 views

How enable ctrl + v paste in redhat? [duplicate]

I've installed Red Hat 6.5 and see that Ctrl + V does not work. It just prints ^V in the console instead of pasting from the clipboard. What can be wrong? How can I enable pasting using Ctrl + V?
0
votes
1answer
137 views

How to move a background job from one terminal tab to another? [duplicate]

I have a background job, say jobid 1, in a tab of gnome terminal. Can I move it to a another tab of genome terminal? I understand that the shell process in the first gnome terminal tab is the parent ...
2
votes
0answers
42 views

How to output rsync sent data in realtime using standard tools

I'm developing a small tool for some people who need to send files over to a server. I'd like to use rsync to a rsync deamon to do so. Is it possible to have rsync to output how much data it has ...
3
votes
5answers
6k views

Fix terminal title after SSH remote logging to another machine

right now I am using an one-line perl code to change titles of my terminal bars, print("\e]0;@ARGV\7"); but every time after I ssh to another remote machine, the title will be modified by the host ...
3
votes
1answer
113 views

Reading char-by-char silently does not work

I'm trying to read user input char by char, silently, as follows: while [ 1 ]; do read -s -N 1 ... done While this loop works perfectly using VNC (xterm), it works only partially using putty ...
0
votes
1answer
28 views

term definitions not found

I am trying to select best term for UNIX terminal , checked the term information post , but when I try to get information about ls /lib/term* its not defined. However I did find ls ...
1
vote
2answers
78 views

SSH Tunneling Through a Firewall to a Cluster

I work at a university but I often work remotely. There is a cluster computer at the university that I need to be able to interact with, but its behind a firewall. Let's call the firewall F and the ...