Hi All,
I want to find the previous day's date and store that in a variable, which will be usuful for further processing.
Any help please.
Regards,
raju (4 Replies)
How to find the first day of previous month in unix mmddyyyy format?
example : today is 07052007 (in mmddyyyy)
output sud be 06012007
thanks
mohapatra (10 Replies)
Hello,
Can you please help me how do i get previous and next working day of the week for a given date excluding saturday and sunday.
Ex: if the given date is monday, i should get friday and tuesday's date
if the given date is friday, i should get thrusday and monday's date.
Thanks,... (4 Replies)
Hello - I have one question regarding the date. I wanted to display the month name for previous day. The output should be as follows...
5-Feb-09 => February
1-Feb-09 => January
28-Feb-09=> February
Here is the code i am using to get the output....
date '+%m %d %Y' |
{
read MONTH DAY... (4 Replies)
Hi All,
I need to find the previous month last day minus one day, using shell script. Can you guys help me to do this.
My Requirment is as below:
Input for me will be 2000909(YYYYMM)
I need the previous months last day minus 1 day timestamp. That is i need 2000908 months last day minus ... (3 Replies)
Hi,
i am developing a script for my project. In my script i need to check some conditions based upon some values. in that one value is the previous date. with the previous date i need to check and process some values. I have a function with me retrieve the yesterdays date.
But now i have a... (6 Replies)
Hi,
I would like to write a script that checks if a file ('counter') was modified the previous day, if so erase its contents and write 00000000 into it.
For e.g. if the file 'counter' was last modified at 11.30pm on 24th May and the script runs at 12.15am of 25th May, it should erase it's... (1 Reply)
Hi All,
I have a requirement where I need to first capture the current day & move all the files from a particular directory based on a previous day.
i.e move all the files from one directory to another based on current day & a previous day. Here is what I am trying, but it gives me errors.... (2 Replies)
Hello,
I am new to this forum so any assistance would help.
I am currently trying to develop a script that extract all data from a log file with has the previous day's date.
$ <root@aixtest3> /var/log > more sudo.log
May 13 10:52:10 aixtest3 local2:notice sudo: tbrath : TTY=unknown ; ... (14 Replies)
Discussion started by: Kslew82
14 Replies
LEARN ABOUT ULTRIX
sact
sact(1) General Commands Manual sact(1)Name
sact - display current SCCS file editing activity
Syntax
sact files
Description
The command informs the user of any impending deltas to a named SCCS file. This situation occurs when the command with the -e option has
been previously executed without a subsequent execution of the command. If a directory is named on the command line, behaves as though
each file in the directory were specified as a named file, except that non-SCCS files and unreadable files are silently ignored. If a name
of - is given, the standard input is read with each line being taken as the name of an SCCS file to be processed.
The output for each named file consists of five fields separated by spaces.
Field 1 Specifies the SID of a delta that currently exists in the SCCS file to which changes will be made to make the new delta.
Field 2 Specifies the SID for the new delta to be created.
Field 3 Contains the login name of the user who will make the delta (that is, executed a for editing.
Field 4 Contains the date that -e was executed.
Field 5 Contains the time that -e was executed.
Diagnostics
See for explanations.
See Alsodelta(1), get(1), sccs(1), sccshelp(1), unget(1), sccsfile(5))
Guide to the Source Code Control System
sact(1)