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

7
votes
5answers
10k 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 ...
4
votes
1answer
619 views

gnome-open replaced by sublime?

Update: It seems that it has been automatically fixed, however the same applies whenever I try to sudo gnome-open or gksu gnome-open Well, this is a really weird one. I'm currently running Mint 13 ...
35
votes
3answers
97k views

What is the best text-mode browser? [closed]

I am looking for one that is updated frequently and has support for many things.
1
vote
1answer
4k views

How to download all images from a website (not webpage) using the terminal?

I want a command that I type a URL, for example photos.tumblr.com, and it download all photos on this site in a folder, but not only images of the site's homepage. This command need to download the ...
2
votes
1answer
1k views

Garbage characters appear on screen when typing

When typing, garbage characters somehow appear on the screen for all the letters that I type. The garbage character is a small rectangle box, and this prevents me from executing any commands on the ...
58
votes
3answers
41k views

Scroll inside Screen, or Pause Output

I use screen for my command-line tasks while managing the servers where I work. I usually run small commands (mostly file-system tasks) but sometimes I run more extensive tasks (like DBA). The output ...
3
votes
1answer
534 views

Porting GNOME keyboard shortcuts to URXVT [closed]

I recently switched from gnome terminal to urxvt. I am also a heavy emacs w. tabs user which uses a lot of key combinations similar to urxvt (tab related stuff) like Shift-Left and Shift-Right. These ...
2
votes
2answers
525 views

What is the difference between `terminator -e ranger` and ranger from terminal?

EDIT: I just noticed that when I hit Enter on the ranger (if it is executed with terminator -e ranger) then nano opens while with e it uses my main editor. In contrast, when I use a normal shell to ...
7
votes
3answers
2k views

Colorized `cat` for source and script files? [duplicate]

Possible Duplicate: How can I display syntax highlighting on a file? Is there any application like cat, but with color output? I'd like to view my files with colors like in any IDE's ...
1
vote
1answer
396 views

How to stop appearance of ^T% in the first line when I open a new lxterminal tab with ^T in zsh?

Steps to reproduce: Have zsh as default shell. Open a new terminal. for example, with Ctrl+Alt+T. Press Ctrl+Shift+T to open a new terminal tab. ^T% appears as the first line I'm running ubuntu ...
2
votes
1answer
486 views

Shell from a Firefox tab

I have a requirement for a user in the office where they would like to open a terminal shell within a Firefox tab. Is this at all possible?
2
votes
2answers
2k views

Launch terminal in su mode XFCE

I want to set up a launcher for my terminal in XFCE that automatically prompts for the su password, in gnome my shortcut was: gnome-terminal --command="su -" --geometry=180x40+400+80 How do I ...
2
votes
2answers
134 views

Is there an easy way to stop and reissue a command?

I am doing Node.js development in Ubuntu and I'm curious if there is a way to quickly stop and restart a node server. I run this command to start my app: $ node app.js When I make changes to ...
9
votes
2answers
10k views

Execute command in remote active terminal

Suppose you have a terminal emulator (T1) open with a PID of 6350. From another terminal, type this command (C1): echo "ls\n" > /proc/6350/fd/0 This writes ls and the new line in T1 but does ...
0
votes
1answer
403 views

Run a script after some command were executed

I have a list of scripts ./myscript <param> | grep "asd" ./myotherscript <param> <param> > file ... How can I automaticaly run another script when one of these command in the ...
6
votes
2answers
4k views

Disable bold font in urxvt

I want to disable the bold font in my urxvt config (.Xresources). xterm has the option allowBoldFonts. Is there a similar option for urxvt? I can't find anything similar.
9
votes
1answer
3k views

How to save a session in Yakuake

I use the Yakuake drop-down terminal and would love if it could save my session of tabs somehow. When I have 6-7 tabs open, all named and everything, it is a giant pita having to re-create that on ...
-4
votes
1answer
167 views

Linux kernel compiling commands [closed]

I'm trying to make a mini operating system (using the linux kernel). I'm planning on it being for x86 and I'm trying to make it so that it not only runs on qemu but also on a real device. What are the ...
2
votes
3answers
3k views

