Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Purging K shell Script
Name: egls Date: February 27, 2006 at 19:13:17 Pacific OS: Unix CPU/Ram: 2 Product: Sun
Comment:
Hi,
Need to change the following command to also purge the child directories after /data/tmp within one command (recursively check for X number of days old files and purge accordingly)? e.g. /data/tmp/a, /data/tmp/a/b, /data/tmp/log.
Summary: Hi, I need to extract messages from a log file between two known character strings "eyecatchers". what could be the logic to do this using only k shell script commands? TIA aj ...
Summary: hi , I have a problem in Korn shell script(in dtksh) my program is like that...... #!/usr/dt/bin/dtksh awk ' BEGIN { FS = ":"; # print '$1','$2','$3' cmdargs = '$#' } { if( cmdargs == 3) {...
Summary: john In shell script you have to write like this. name=Mukesh echo $name This will definetly give you Mukesh on prompt. If you want to use set in shell script then you have to use like this. set Muk...