How to run a command in a new Konsole


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to run a command in a new Konsole
# 1  
Old 03-09-2009
How to run a command in a new Konsole

I'd like to know how to open a new konsole window and execute a command though it automaticaly. like is there a way to pipe a command into a newly opened window??

something like
Code:
open new window
command-> newly opened window
execute command

# 2  
Old 03-09-2009
Something like this?
Code:
$ xterm -e 'echo "Hello"; sleep 5'

# 3  
Old 03-09-2009
whats the sleep 5 for?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

C++ program through Konsole

Hey all I am new to Linux/Unix and even newer to this forum. I am currently in college and am finishing intro to computer programming (C++) and Intro to operating systems. We only touched on Unix for a couple weeks but had an old laptop lying around so I downloaded linux mint onto it and figured id... (1 Reply)
Discussion started by: Texhilarate
1 Replies

2. Shell Programming and Scripting

Script to launch a KDE Konsole window with multiple tabs

Gents, I found this script to to launch a KDE Konsole window with multiple tabs.. #!/bin/bash # # Create my standard konsole windows. if ]; then profile=Shell fi sessions=( sh1 $profile 'clear; bash' sh1 $profile 'clear; bash' su1 $profile 'clear; su'... (1 Reply)
Discussion started by: jiam912
1 Replies

3. UNIX and Linux Applications

Groups are disappearing on opening of new konsole/terminal

Hi when I open a new KDE/terminal all my project groups are disappearing. help is much appreciated. Thanks Sujay (2 Replies)
Discussion started by: sujaybatni
2 Replies

4. Shell Programming and Scripting

Launch a text program inside a konsole at startup

Hi ULFers, I am trying to setup a (very) simple startup script on a centos 6.4 computer and it kind of failed.... Here are the details : As said just above the computer setup is running a CentOS 6.4 x64, on this computer a vncserver is automatically started (by a chkconfig vncserver on), i... (1 Reply)
Discussion started by: pierpier
1 Replies

5. Shell Programming and Scripting

Script for telnet and run one command kill it and run another command using while loop

( sleep 3 echo ${LOGIN} sleep 2 echo ${PSWD} sleep 2 while read line do echo "$line" PID=$? sleep 2 kill -9 $PID done < temp sleep 5 echo "exit" ) | telnet ${HOST} while is executing only command and exits. (5 Replies)
Discussion started by: sooda
5 Replies

6. Shell Programming and Scripting

Help with changing font size in konsole

I created a very very basic script that opens multiple konsole terminals when I run the script which essentially sshs into a jump box into the end device and tails some logs etc etc. A few of the konsoles run scripts where the default font size is too big and the lines are cut off. Which I would... (3 Replies)
Discussion started by: NiCe
3 Replies

7. Shell Programming and Scripting

Using pipe with Konsole -e

Hello, I am attempting to create a script using kDE and bash. I need to be able ssh into a jump box and then the server then tail the log files then grep for. I have everything working cept the Grep for when using a pipe it does not run it on the server, I have removed the pipe enclosed... (0 Replies)
Discussion started by: NiCe
0 Replies

8. UNIX Desktop Questions & Answers

KDE Konsole crashes (solved)

Hello The KDE konsole crashed after I changed the font size to 64. And It crashes every time when started. How can I get it back? Thanks. ---------- Post updated at 08:23 AM ---------- Previous update was at 07:48 AM ---------- solved, I finally find the config file called consolerc. (0 Replies)
Discussion started by: vic005
0 Replies

9. Linux

web browser from konsole

hi experts, i'm running red hat linux, consider there's no visual interface, no X server... actually there is one but it's written in Python! what i need is to intall a decent web browser on it! is it possible? and i only have abt 100 MBs of free disk space... (1 Reply)
Discussion started by: elzalem
1 Replies

10. UNIX for Dummies Questions & Answers

Color konsole in FBSD 4.6

FBSD 4.6 How do I colorize my konsole to see directories etc. Am able to get color in the shell with ls -GF in my .bashrc. But color does not show in KDE3 Konsole (Xwindows) for some reason.FBSD 4.6 (1 Reply)
Discussion started by: lancest
1 Replies
Login or Register to Ask a Question