The Linux Terminal (also called console) is a wrapper program which sends user input to the shell and outputs the result after the command have been processed.

learn more… | top users | synonyms

1
vote
1answer
87 views

What is the significance of baud rate in stty settings on linux?

I am wondering what the baud settings have to do with my terminal settings. How is the baud speed affecting my terminal? Shouldn't the terminal do more with CPI i.e. character per second settings? Is ...
1
vote
1answer
64 views

Is there any way I can control the output of my webcam?

I actually got this idea when I was using Google Hangouts; I was wondering if there was any way I could "hack" my webcam to make Hangouts display video that wasnt actually being supplied as input. ...
0
votes
2answers
172 views

Why is unmute not working with amixer command?

I am trying to mute and unmute using amixer command at terminal in Linux. The command used to mute: amixer sset 'Master' mute AND amixer set Master mute Both worked... But when I try to ...
0
votes
0answers
17 views

perl code to change colors back to original colors after they've changed from ssh'ing into another system

This is properly a followup question to The thread about changing xterm foreground and background colors. Mike provided the following perl code, which ensured that even after logging onto another ...
0
votes
0answers
73 views

Folders visible in terminal but not on file browser (pcmanfm)

I copied a folder onto a pen drive from my laptop at home yesterday. Today I wanted to copy these onto my desktop at work so I connected the pen drive and opened it with pcmanfm. To my surprise, the ...
2
votes
1answer
91 views

Is there a way to have a Y/N confirmation after Remove file/directory

I'm new to Linux and its terminal. I'm using Ubuntu 12.04, trying to learn about the Terminal's commands. I learned how to remove files and directories but saw that the system never asks you if you ...
0
votes
2answers
861 views

MobaXTerm colors are washed out - how to configure the scheme

Out of the box, MobaXTerm's rendering of the Midnight Commander screen looks like this (ZOC by comaprison to the right; PuTTY looks similar): How can I fix this? Is there some environment variable ...
2
votes
1answer
52 views

How do I disable pastying into my xterm?

Many times I have accedentally pasted into my Xterm window, with the result that whatever text is pasted in is executed by my shell (zsh). I would like to know if I can disable pasting into Xterm. ...
1
vote
1answer
503 views

How to log out current user?

I'm very very new to the linux world. I have just installed Ubuntu 12.04 and I was wondering how to log out my user using the terminal. I searched the web and all the sites say that I should run the ...
0
votes
1answer
92 views

How to terminate a program in linux command line (ctrl+c and ctrl+z are not working)?

I ran following command on linux terminal hdparm -T -t /dev/sda. It is not giving any output and i am unable to stop this by ctrl+c and ctrl+z. How to terminate this program with out restarting ...
0
votes
1answer
311 views

“gksu” doesn't prompt for the root password

I use this terminal emulator x-terminal-emulator and when I run this on a normal non-privileged user ~$ gksu /usr/bin/x-terminal-emulator an app starts and tells me to choose a password for a new ...
0
votes
1answer
72 views

remove duplicate values in a text file

I have a tab delimnated text file showing a comparison. like this: A B C D A 1 2 3 4 B 2 1 4 3 C 3 4 1 2 D 4 3 2 1 But I need to work with the data ...
3
votes
0answers
309 views

Keep Session with Terminator

I am using Terminator for multiple Terminal Sessions. I know I can start with custom Session layout but most of the time I have changing Session settings. Is it possible to save the current Session ...
6
votes
2answers
2k views

Script or launcher to setup multible terminal tabs in different locations

I have already studied this some time ago, but did not find any solution that would open terminal tabs, run some commands and then allow me to continue using those terminal tabs. All the ways I found ...
1
vote
1answer
287 views

rxvt - how to clear scrollback

I was hoping this would be an easy one but I don't see it in the man page and couldn't find it googling. Is there a keyboard shortcut or even a console command I can use to clear the scrolback buffer ...
3
votes
3answers
1k views

bash save history without exit

in linux ubuntu bash terminal. is there any way to save bash history without writing exit? i've set the config to "HISTCONTROL=erasedups" which in my opinion works better than ignoredups. anyways ...
1
vote
1answer
757 views

Terminal menu bar hidden

I unchecked the menu bar option in the View of the terminal on CentOS. Now this terminal menu bar is hidden. Is there a way to get it back?
0
votes
1answer
108 views

How to stop grep matching in terminal escape sequences (or colorize to multiple colours)?

I've written a bunch of scripts to colorize matches, like this: $ echo abcdef | grepg c ab[green]c[/green]def $ echo abcdef | grepr e abcd[red]e[/red]f It also works when I chain it: $ echo abcef ...
3
votes
2answers
498 views

How to remember multiple tabs' session in terminal in ubuntu?

I have opened many files in vim and there I am editing and tracing the program flow using ctags and I don't want to lose all those info in next reboot, I can't keep my system on for few weeks or ...
2
votes
1answer
431 views

Return to KDE after starting new terminal

I've just installed Arch Linux with KDE as a desktop environment. However after some initial steps I need to login as root so I hit Ctrl-Alt-F2 and I was thrown into the terminal (black screen/white ...
2
votes
1answer
387 views

How to display escaped characters in tmux status bar

