Hi, An application is transferring a file to linux system with same file name. As file is transferring with same name always file will be overwritten. In this case we want to know what times file was overwirtten like below.
Is there a linux command to findout all modified timestamps of a file.
thanks
Moderator's Comments:
Please use code tags next time for your code and data. Thanks
So I dont enounter things like:
gzip: /sometimename.gz already exists; do you wish to overwrite (y or n)?
Want to add it into a script and if there is a file aready there to just overwrite it, otherwise the script will hang unless there is manual intervention. (1 Reply)
Hi all,
In our webserver customer wants to see the latest 10 files arrived. So the names are hardcoded in webpage like :
filename_01.txt
filename_02.txt
....
....
filename_10.txt
where the filename_01.txt is the latest one (typically the output of ls -1t) in the /../webpage directory.... (2 Replies)
How to overwrite every time a particular portion of a file?
---------- Post updated at 02:16 PM ---------- Previous update was at 02:07 PM ----------
I have a file whose contents are something like:
Output of "apachectl fullstatus" command:
---------------------------------------------... (3 Replies)
Hi ,
i have two basic requirement on linux platform . I am using C language to do this .
1) copying one file to another (assuming i know their file descriptors)
2) Overwriting a file using it file descriptor .
Please guide.
regards
Aki (2 Replies)
Long story short, there was some sort of corruption with my ide and the script I was working on has been over written with nothing (the file is blank now). The IDE doesn't store a back up from what I know (I'm using notepadd++ in wine lol I know I know I'm addictted to the nppftp sidebar and geany... (1 Reply)
I have loads of files in different directories which I do miner changed on them and till now I have to create totally new directories for them, specially as I deal with a whole directory at once :wall::wall::wall::wall:
it creates such as mess really
e.g.
FILES="F1/*"
for X in $FILES
do... (2 Replies)
I have a script, which runs through cronjob every night 9 PM. It is supposed to do following tasks --
1- Connect to ftp.testsite.com via user redtest
2- Fetch file red_bill.txt to my local server, where my script is residing.
3- Rename red_bill.txt to red_bill.V01.txt everyday on sftp server.... (4 Replies)
hi
i have a file as in follwoing:
cat apple.txt
Apple is a fruit
But this fruit is costly
Now I used the sed command and i see output as in following
# sed 's/fruit/healthy &/' fruit.txt
Apple is a healthy fruit
But this healthy fruit is costly
#
sed works fine here. But... (2 Replies)
Hello,
I have been working on script in which search and replace the multiple pattern.
1. update_params.sh read the multiple pattern from input file ParamMapping.txt(old_entry|New_entry) and passing this values one by one to change_text.sh
2. change_text.sh read... (0 Replies)
Hi Everyone,
We are trying to do a logrotate for "catalina.out" daily, So have used the "copytruncate" option in the logrotate configuration but ended up seeing there was a 0kb file touched with "catalina.out" and the other file with the current date(compressed) file created and seems the log is... (2 Replies)
Discussion started by: thiyagoo
2 Replies
LEARN ABOUT HPUX
show_clerk
show clerk(1m) show clerk(1m)NAME
show clerk - Displays attribute information about the CDS clerk on the local system
SYNOPSIS
cdscp show clerk
DESCRIPTION
The show clerk command displays all the names and values of the clerk attributes on the local system. The clerk must be enabled when you
use this command. The following are valid attributes:
Specifies the number of times a requesting principal failed authentication procedures. Specifies the number of requests to read attributes
for which the clerk was specifically directed by the requesting application to bypass its own cache. Instead, a server is contacted to get
the requested information. This attribute does not account for requests that the clerk is unable to satisfy from the cache or for requests
to look up names or enumerate the contents of directories. Specifies the total number of read requests directed to this clerk that were
satisfied entirely by the information contained in its own cache. This attribute accounts only for requests to read attribute values and
does not include requests to look up names or enumerate the contents of directories. Specifies the time when this entity was created.
Specifies the number of operations other than read and write (that is, skulks, enumerating contents of directories, and so on) performed by
this clerk. Specifies the number of lookup operations performed by this clerk. This attribute accounts only for requests to read
attributes and does not include requests to look up names or enumerate the contents of directories. Specifies how many requests to modify
data were processed by this clerk.
Privilege Required
You must have read permission to the clerk.
NOTE
This command may be replaced in future releases by the dcecp command, and may no longer be supported at that time.
EXAMPLE
The following command displays the attributes of the clerk on the local system: cdscp> show clerk
SHOW
CLERK
AT 1991-10-15-15:56:50
Creation Time = 1991-10-15-15:38:19.000000051-04:00I0.000000000
Authentication failures = 0
Read Operations = 1068
Cache Hits = 137
Cache bypasses = 433
Write operations = 1250
Miscellaneous operations = 590
RELATED INFORMATION
Commands: disable clerk(1m)
show clerk(1m)