Skip to main content

All Questions

3 votes
1 answer
2k views

How to find gnome-terminal currently used profile with cmd line?

I'm using Ubuntu 16.04 and I want to be able to tell which profile is used by a given terminal emulator. Just the name would be enough. It's trivial to find with GUI : just right click in the ...
1 vote
1 answer
139 views

how to open multiple tabs, from the command line, in gnome-terminal v3.44.0 (ubuntu 22.04), while running one custom command on each tab?

how to open multiple tabs, from the command line, in gnome-terminal v3.44.0 (ubuntu 22.04), while running one custom command on each tab? every other question/answer I found have answers about using -...
2 votes
0 answers
623 views

Konsole --new-tab: choose which existing konsole instance

I usually have several konsole windows on several desktops. Running konsole --new-tab is intended to open a new tab in an existing window, but it seems never goes to the window I want. This is really ...
0 votes
2 answers
911 views

gnome-terminal how to send commands

For an application, I need to open a new terminal window and later execute some commands in that. I tried the command gnome-terminal And it works properly, it open a new terminal, but when i want to ...
1 vote
1 answer
521 views

How can I use the terminal and track what is being changed?

I was wondering if it's possible to use the CLI to track the changes I am making in an app launched through the CLI. For example: Launch CLI. Enter gnome-control-center. Make random changes in the ...
1 vote
1 answer
373 views

Starting background process from command line (different behavior)

In Ubuntu (21.10), I start a file manager from the command line window (gnome terminal 3.38.1): nemo . Sometimes, the command line returns and I can enter more commands. Sometimes, the command line ...
3 votes
2 answers
2k views

cd into folder name that starts with an emoji

I forked an open source project to work on but one of the folder names I want to cd into starts with an emoji. How can I enter into it? I know I can use the GUI to look through the folder but I rather ...
13 votes
2 answers
21k views

Changing the preferences of Gnome-terminal from within the terminal

Is there any way that we can edit the terminal preferences like background, colors, etc., from within the command line itself? The terminal is Gnome-terminal. I'm using Ubuntu 14.04 trusty tahr.
17 votes
5 answers
24k views

Home key not working in terminal

I am using GNOME Terminal 2.7.3 and zsh 4.3.9 (x86_64-unknown-linux-gnu) Home and End are not working. Nothing happens and nothing gets displayed when I press them. but they work when I press shift + ...
-1 votes
1 answer
2k views

How to properly write and execute a shell script and exit correctly? [duplicate]

I have written a shell script named startup.sh which does a lot of things (basically start a lot of things for me after turning on my local machine) - here is an excerpt: #!/bin/bash gnome-terminal --...
6 votes
3 answers
7k views

why piping pwd and echo does not work? [duplicate]

I'm new to unix. I typed this command in ubuntu terminal: pwd | echo I expected to see the output of pwd in terminal(/home/fatemeh/Documents/Code/test) but the output was just a single empty line. ...
2 votes
1 answer
362 views

Why is it that everytime I mistype a command bash stops working? [closed]

Every time I mistype a command such as cd.. (e.g. I forgot to separate cdand .. with a space) the command prompt disappears and I can no longer use commands in the terminal unless I close and reopen ...
2 votes
0 answers
406 views

gnome-terminal bengali unicode chars breaking, not showing perfectly

In gnome-terminal, Bengali Unicode characters are showing, but not as should be shown. Vowels are not joining with consonants, such as "ব + া" should shown as "বা", but it is showing separately. See ...
1 vote
1 answer
1k views

Change Terminal's background with a command

Is there a command via which I can change the Terminal's background instead of doing so through the Edit -> Profile -> Edit -> Background pulldown?
2 votes
2 answers
10k views

How to prevent the terminal from closing when the program it was started with ends? [duplicate]

If I start a terminal (any terminal, for example urxvt) like urxvt -e sleep 5, then a new terminal is launched but after 5 seconds the terminal closes, because the sleep program has ended. How can I ...

15 30 50 per page