Computing.Net > Forums > Unix > File update

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

File update

Reply to Message Icon

Name: Sayeed
Date: May 8, 2003 at 13:43:23 Pacific
OS: UnixWare
Comment:

Hello All,
I want to write the shell script to change the content of it??
Can I do this..
thx!



Sponsored Link
Ads by Google

Response Number 1
Name: Cara
Date: May 8, 2003 at 18:04:26 Pacific
Reply:

You can change the contents of a file by using the > symbol. For example, if you want to replace the whole contents of "file" with the following string use:

echo "This is the string I want to overwrite the file with" > file

If you need more help please be more specific.

Thanks,
Cara


0
Reply to Message Icon

Related Posts

See More


Help with Bourne Shellscr... unix database not using S...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: File update

check if file updating www.computing.net/answers/unix/check-if-file-updating/7049.html

finding new files www.computing.net/answers/unix/finding-new-files/1805.html

How to collect the files www.computing.net/answers/unix/how-to-collect-the-files/4840.html