Please tell me for shell script..
I m writing the script.
In that script i written the 1 function and in that function i have to write the contents in existing file
so i write,
cat > /etc/puppet/manifests/init.pp
ensure => present,
But it caanot write the changes in ssh machine
so what i can do in my script?
Please help me...