open whole folder in gedit

Moving from OS X & Textmate to Ubuntu & gedit, the one feature of Textmate I am missing is it's command line tool. With mate I was able to open a folder as a Textmate project using mate . ...
5
votes
3answers
7k views

How do I run safecopy in terminal?

I'm very new to terminal and Linux so apologies! I have a crashed external hard drive that is spinning but wont appear on the desktop. I ran safecopy from terminal and this is what it said at the end ...
1
vote
1answer
326 views

How to active tabs on windows by terminal? wmctrl doesn't have option available

I'd like improve a script of mine that uses firefox to perform tasks. I need activate a window and a tab with a specific name. For example, the window name could be Mozilla Firefox and the tab ...
9
votes
2answers
3k views

Aliases and tmux

Aliases defined in .bash_aliases and .bashrc don't work in tmux. Can this be changed in some configuration, so the aliases work under tmux?
7
votes
4answers
5k views

Parallel execution of a program on multiple files

I have a small script that loops through all files of a folder and executes a (usually long lasting) command. Basically it's for file in ./folder/*; do ./bin/myProgram $file > ./done/$file ...
9
votes
2answers
4k views

Terminal 256 colors don't work through Tmux [duplicate]

Possible Duplicate: Getting 256 colors to work in tmux I want to set my terminal to 256 colors. I normally use the Gnome terminal which is shipped by default in Ubuntu but I also downloaded ...
3
votes
1answer
92 views

Color terminal under USS

I've been using a remote terminal connected to USS under a mainframe for some time. Is there a way to configure this terminal to be colored? I'm using PuTTY and xterm. Added: USS stands for UNIX ...
8
votes
4answers
9k views

Poor TTY resolution with nVidia driver

The resolution of the TTY1-6 is poor ~ 640×480 Ubuntu 11.10 | Grub2 | nVidia | NVIDIA GT215 Board I went through the process on this site and after the edit the GRUB menu appears in the correct ...
7
votes
2answers
334 views

Why doesn't `echo abc^H` just print `ab`?

As I recall, ^H means Backspace. I generated it by pressing CTRL+V, CTRL+H. So the ^H should remove the last character, as it is the same as Backspace and it should act just as if I pressed Backspace ...
1
vote
0answers
482 views

Any way to recover list of open terminal tabs/windows before my system went down unexpectedly?

I had been working with maybe 6 tabs open in various directories, when I left for a small vacation. Upon returning, I discover a power outage must have rebooted my machine. Is there any way for me to ...
3
votes
1answer
1k views

How to run mutt via ssh without going through an interactive shell

Mutt depends on curses according to this here, my discussion with Michael: @hhh: ssh hhh@server.com mutt <--- what is wrong here? trying to run mutt there... @MichaelMrozek: mutt uses curses, ...
2
votes
0answers
461 views

Terminal logging via putty on AIX (including smitty)

I use a terminal logging method on my Ubuntu Desktop for the GNOME-terminal (it's good when I use SSH in GNOME-terminal): Implementation As root: apt-get install bsdutils As the normal user: ...
2
votes
3answers
4k views

Terminal - display too small to run menuconfig?

I am trying to install drivers and when I try to run the command make menuconfig I get the error message that the "display is too small" for that command? What does this mean, and how to solve this? ...
1
vote
1answer
661 views

How does “Remote tab title format” in Konsole work?

Some terminal programs, in particular Konsole supports "Remote title format" which allows you to specify title for remote tabs which includes placeholders like remote host. How does this work? Where ...
3
votes
3answers
102 views

console space eaten up by file contents

see the example below to understand my problem ; consider my console prompt look like this user@server $ ls "I opened a file temp" user@server $ vi temp "temp will open in the same window, when I ...
1
vote
1answer
2k views

What does @ sign mean in 'ls' output on Mac OSX Lion terminal? [duplicate]

Possible Duplicate: what does the @ mean in ls -l? What does the @ sign mean in the following "ls" output? -rw-r--r--@ 1 root wheel 489 Jan 4 13:14 boot.plist
5
votes
2answers
1k views

How can I disable terminal resizing

Vim scripts sometimes resize the whole shell (in my case the Taglist plugin). I don't want this behavior, which is possible with the shell command resize, too. Is there a way to suppress the whole ...
1
vote
1answer
2k views

Running shell commands in .sh file results to error

I have two following linux shell commands: echo 'CPU type and model' cat /proc/cpuinfo | head -5 | tail -1 When i run these commands directly in Terminal, i get this result truly: CPU type and ...
2
votes
1answer
1k views

Printing files as PDF with syntax highlighting via terminal [duplicate]

Possible Duplicate: syntax_highlight <source_file> | lpr I have about 20 Python scripts that I wish to print as PDF. I wish to print them the way GEdit would allow me to, with: ...
6
votes
3answers
1k views

Change $TERMINFO in bashrc script

I'm trying to set TERMINFO="$HOME/.terminfo" within my .bashrc script. The reason being is that my terminal isn't in the system terminfo location, and so I have its terminfo file in my home directory. ...
3
votes
1answer
562 views

Can I configure XFCE terminal the way to open all the new terminals as tabs of one window?

I strongly prefer to have one terminal window with all the terminals being tabs in it, but the most usual way I open a terminal is calling it from another application (usually with "Open Terminal ...
0
votes
2answers
908 views

Errors when loading terminal

Every time I run a new terminal window (before I do a single thing), I am greeted with these messages: env: bash: No such file or directory env: bash: No such file or directory env: bash: No such ...
5
votes
3answers
3k views

How can you mirror the stdout of one terminal to another one?

I'm not sure if I'm phrasing the question correctly, but let's say that I have two virtual terminals open, and if I typed ls in one of them, I'd get the contents of the directory in both of them (the ...
7
votes
2answers
11k views

Encode with ffmpeg using avi to mp4

What command lines to use to convert from avi to mp4, but without destroying the framesize and making the file small as the original size or a little bit bigger, and same thing with mp4 to avi? ...
1
vote
0answers
372 views

ffmpeg: error while running with libx264

Main code: ffmpeg -i 2269801.avi -threads 0 -vcodec libx264 -b 900k -acodec libfaac -ar 44100 -ab 96k -ac 2 earthgirlsareeasy1.mp4 [libx264 @ 0x16cdde10]broken ffmpeg default settings detected ...
10
votes
3answers
2k views

Pushdown Terminal Output

Is there a standard way to reverse the output order of a terminal output, ie: ~/Developer $ command0 -bash: comman0: command not found ~/Developer $ command2 -bash: command2: command not found ...
2
votes
2answers
1k views

Cannot enter a forward slash character when logging in via ssh

When I ssh into one of our servers, I cannot enter a forward slash character, which makes it difficult to do pretty much anything (like ls /). How can I get the forward slash to work? Some ...
1
vote
0answers
269 views

i386 libtool conflicting with x86_64 libtool when installing Handbrake

I've been trying to install Handbrake on centos 5.8 with the help of some different guides. I'm running x86_64, and whenever I try to install packages necessary to build the binary, the arch ends up ...
4
votes
2answers
528 views

Is there a way to lock terminal's title?

Sometimes there're lots of different sessions opened in own terminal's tabs and it's rather desirable to have theirs initial titles (named by session name) locked since local title tweaks make those ...
2
votes
3answers
878 views

How to re-adjust content while resizing gnome-terminal?

Some times when I am compiling a script the parameters are so long that they cover many lines in the terminal. When I resize the terminal in order to read more clearly, the content does not ...
1
vote
0answers
103 views

Some of the users login screen do not display colors

In my lab I have Redhat Enterprise Linux 5 server. Users log in through telnet for C programming Some of the users' login screens display colors, while some other users login screen do not ...
0
votes
2answers
2k views

Terminal Character Encoding Issue BitchX

I ran BitchX on three different Linux OS-es because I got this weird � (question mark) on two of them (Linux OpenSUSE 11.4 and BackTrack 5 R1) using yakuake/konsole (OpenSUSE) and terminator/tilda (BT ...