GNOME Terminal (often titled only "Terminal") is the default terminal emulator included in Ubuntu.

learn more… | top users | synonyms

16
votes
5answers
16k views

su command + authentication failure

I am having problems with the su command. I know my password and I am typing it correctly but su indicates authentication failure. So I checked on the internet and then went into recovery mode and ...
80
votes
14answers
69k views

How do I deactivate F1 and F10 keybindings in gnome-terminal?

How can I turn off the F1 (help) and F10 (notifications menu) key bindings? First one I need for screen utility and second to exit mc in console. There are no such key bindings in the Keyboard ...
20
votes
4answers
22k views

How to reset the terminal properties and preferences?

I fooled around with the colors and stuff, in the terminal, and now want to go back to the maroon and white default config of the the terminal. What files do I have to delete?
33
votes
10answers
22k views

Making Ctrl+C copy text in gnome-terminal?

Is it possible for me to make Ctrl+C perform a copy command if there is highlighted text in the terminal? Otherwise, it should retain its normal behavior. (If there is a terminal that can do this ...
71
votes
8answers
62k views

How to change Gnome-Terminal title?

I have several instances of terminals running in my working environment, what I would like is to set a specific title for each one, in order to have a clear idea what purpose the specific terminal ...
31
votes
12answers
38k views

Can not paste into Gnome Terminal from Netbeans

When I copy something from another window then my terminal and want to paste it into my terminal (on the command line) the paste option in Edit is grayed out. Ctrl+V does not work in GNOME Terminal ...
43
votes
7answers
38k views

Repeat a command every x interval of time in terminal?

How can I repeat a command every interval of time , so that it will allow me to run commands for checking or monitoring directories ? There is no need for a script, i need just a simple command ...
2
votes
1answer
6k views

Run simple bash script to start applications at login

I want to run a simple bash script automatically when I log in. For example #!/bin/bash echo "start spotify" gnome-terminal -e spotify --title spotify When I run this command, one gnome-terminal ...
28
votes
2answers
1k views

Write command in one terminal, see result on other one

I want to run a command foo on one terminal and pass the result to another terminal. Is it possible to do this ?
27
votes
3answers
15k views

Setting nautilus-open-terminal to launch Terminator rather than gnome-terminal

The nautilus-open-terminal package adds a menu/right-click option to open a terminal in the current directory. I want to change this from opening gnome-terminal to opening terminator. There is some ...
19
votes
6answers
832 views

Is it possible to open a terminal in the current directory?

I am new to Ubuntu, and was wondering whether it is posible to open a terminal with a path matching your current location in the file manager? In Windows it was very easy, but how do you do it in ...
14
votes
3answers
24k views

How do you set the title of the active gnome-terminal from the command line? [duplicate]

Is there a way to set the gnome-terminal title from within the terminal itself without having to right click on the tab. Something like: active-terminal --title "Foo" There was a related question ...
22
votes
9answers
18k views

How to set the terminal to open maximized

I want to tell compiz, metacity, the gnome-terminal or whoever is in charge to open the terminal window maximized by default. How can I do that?
18
votes
3answers
12k views

Why doesn't “cd” work in a shell script?

What is wrong with this easy script? I just want to write an script which change my directory: A. I put below commands on the file witch its name is pathABC on the /home/alex directory, #!/bin/sh cd ...
19
votes
2answers
11k views

How do I disable the blinking cursor in gnome-terminal?

I could have sworn that there was once a setting for this in the gnome-terminal "Profile". And then in some version of Ubuntu, that setting disappeared, and I had to use System ➜ Preferences ➜ ...
10
votes
1answer
1k views

Is there a good mono-spaced font for Devanagari script in the Terminal?

All the terminal fonts I have tried result in inaccurate rendering of the Devanagari sript (and/or Roman script) in the Terminal In the Devanagari script, a vowel binds itself to a preceding ...
7
votes
5answers
7k views

Command-line to switch between profiles in gnome-terminal

I created a new profile for gnome-terminal and I can switch between "Implicit" profile and the new created profile as you can see in the below image: Now I wonder how can I switch between profiles ...
4
votes
2answers
3k views

Did they just remove the Background settings for Terminal?

About 10 minutes ago I set up my basic Terminal app to be semi-transparent and was really happy with the result. Now, some updates ran and the whole "Background" tab is gone from Terminal settings. ...
38
votes
3answers
12k views

How to disable the alt-hotkey behavior on gnome terminal?

This is not just gnome terminal, but pretty much all gnome windows: When you hold the "alt" key, you can press the first letter of one of the menu items. This will let you scroll that menu without ...
20
votes
5answers
34k views

Backspace, Tab, Del and arrow keys not working in terminal (using ssh)

When I ssh into another Ubuntu machine with my account (with sudo permissions), my backspace key generates some awkward symbols on pressing. Also Tab, Del and Arrow keys don't work. On the other ...
21
votes
8answers
8k views

Dynamic line wrapping in the GNOME Terminal

How can you get the lines in the GNOME Terminal to wrap dynamically when you resize the window?
9
votes
1answer
6k views

Where is 'open in terminal'?

I'm trying to figure out where is 'open in terminal' when right clicking inside a folder? Last time I used it was in Ubuntu 10.10 and since upgrading have no luck with it. I gave up on Unity and ...
5
votes
1answer
564 views

Why does gnome-terminal $TERM display xterm

I'm trying to get the solarized color scheme in my terminal and am working through some tutorials online. I have run across the $TERM environment variable that from my understanding is the current ...
3
votes
2answers
151 views

Terminal Short-cut ctrl + alt + T, 2 terminals, different size

In Ubuntu, you can change the default size of the terminal using (edit>profile preferences) to change the size. How can you use the shortcut for bringing up terminal ctrl+alt+T to create two terminals ...
34
votes
7answers
10k views

Some fast way to save and restore tabs of Terminal?

I have a Terminal window with a dozen named tabs open. I would like to save the current configuration and have it restored with names and directories. Is there a way to do this?
18
votes
7answers
7k views

How to show a running clock in terminal before the command prompt

I prefer to use terminal and spend most of the time using it. I am searching a way to see time in terminal while I use it parallel. The time would change automatically when it passes. It would be ...
15
votes
4answers
6k views

Adding timestamps to terminal prompts?

I was wondering if it was possible to add timestamps to terminal prompts, and if so, how could I achieve this?
5
votes
4answers
8k views

Terminal command autocomplete

I'm currently trying to switch from OpenSUSE to Ubuntu as my main OS. While most of opensuse features is there in ubuntu, there is one feature that doesn't. In Opensuse, I can always use Ctrl+Up to ...
19
votes
9answers
1k views

How to display more than 1 terminal simultaneously

Sometimes when I work I use more than one terminal and I find it inconvenient to switch between them when all of them were invoked using Ctrl+Alt+T. I wonder if there is any program or terminal that ...
12
votes
1answer
269 views

How to stop reordering of the same kind multiple preview windows in task switching?

When using task switching in the default graphical mode of Ubuntu 12.04, if they are multiple windows of the same kind, eg. multiple Terminal windows, you can see them all together and select which ...
9
votes
3answers
2k views

Gnome-terminal tabs: no contrast between active and inactive tabs

In Ubuntu 13.04, I often have multiple tabs open in gnome-terminal. The problem is that, while I can set the title of each tab, it is very hard to tell which tab is active -- the color and rendering ...
21
votes
5answers
55k views

How can you quickly get the complete path to a file for use in terminal?

How can you quickly get the complete path to a file for use in terminal?
18
votes
6answers
17k views

How to start a terminal with certain text already input on the command-line?

Rather than rephrasing my question, let me describe to you the desired user-case: I create a short shell-script to run command "gnome-terminal --someoptionflagname 'my text to be posted'", and ...
8
votes
1answer
380 views

Keyboard shortcut to focus on (idle) terminal

I would like to know, if there is possible to use keyboard shortcut to focus on first idle (non working) terminal window in unity (13.10)? Something like Ctr+Alt+T, but before opening the new instance ...
7
votes
1answer
4k views

How to stop the terminal from wrapping lines

Is there a way to tell the terminal not to wrap long lines. I wish to see a line in the same space without wrapping to the next one. I do not care if I can not see the end of the line just as long as ...
5
votes
2answers
12k views

Show recent modified/created files using Terminal

Is there any command to display the recently modified/created files? Which one...?
3
votes
3answers
8k views

Changing colour of text and background of terminal?

I can change the colour through preference , but how can I change the background colour and text colour of terminal through the command line?
35
votes
2answers
23k views

How to show gnome-terminal menubar?

I accidentally unchecked View -> Show Menubar which hides the menubar for gnome-terminal, and there doesn't appear to be a keyboard shortcut to show the menubar again. How can I make ...
10
votes
3answers
3k views

How to automate starting terminal instances for specific tasks

I'm going through some programming tutorials and for every session, I have to start up at least 3 terminal windows (one for a log file tail, one for testing output, one for running various shell ...
5
votes
2answers
8k views

How to write Bash script What is the command to open a terminal with two different tabed terminals and execute some commands separately tabs?

How to write Bash script to open a terminal with two tabs, and execute commands in both tabs? for instance: tab 1 opens skype tab 2 opens chromium-browser In the end, I want one more thing: write a ...
4
votes
2answers
1k views

How can I make a list with most used commands in terminal?

How can I make a list with most used commands in terminal? I know that this question may be unuseful for any future proposals for some of us, but even like this, the list can be useful when we don't ...
7
votes
1answer
142 views

How can I send commands to specific terminal windows?

I'd like to write a script for opening multiple programs (servers) simultanously in separate terminals - doesn't matter which one - and assign different commands to different terminals with commands ...
6
votes
1answer
22k views

The fastest way to create a file from a terminal

What is the simplest way to create a file using a command-line? Usually I use: touch filename But is this the simplest/fastest way?
3
votes
2answers
3k views

Add terminal session with network to login in screen

I want to add a terminal Xsession to the log in drop down screen. Can anyone let me know how to do this? No desktop, load only terminal with network support. Booting in recovering from grub lets me ...
1
vote
3answers
393 views

Remove a terminal command

Is it possible to remove a terminal command? For example, if there was a command call lookup (not an alias), how would I go about removing it?
14
votes
3answers
7k views

Merge split terminal tab back into one terminal

In a terminal window, I can use File > Open Tab to get two tabs in the same window. Then, if I move the terminal up to the top of the OS, those two tabs become two separated windows. How can I merge ...
10
votes
0answers
512 views

Open any file using terminal window [duplicate]

I just want to know some commands so that I can open some files using terminal window. for example: how to open pdf files using terminal?
6
votes
2answers
585 views

How do I recursively create a folder inside another unexistent folder?

I want to create this folder: $HOME/a/b/c/d while $HOME/a is not created! Is it possible by one line in Terminal?
5
votes
3answers
3k views

How to see the details which Ubuntu shows at the time of login anytime?

When I login to my ubuntu system, it show me this this message, How can I see it any time? I tried to run . .bashrc but it didn't worked. Welcome to Ubuntu 12.10 LTS (GNU/Linux 3.2.0-24-virtual ...
4
votes
2answers
2k views

terminal closes immediately after open

I rebooted recently, and now terminal fails to work. If I click the terminal shortcut or use Guake or ctrl-alt-T, the terminal opens briefly with no prompt, then immediately closes again. I installed ...