Search Results

Search: Posts Made By: kris.adrianto
7,443
Posted By kris.adrianto
Change File Creation Date On Solaris
Dear Masters,

I am using solaris 10. There is a requirement if a file created on Feb 1 or Feb 2, the creation date will be changed to Jan 31. Is there any command on Solaris to do that?

Thanks,...
16,666
Posted By kris.adrianto
Hi vbe, Thanks for your answer. Either...
Hi vbe,

Thanks for your answer.
Either foreground/interactive mode or in cron, the script run on the same user.
16,666
Posted By kris.adrianto
Script Contain Send Mail via Telnet
Dear Masters,

I am using Solaris 10 and bash shell. I make a script for checking if a file is exists on the specified folder or not from 5th day of the month until the end of the month. If the...
Forum: Solaris 12-03-2013
2,832
Posted By kris.adrianto
Hi jlliagre, Is there any formula to calculate...
Hi jlliagre,
Is there any formula to calculate scan rate?
How we relate high scan rate value with swapping activities?
Our Solaris server was hung with very high scan rate values (about 1.1...
13,106
Posted By kris.adrianto
It works now.. Thanks so much! ----------...
It works now.. Thanks so much!

---------- Post updated 07-17-12 at 11:03 AM ---------- Previous update was 07-16-12 at 05:03 PM ----------

By the way, if i want to display month as "Jun" not...
13,106
Posted By kris.adrianto
Hi pamu.. i think your code isn't applicable in...
Hi pamu.. i think your code isn't applicable in solaris with bash..
When I execute the first line of your code, it shows:
date: illegal option -- date=last month
usage: date [-u]...
13,106
Posted By kris.adrianto
almost there.. but when I use this, it only...
almost there.. but when I use this, it only shows: "Amount_2012.zip" not "Amount_6_2012.zip". Then I erased the $year, then it shows "Amount_6.zip".
13,106
Posted By kris.adrianto
Adding Previous Month To Filename
Dear experts,

I'm using solaris 5.10 and bash. I want to zip file "Amount.txt" to "Amount.zip" and rename it to "Amount_<prev_month>_<this year>.zip". For example, file for this month should be...
8,651
Posted By kris.adrianto
@elixir_sinari woow.... thank you so much for...
@elixir_sinari
woow.... thank you so much for the explanation... :)
btw, i have a problem with variable assigning:
last_day=$(cal | tr ' ' '\n'|grep -v '^$' |tail -1)
when I wrote codes above...
8,651
Posted By kris.adrianto
@jamie_123 thanks for the answer, but I don't...
@jamie_123
thanks for the answer, but I don't need to rename the file everyday, just at the end of the month.

@methyl
I'm using Solaris 5.10 and bourne shell.
I just want to copy the file not...
8,651
Posted By kris.adrianto
Move File Every Last Date of the Month
Dear experts,

I have a file named "GI_GR.csv" generated by SAP everyday. What I need is every last date of the month ( Jan 31, Feb 28/29, Mar 31, etc), the file is copied to subfolder named...
Showing results 1 to 11 of 11

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