LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-23-2002, 11:54 AM   #1
Manish
Member
 
Registered: Feb 2002
Distribution: Debian / Debian-based
Posts: 58

Rep: Reputation: 15
script in same instance


How do you force a script to run in the same instance of bash ?
 
Old 02-23-2002, 11:59 AM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
Code:
. ./scriptname
 
Old 02-23-2002, 12:03 PM   #3
Manish
Member
 
Registered: Feb 2002
Distribution: Debian / Debian-based
Posts: 58

Original Poster
Rep: Reputation: 15
That works.

Thanks crabboy.

Are there any limitation/differences when a script is run this way?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Only one instance of bash script... cmfarley19 Programming 11 01-13-2018 04:41 AM
more than one instance of j2re audibel Linux - Software 3 04-05-2005 08:37 AM
Second postfix instance divingdave Linux - Software 0 07-16-2004 12:47 PM
more than one instance of crond plisken Slackware 2 04-18-2004 12:30 PM
Allowing only one instance karlan Programming 1 03-25-2004 03:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:44 PM.

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