Is it possible to create a here document by running a script interactively? | Unix Linux Forums | Shell Programming and Scripting

  Unix/Linux Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Is it possible to create a here document by running a script interactively?

Shell Programming and Scripting


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 12-03-2012
snreddy_gopu snreddy_gopu is offline
Registered User
 
Join Date: Dec 2011
Last Activity: 3 October 2013, 11:55 PM EDT
Location: hyderabad/INDIA
Posts: 31
Thanks: 6
Thanked 0 Times in 0 Posts
Is it possible to create a here document by running a script interactively?

hi,

i have script which installs around 20 packages. during installation of each package script will be prompted for user input.

i need to run the script in non-interactive by using here document. is it possible to generate here document by running the script in interactive mode on Solaris? Unix or Linux Image

Thanks,
Satya
Sponsored Links
    #2  
Old Unix and Linux 12-03-2012
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 26 March 2015, 11:06 AM EDT
Location: NM
Posts: 10,407
Thanks: 325
Thanked 854 Times in 793 Posts
You can use the script command - it will create a file of all of the commands you entered.
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Unix or Linux Image More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
comamnds running interactively, failed in script wrigint nrjrasaxena Shell Programming and Scripting 13 09-25-2012 05:39 PM
Extract xml data and create word document using perl. veerubiji Programming 3 10-18-2011 11:21 AM
extract xml data and create word document using perl. veerubiji Programming 1 10-13-2011 10:01 PM
UNIX Shell Script to Create a Document of a PLSQL code. gauravsachan Programming 1 01-27-2009 02:01 PM
How create a large list of document ids in VI ruben7566 Shell Programming and Scripting 1 04-05-2006 10:16 AM



All times are GMT -4. The time now is 07:46 PM.