Does .profile file have any intial values by default. I m presently migrating an application from HP UX to SUN OS. Please share the precautions needs to be taken during migration of .profile file.
Request your help in getting help with the below text formatting using awk. I am still learning awk and your help here is appreciated. Thanks in advance.
Virtual Pool Destination Profile Profile Profile Profile
1. virtual-1 pool-1 22.214.171.124:https profile-a-1 profile-b-1 profile-c-1 profile-d-1
I have a group of files
a1.profile a2.profile a3.profile a4.profile b1.profile b2.profile b3.profile b4.profile
These files all have the same first line with a value s1 atop the columns
s1_context s1_ref s1_sample s1_% etc
I am trying to use sed in a for loop to replace the s1 in the header of each each file with the initial part of the filename with something like