Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-10-2009, 05:21 PM   #1
LQ Newbie
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
Xterm with script command

I am using xterm with the -e switch to run multiple commands and having problem with the script command. The command follows the script command does not executed until the script command exits.

xterm -e "script filename ; ls ; csh"

Is there any way to run the ls command while the script command is not terminated yet.

Old 09-10-2009, 05:25 PM   #2
Registered: Sep 2009
Posts: 67

Rep: Reputation: 19
They are executed sequentially. You could add the "ls" command into the script, then it would execute before the script exits.
Old 09-10-2009, 08:01 PM   #3
LQ Newbie
Registered: Sep 2009
Posts: 2

Original Poster
Rep: Reputation: 0
It does not help with the ls in the shell script. I also see the same problem when running the script in the shell environment without using xterm -e.


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
Executing another script from xterm Chets Programming 5 11-01-2007 06:40 AM
Xterm command line scrolling dah328 Linux - General 2 04-27-2006 04:32 PM
help with command copy in xterm harys Linux - Software 1 04-07-2006 11:58 AM
how to log user commands in xterm without using "script" command lilachb Linux - General 2 08-28-2005 02:08 AM
how is black xterm background in IceWM when issue a xterm command? BRAHmS Linux - Software 1 02-14-2005 04:51 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:30 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration