Questions tagged [gnome-terminal]

For questions about writing programs to communicate with the GNOME Terminal application (or about modifying its internals). DO NOT add this tag simply because you happen to use this terminal when interacting with a program that could use other terminals equally well.

The default GNOME desktop terminal emulator, allowing users to execute commands using a real UNIX shell while remaining on their graphical desktop.

569 questions
-1
votes
1 answer

How to execute program in child terminal window?

Sorry for not being descriptive in the caption - I dont know how to phrase this. What I want to do is to run my command line program from bash and in the full terminal window and when i exit it, all output from the program should be cleared. Eg:…
ravindu1024
  • 1,496
  • 1
  • 13
  • 30
-1
votes
2 answers

Gnome terminal prints broken characters with packet sniffer

I have written a basic network packet sniffer with Python. When the packets comes, the program prints broken characters in my gnome-terminal. Program codes: #!/usr/bin/python import socket import struct import binascii s =…
ToLearn
  • 1
  • 1
  • 2
-1
votes
2 answers

How to start new process in terminal without kill the one which still running

ex. when i open google-chrome through terminal i can't write command lines anymore, is there a way to start new command line in same terminal window without closing chrome ?
-1
votes
1 answer

Tilde not working in gnome-terminal

I figured out recently that my '~' character doesn't work in gnome-terminal: -it works in ANY application I can run (sublime text, emacs, gedit, nano...) -it works on TTYs (ctrl+alt+FX) -it works on xterm, xfce4-terminal etc. -it doesn't work in…
lagarkane
  • 915
  • 2
  • 9
  • 22
-1
votes
1 answer

How to avoid gnome-terminal close after opening it from C++?

I am opening a gnome-terminal using the following code as advised here: system("gnome-terminal -e \"bash -c \"echo foo; echo bar; exec bash\"\""); But the terminal does not remain open. What should I do?
B Faley
  • 17,120
  • 43
  • 133
  • 223
-2
votes
3 answers

Calling .x file (Linux) in Python and lists

I have the following code: # Initialisations filename='/home/Admin/Desktop/Ncapa/i_capa.txt' f = open(filename, 'r') ty =…
user2063
  • 975
  • 4
  • 15
  • 35
-2
votes
1 answer

how to copy a file without pasting to a destination

Operating System- Linux Mint 21 Cinnamon 5.4.10 Terminal-gnome Description- I want to copy content of a file without pasting it to the destination file, is it possilbe?.I just want to accomplish it using terminal only
-2
votes
2 answers

Command for finding first and last login details in the system for every Wednesday in bash?

I have been able to get all login logs in the system for Wednesday. But I am unable to get the first and last login of each day on which it is Wednesday. Progress so far - `last | grep '^[^reboot].*Wed' Through the above I am achieving this:- …
-2
votes
1 answer

ssh to aws instance encoding issue

I'm trying to connect to an EC2 instance on AWS, and I'm getting this as the command prompt: ]133;C;]133;D;130]1337;RemoteHost=ec2-user@master]1337;CurrentDir=/home/ec2-user]133;A[ec2-user@master ~]$ ]133;B I'm using gnome-terminal on Ubuntu 16.04.…
-2
votes
1 answer

Launch differents commands shell in multiple gnome-terminals?

I'm in debian wheezy and I would like to make a script, select it in a root shell, and when I press "enter", this would loads 4 gnome-terminals with 4 differents commands : !/bin/bash gnome-terminal -x tail -f /var/log/messages | grep ABC…
user4804292
-2
votes
1 answer

please explain the linux command: find /tmp -name core -type f -print | xargs /bin/rm -f

i have been looking all throughout the google for the explanation of such commands find /tmp -name core -type f -print | xargs /bin/rm -f well i got the command from the net itself and explanation was also mentioned there.by now i know that this…
benny Mr.
  • 57
  • 1
  • 3
  • 10
-3
votes
1 answer

When Infinite Loop is opening at same time in Redhat Linux then how to stop it?

when some one attack like DDOS or Dos in our computer for example someone like hacker let's say run infinite loop in your terminal to open the gnome-terminal code:-- while : do gnome-terminal done that time you not have time to stop them because the…
-3
votes
3 answers

A bash loop to echo all possible ASCII characters

I know how to print all letters {a..z} and {A..Z} and {0..9} But is there a way to print all possible ASCII Characters via a bash loop?
-4
votes
1 answer

Use the (cin) user input to paste it in std::system and run a command with the input in another terminal

Use the (cin) user input to paste it in std::system and run a command with the input in another terminal int main() { string ip; cout << "IP to scan: "; cin >> ip; std::system(" nmap .... ") return 0; } so basicly I want the…
Gilfoyle
  • 1
  • 3
1 2 3
37
38