I am writing a korn shell script in AIX. I want to pass the date [in YYYYMMDD format] as a parameter to script and inside it should convert the format to +%a" "%h" "%d" "%Y.
Can anyone provide me with a ksh or bash script which will accept a timestamp (format is YYYY-MM-DD-HH24.Mi.Ss) and time offset (in hours). The output will be (timestamp passed - time offset passed...
Thanks for the response. I used touch -t several times. What I wanted to know is, how to trap the timestamp of the file within a shell in a format which can be fed to "touch" command. I want to get...
I have a unicode file which needs to be modifed in an AIX environment from within a shell (ksh). I am concerned that the modification may involve a change in the file's codepage. Is my concern...
I want to modify a file and then change the file's timestamp back to what it was before the modification. It should look as if the file has'nt been modifed. The entire operation needs to be...
We have several jobs scheduled in cron in AIX. Before every release
we need to comment those jobs and uncomment those after the release is over.
There are several accounts whose cron entries...