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

learn more… | top users | synonyms

15
votes
5answers
12k 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 ...
77
votes
14answers
63k 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 ...
28
votes
10answers
18k 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 ...
19
votes
4answers
18k 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?
61
votes
8answers
51k 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 ...
29
votes
12answers
35k 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 ...
24
votes
3answers
13k 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 ...
15
votes
2answers
406 views

How to use commands with parameters that start with a dash “-”?

This may be a simple question, but how do I use files starting with "-" with command line programs? For example, I am trying to use pdfgrep on a file named -2013-01-01.pdf but it complains that ...
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 ...
39
votes
7answers
19k 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 ...
21
votes
9answers
15k 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?
10
votes
3answers
19k 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 ...
16
votes
2answers
9k 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 ...
33
votes
3answers
10k 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 ...
26
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 ?
16
votes
5answers
24k 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 ...
16
votes
8answers
7k 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?
7
votes
5answers
5k 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 ...
5
votes
1answer
451 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 ...
30
votes
7answers
7k 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?
17
votes
7answers
4k 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 ...
17
votes
3answers
6k 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 ...
5
votes
4answers
7k 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 ...
11
votes
1answer
191 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 ...
17
votes
6answers
15k 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
316 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 ...
5
votes
1answer
3k 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 ...
3
votes
3answers
882 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?
30
votes
2answers
19k 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 ...
18
votes
5answers
46k 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?
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 ...
3
votes
2answers
7k views

Show recent modified/created files using Terminal

Is there any command to display the recently modified/created files? Which one...?
9
votes
1answer
5k 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 ...
4
votes
1answer
15k 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
387 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
5k 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?
5
votes
2answers
268 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
2answers
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
1k 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 ...
4
votes
1answer
802 views

Is there a way to left-click links in gnome-terminal or am I out of luck?

I'm using irssi hosted on a remote computer for IRC, and it'd be super helpful not to have to hold Control or right-click every single link (so I can avoid multiple clicks or multiple hands). At this ...
4
votes
2answers
29k views

How to update Ubuntu terminal?

How to update Ubuntu terminal?
2
votes
1answer
258 views

Terminal tab not opening in same directory

Since upgrading to Ubuntu 14.04 whenever I open a new Tab in the Terminal I am in the Home directory instead of the directory I was in in the other Tab. How can I change it to stay in the directory ...
2
votes
1answer
2k views

hdiutil: command not found

I want to convert a .iso file to a .img file. So I write: hdiutil convert -format UDRW -o ~/home/antu/target.img ~/home/antu/ubuntu.iso in a terminal window. It shows that: hdiutil: command not ...
2
votes
2answers
2k views

Gedit Embedded Terminal Uses Incorrect Palette

I've followed the advice to turn off "use-theme-colors" and also set a custom background color in my embedded gedit terminal. But somehow, the palette setting is ignored and colors show as only black ...
1
vote
1answer
174 views

how to run command in an already opened terminal through a shell script

I'm running a shell script.sh which is supposed to open terminal and then run some commands in this opened terminal. What happens is that the terminal starts but the following commands are not ...