Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-07-2006, 10:10 AM   #1
Registered: May 2001
Location: Germany, Süd-Baden
Distribution: Gentoo
Posts: 139

Rep: Reputation: 15
BASH: open console on script execution

Hello All.

Imagine you have a bash script and want it to run in a console.
Simply isn't it?

In all other cases i would open up a terminal and execute the script.
Now i want to execute the script through konqueror, but NOT silently.

When i (double-)click my script it executes but without In- and Output.

It should be like: (double-)clicking the script and a console should be opened with the running shell script, so i can make use of the In- and Output Channels.

Does anyone know a solution to this?

Old 02-07-2006, 10:17 AM   #2
Senior Member
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
i suppose you could write a script that opens a xterm of whatever and divert the output of your script to that psuedo tty. not sure thats so elegant tho...
Old 02-07-2006, 10:41 AM   #3
Registered: May 2001
Location: Germany, Süd-Baden
Distribution: Gentoo
Posts: 139

Original Poster
Rep: Reputation: 15
BASH: open console on script execution[solved]

hey thank you. Works like a charm.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
BASH Script: variable values referencing for console arguments sadarax Programming 1 11-14-2005 06:23 PM
xset is unable to open display from within bash script copolii Linux - General 3 10-22-2005 07:26 PM
[Req]: How to config WebSvr & DNS Svr from console by Bash shell script CiF Linux - Networking 2 03-22-2005 01:31 AM
change console title in bash script? TLV Linux - Software 18 10-08-2004 12:25 PM
bash script - open new window running a command zippity Linux - Newbie 1 07-13-2004 12:16 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration