Advertisement

08.02.2007 at 06:09AM PDT, ID: 22737318
[x]
Attachment Details

Create text file from BASH script and write to it.

Asked by Ryan_R in Scripting Languages, Linux Programming, Shell Scripting

Tags: , , , ,

Really quick question for the linux BASH shell (making a BASH script).

How do I create a text file ($strFilename)  and how do I append a line of text ($strText) into it?

Thanks guysStart Free Trial
[+][-]08.02.2007 at 06:17AM PDT, ID: 19616545

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Scripting Languages, Linux Programming, Shell Scripting
Tags: bash, file, script, write, text
Sign Up Now!
Solution Provided By: ahoffmann
Participating Experts: 1
Solution Grade: A
 
 
[+][-]08.02.2007 at 06:18AM PDT, ID: 19616556

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32