i am running tmux from a tty on an embedded linux device. (NOT a terminal emulator) because the screen is rather small, i want to add some "icons" to the tmux status bar. to achieve this, i have ...
1
vote
1answer
519 views

Enable Alt-tab in Windows running through Linux terminal

Tearing my hair out over this. On my desk at work is a HP HSTNC-001L-TC terminal, and through this I connect to our server which has Windows Server 2008. The problem is alt-tab doesn't work. I've ...
0
votes
1answer
84 views

How to switch to another window when Ctrl + B does not work for tmux?

As we all know tmux is quite nice tool, but there are some scenarios that Ctrl+B cannot be used. For example, when I sshd to server A and now I connect to A's tmux pty. So Ctrl+B is captured by ...
21
votes
3answers
5k views

Replace OS X's shell commands with the linux versions?

The commands available by default in the Terminal in OS X, don't seem to behave like their linux versions. How can I replace all of them with the actual GNU linux commands? For example sed -i ...
0
votes
0answers
45 views

Ubuntu pervasive RubyGems

Hey guys I downloaded the Pagodabox gem via gem install pagoda which gives me the terminal command $ pagoda From here I can run all of my fun pagoda commands like $ pagoda -a app tunnel -c ...
0
votes
1answer
299 views

Infinite history in centos gnome terminal

I'm using Centos 5.x gnome terminal. I would like to know how to set the terminal to hold infinite history. It is possible in KDE terminal. Don't know how to do it in gnome. Please help
0
votes
1answer
543 views

virtual machine just like another terminal window in Linux?

I would like to have a 64bit Linux virtual machine running just like another terminal window in my 32bit Linux Vx-enabled laptop. How can I do that? I don't need a GUI for the virtual machine, just a ...
2
votes
2answers
3k views

How to turn on/turn off leds by terminal?

I would like turn on/turn off some of my leds running a command on linux. I use Ubuntu 12.04 LTS. I tried xset led named "Scroll Lock" xset led named "Num Lock" xset led 2 (this is the ...
0
votes
2answers
454 views

Strange characters in Linux console

I don't know how I've exactly managed to do this, but when I now invoke some commands (like man man or less) I see strange ESC[1 characters on the screen. It looks like this: The interesting part ...
0
votes
1answer
287 views

Linux Locate Command false info

I am running Arch Linux and have used the "locate" command quite often to find files. I noticed today, however, that it is bringing up results from where the item has been in the past, not it's ...
3
votes
2answers
1k views

Highlight a single word *always* in a terminal

Is there a terminal emulator (like GNOME terminal) for linux/unix out there, which allows for highlighting a single word always (such as "highlight the word FAIL in red")? Or maybe is there a plugin ...
11
votes
1answer
2k views

How to prevent a command in the zshell from being saved into history?

In Bash I know putting a space before a command prevents it from being kept in the history, what is the equivalent for the zshell?
1
vote
2answers
2k views

How to remove string pattern using linux's terminal?

I would like to remove a string pattern which like this You should not remove this /*This is the part should remove*/ You should not remove this I would like to remove all the text inside the /* ...
4
votes
3answers
5k views

Using Ctrl or Alt AND backspace to delete last word in Bash

In Linux I'm used to press Ctrl-Backspace to delete the last word but I don't know how to do it in Bash terminal. In OS X I use Alt-Backspace to do the same thing. Is there any way of making Bash ...
0
votes
1answer
220 views

double click/click-drag-release on terminal to select a text results CTRL-C

When I double-click in a terminal, for example xterm, konsole, to select text, it'll select text and then the cursor return. It's not expected because the cursor should be not be moved. I meet this ...
0
votes
1answer
110 views

terminal of linux

how to copy a file/folder to another file/folder in linux terminal.
3
votes
1answer
6k views

Linux console output - pause after each screen

when I list directories with a lot of files with ls -la or tree -L 3 I get many screens of output. To read one screen after another I add | more or | less, but the problem with this is that the ...
22
votes
3answers
32k views

How to show output on terminal and save to a file at the same time?

I am using: user@unknown:~$ sudo command -option > log to save the results of "command" to the file "log", but I'd like to also get the result on the terminal, is this possible? I am using ...
12
votes
2answers
39k views

How to run programs from a linux terminal without blocking the terminal?

Right now when I start a program from a terminal I can't use that terminal instance again until I close the program. I am a new user of linux, and I want to know if there is a way to execute a ...
3
votes
3answers
11k views

How to switch to non-graphical view in ubuntu?

I've recently installed Ubuntu. It's graphical; how can I switch to command-line mode so that everything is to be typed, like DOS?
10
votes
1answer
5k views

How do I copy a link in Lynx?

I'd like to copy the current link to the system's clipboard or write it to a file. If it isn't possible, I guess I'd have to settle with opening it in an external browser (which I was avoiding in the ...
2
votes
9answers
342 views

Terminal programs to replace desktop programs

What are the programs you use from a *nix terminal to be able to communicate in today's desktop world? Suggestions Terminal web browsers Terminal e-mail clients ASCII art renders Text rtf/pdf/etc ...
11
votes
10answers
10k views

Google Search from Linux Terminal

I saw a Google console app someone wrote a while back, but it was actually a website emulating a console. What I'm after is a shortcut or linux terminal app which I canuse to quickly search google. ...