Hi,
I have a monitoring script that I run, and I would like to automate checking if specific parameter file is modified during the last day or two. How do I do that? (1 Reply)
actually, i'm making an Intrusion Detection System for education purpose (for project) using Bourne shell. The problem I get in that is:-
1. My application should check if there's some modification or alteration in the directory.
2, For that thing, I need to have every attribute of file and... (1 Reply)
I need to find out the last modified time for the files which are older than 6 months. If I use ls -l, the files which are older than 6 months, I am just getting the day, month and year instead of exact time. I am using Korn shell, and SUN OS.
Thanks in Advance,
Kiran (3 Replies)
How to change the modified time of a file to any specified time.
ls -ltr
drwxr-xr-x 2 pipe pipe 4096 Jun 10 10:33 coredump_06062008
----------------------------------------------------------------------
here file coredump_06062008 last modified time is Jun 10 10:33 and i... (1 Reply)
Hi,
I'm new to shell script programming, I only have Java programming background.
I'm writing a shell script to do file synchronization between 2 machines that located at different time zone area. Both machine were set its time zone according to its geographical location (Eg: server is at... (1 Reply)
is it possible to come up with a list of files that are modified before a certain number of hours only using the grep command?
ex. list files that were modified less than 10 hours ago
i've only managed to list files that were created on the same day, i can't seem to figure out how to work... (3 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
is it possible to come up with a list of files that are modified before a certain number of hours only using the... (3 Replies)
Hi all,
We use cron "/usr/rdl/sc/cccron" to execute our jobs.
But sometimes it is being changed. but we are not sure when it is changed.
how could we find when cron is modified.
i checked cron by giving ls -l . but it is showing 2009 year.
ls -l /usr/rdl/sc/cccron
-r-xr-xr-x 1... (0 Replies)
Hi all,
We use cron "/usr/rdl/sc/cccron" to execute our jobs.
But sometimes it is being changed. but we are not sure when it is changed.
how could we find when cron is modified.
i checked cron by giving ls -l . but it is showing 2009 year.
ls -l /usr/rdl/sc/cccron
-r-xr-xr-x 1... (2 Replies)
Discussion started by: Divakar
2 Replies
LEARN ABOUT DEBIAN
tardiff
TARDIFF(1) User Commands TARDIFF(1)NAME
TarDiff - Compare two tarballs and report differences
DESCRIPTION
TarDiff compares the contents of two tarballs and reports on any differences found between them. Its use is mainly for release managers who
can use it as a QA tool to make sure no files have accidently been left over or were added by mistake. TarDiff supports compressed tar-
balls, diff statistics and suppression of GNU autotool changes.
SYNOPSIS
tardiff [options] file1.tar file2.tar[.gz/.bz2]
OPTIONS -m, --modified Report on all changed files, including those present in both tarballs
-l, --list List all files, even those not changed at all
-a, --autoskip Skip files which belong to the GNU autotools (for --modified)
-s, --stats Run statistics (diffstat) on all modified files (for --modified)
-v, --version Display tardiff version
-h, --help Display this help screen
SEE ALSO tar(1), tardy(1)AUTHOR
TarDiff was written by Josef Spillner <josef@coolprojects.org>. This man page was written by Axel Beckert <abe@debian.org> based on
help2man(1) output for the Debian Project, but may be used by others.
COPYRIGHT
Copyright (C) 2005 Josef Spillner <josef@coolprojects.org>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation.
TarDiff 0.1 December 2011 TARDIFF(1)