Hi,
I need to count the number of times a script is accessed from within the script. Is it possible ?
Example: I have a script called lo.sh and i execute the script for the first time, then the counter variable declared inside the lo.sh should increment by 1. For every execution the... (1 Reply)
Hi All,
can any one help me fix the error in this - i am still a novice in shell programming. I got this code after some googling now the code works with all the dates( as much as i know) except for 08 th and 09th of every month. can any one of you please help me fix this issue?
Thanks in... (11 Replies)
how can I display week number using 'date' command. ?? in the manual it says " %w day of week (0..6); 0 is Sunday" I did not get it? help please.
Alice (2 Replies)
How can I search for files by last accessed time? I want to see files accessed in the last 24 hours, for example...or even less time, maybe in the last 3 hours?
Thank you in advance,
Trellot (4 Replies)
Hello,
Is there a way (without 3rd party software) to know if a file has been accessed and/or copied ?
I'm interested in any solution : doing command line instructions , running background scripts etc...
I apologize if I posted this in the wrong forum.
Thank you! (8 Replies)
Hi all,
Recently I came across a challenge of finding the user accounts lying around on servers and not being used so much. Our client has hundreds of AIX, RedHat, and Solaris servers.
For AIX, I have made a script which uses lsuser and a little bit of sed and awk to show the user accounts... (7 Replies)
Hi,
I tried to find the solution on the forum without success.
datecalc from Perderabo doesn't solve my problem.
I would like to know how to do the same thing that date +%U but for a specific date.
For example:
2011 08 27
=> 39
Thinks a lot (8 Replies)
Hi,
How can we get the week number from any paricular date. lets say date is 20120404 (YYYYMMDD) then how to get the week number?
date +%W --- Thic command gives the week number for current date only.
Thanks. (13 Replies)
How can i track all the files accessed by script. The script is supposed to bring up my application and this script is just the main script which inturn calls another scripts and executable. I need to know all the the files this main script calls and the files accessed by all the other scripts... (2 Replies)
Hello,
I have about 100 servers that I'm looking to collect information regarding top files and processes accessed within a 168 hr (1 week) period. Each server has a different purpose and so different installed applications. All servers are running either unix or linux.
What would be a... (0 Replies)
Discussion started by: umang2382
0 Replies
LEARN ABOUT ULTRIX
comb
comb(1) General Commands Manual comb(1)Name
comb - combine delta versions of SCCS file
Syntax
comb [-o] [-s] [-psid] [-clist] files
Description
The command generates a shell procedure which, when run, will reconstruct the given SCCS files. For further information, see The recon-
structed files are generally smaller than the original files. The arguments may be specified in any order, but all keyletter arguments
apply to all named SCCS files. If a directory is named, behaves as though each file in the directory were specified as a named file,
except non-SCCS files (last component of the path name does not begin with s.) and unreadable files, which are silently ignored. If a
name of - is given, the standard input is read; each line of the standard input is taken to be the name of an SCCS file to be processed.
The generated shell procedure is written on the standard output.
Each keyletter argument is explained as though only one named file is to be processed, but the effects of any keyletter argument apply
independently to each named file.
Options-clist Preserves specified deltas. See for the syntax of a list. All other deltas are discarded.
-o Causes the reconstructed file to be accessed at the release of the delta to be created. Otherwise the reconstructed file would
be accessed at the most recent ancestor. Use of the -o keyletter may decrease the size of the reconstructed SCCS file. It may
also alter the shape of the delta tree of the original file.
-pSID Indicates oldest delta to be preserved. All older deltas are discarded in the reconstructed file.
-s Generates a shell procedure which produces a report. This report gives the file name, size (in blocks) after combining, original
size (also in blocks), and percentage change computed by:
100 * (original - combined) / original
It is recommended that before any SCCS files are actually combined, one should use this option to determine exactly how much
space is saved by the combining process.
If no keyletter arguments are specified, will preserve only leaf deltas and the minimal number of ancestors needed to preserve the tree.
Restrictions
The command may rearrange the shape of the tree of deltas. It may not save any space; in fact, it is possible for the reconstructed file
to actually be larger than the original.
Diagnostics
See for explanations.
Files
s.COMB The name of the reconstructed SCCS file.
comb????? Temporary.
See Alsoadmin(1), delta(1), get(1), help(1), prs(1), sccs(1), sccsfile(5)
Guide to the Source Code Control System
comb(1)