09-20-2012
if you have GNU date just go through the man pag..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need to get the date and time for past 1 hour from the current date. Anyone know how to do so?
Thanks (5 Replies)
Discussion started by: spch2o
5 Replies
2. Shell Programming and Scripting
Hi,
Any idea to get display of date - n ( n=1,2,3,4 etc) ?
For example , dtoudt will easily execute by dtoudt -3 and result is
>dtoudt -3
1234852529 Date 2009-2-17 time 14:35:29 day 47
How to get it display in 20090217 instead ?
Maybe you have other suggestion to display date... (0 Replies)
Discussion started by: rauphelhunter
0 Replies
3. Shell Programming and Scripting
Need a little help developing a ksh script. Have read through Perderabo's datecalc routine and it does not seem to fit the function I am looking for. Basically what I am trying to do is find any file (in a specific directory) that was created within the last five minutes. I am not a programming... (3 Replies)
Discussion started by: synergy_texas
3 Replies
4. Shell Programming and Scripting
hii all.
I have to get the date of the 7th day past from the current date.
if i give the current date as sep 3 then i must get the date as 27th of august.
can we get the values from the "cal" command.
cal | awk '{print $2}' will this type of command work.
actually my need is
if today is... (17 Replies)
Discussion started by: ladtony
17 Replies
5. Shell Programming and Scripting
I wan to view files in a directory of a specific date. For example a log directory has log files . I want to view the list of the files which were generated on 01-May-2011.
Is there any option/proces to perform it?? (1 Reply)
Discussion started by: mady135
1 Replies
6. Shell Programming and Scripting
Hi all,
I have a variable where it has a past date value in the format YYYY-MM-DD
eg->
pcontromModate="2008-11-31"
How can i get the date 1 day before the pcontromModate.
The required date is 2008-11-30. ..Plz reply since its an urgent one (2 Replies)
Discussion started by: morbid_angel
2 Replies
7. Solaris
Hi,
Can anyone tell me how to get the CPU utilisation for past 1 day in Solaris.
Below is the version i m using
SunOS ss1qeb 5.10 Generic_138889-03 i86pc i386 i86pc
thanks in advance (2 Replies)
Discussion started by: ali560045
2 Replies
8. Shell Programming and Scripting
hi all..
i want 2 know how 2 find 7days past date from current date..
when i used set datetime = `date '+%m%d%y'` i got 060613..
i just want to know hw to get 053013..
i tried using date functions but couldnt get it :( i use c shell and there is no chance that i can change that ..... (3 Replies)
Discussion started by: Rahul619
3 Replies
9. Shell Programming and Scripting
Hi All,
I would like to create a file say test.txt.
And the requirement is its creation date should be 30 minutes past.
For Example :
If i am creating a file at 2:00 am means. Creation time should be 01:30 am.
likewise if i am creating a file at 5 pm means. Creation date should be... (5 Replies)
Discussion started by: Girish19
5 Replies
10. Shell Programming and Scripting
Hello All,
I use date like the following in one of my scripts:
date=`TZ=GMT+2 date +%Y-%m-%d`
=> gives 2016-04-20
I want to use just one argument to my script such as number of days which represents "how old the found files are" such as "14" means I need to find 14 days old files to... (7 Replies)
Discussion started by: EAGL€
7 Replies
LEARN ABOUT CENTOS
catman
CATMAN(8) Manual pager utils CATMAN(8)
NAME
catman - create or update the pre-formatted manual pages
SYNOPSIS
catman [-d?V] [-M path] [-C file] [section] ...
DESCRIPTION
catman is used to create an up to date set of pre-formatted manual pages known as cat pages. Cat pages are generally much faster to dis-
play than the original manual pages, but require extra storage space. The decision to support cat pages is that of the local administra-
tor, who must provide suitable directories to contain them.
The options available to catman are the manual page hierarchies and sections to pre-format. The default hierarchies are those specified as
system hierarchies in the man-db configuration file, and the default sections are either the colon-delimited contents of the environment
variable $MANSECT or the standard set compiled into man if $MANSECT is undefined. Supplying catman with a set of whitespace-delimited sec-
tion names will override both of the above.
catman makes use of the index database cache associated with each hierarchy to determine which files need to be formatted.
OPTIONS
-d, --debug
Print debugging information.
-M path, --manpath=path
Specify an alternate colon-delimited manual page hierarchy search path. By default, this is all paths indicated as system hierar-
chies in the man-db configuration file.
-C file, --config-file=file
Use this user configuration file rather than the default of ~/.manpath.
-?, --help
Print a help message and exit.
--usage
Print a short usage message and exit.
-V, --version
Display version information.
ENVIRONMENT
MANSECT
If $MANSECT is set, its value is a colon-delimited list of sections and it is used to determine which manual sections to search and
in what order.
MANPATH
If $MANPATH is set, its value is interpreted as the colon-delimited manual page hierarchy search path to use.
FILES
/etc/man_db.conf
man-db configuration file.
/usr/man/index.(bt|db|dir|pag)
A traditional global index database cache.
/var/catman/index.(bt|db|dir|pag)
An alternate or FSSTND compliant global index database cache.
SEE ALSO
man(1), manpath(5), mandb(8)
AUTHOR
Wilf. (G.Wilford@ee.surrey.ac.uk).
Fabrizio Polacco (fpolacco@debian.org).
Colin Watson (cjwatson@debian.org).
2.6.3 2012-09-17 CATMAN(8)