Search Results

Search: Posts Made By: sunilk1303
4,030
Posted By sunilk1303
heres a simple way:- #!/bin/ksh set -x ...
heres a simple way:-

#!/bin/ksh
set -x
i=1
while [ $i -le 5 ]; do
date -d "`date +%Y`-01-01 +$(( `date +"%j"` - $i ))days" +%Y-%m-%d
i=`expr $i + 1`
echo $i
done


i have used a simple...
22,368
Posted By sunilk1303
cat `ls -ltr | awk '{file=$9}END{print file}'`
cat `ls -ltr | awk '{file=$9}END{print file}'`
2,382
Posted By sunilk1303
Use Sed
sed 's/\t/#\*#/g' <filename>
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 05:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy