Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #208047

Re: How do I trace changes in configuration files?

From Lee <ler762@gmail.com>
Newsgroups linux.debian.user
Subject Re: How do I trace changes in configuration files?
Date 2019-05-02 18:20 +0200
Message-ID <xTmBb-3LV-3@gated-at.bofh.it> (permalink)
References <xSTSx-2Nt-7@gated-at.bofh.it> <xSVKF-3WH-1@gated-at.bofh.it> <xT0AF-6Wi-1@gated-at.bofh.it> <xTaA1-4M7-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 5/1/19, David Wright wrote:
>
> As for finding where the information went, I sometimes use
> # find /boot /etc /home /lib /lib64 /var -type f -mmin -1440 -print | less #
> one day
> but changing 1440 to something more appropriate, like 10 (mins).

You can use "find -newer" and not have to guess/remember how long ago

$ cat makets
#!/bin/sh
# create a timestamp file
#
# useful for finding files created after the timestamp
# eg. find files created/modified after timestamp
#   find  ${HOME} -newer /tmp/timestamp
# find all files created/modified after timestamp
#   find  /cygdrive/c -newer /tmp/timestamp

TS=`date +%Y%m%d-%H%M`
#   20160225-0734

touch /tmp/timestamp /tmp/timestamp-${TS}


Regards,
Lee

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How do I trace changes in configuration files? Erik Josefsson <erik.hjalmar.josefsson@gmail.com> - 2019-05-01 11:40 +0200
  Re: How do I trace changes in configuration files? Jonas Smedegaard <jonas@jones.dk> - 2019-05-01 13:00 +0200
  Re: How do I trace changes in configuration files? Dan Purgert <dan@djph.net> - 2019-05-01 13:40 +0200
    Re: How do I trace changes in configuration files? Erik Josefsson <erik.hjalmar.josefsson@gmail.com> - 2019-05-01 18:50 +0200
      Re: How do I trace changes in configuration files? Dan Purgert <dan@djph.net> - 2019-05-01 19:30 +0200
      Re: How do I trace changes in configuration files? Joe <joe@jretrading.com> - 2019-05-01 23:20 +0200
        Re: How do I trace changes in configuration files? Jude DaShiell <jdashiel@panix.com> - 2019-05-02 00:10 +0200
      Re: How do I trace changes in configuration files? David Wright <deblis@lionunicorn.co.uk> - 2019-05-02 05:30 +0200
        Re: How do I trace changes in configuration files? Dan Purgert <dan@djph.net> - 2019-05-02 13:10 +0200
        Re: How do I trace changes in configuration files? Lee <ler762@gmail.com> - 2019-05-02 18:20 +0200
          Re: How do I trace changes in configuration files? David Wright <deblis@lionunicorn.co.uk> - 2019-05-02 22:20 +0200
            Re: How do I trace changes in configuration files? Lee <ler762@gmail.com> - 2019-05-02 23:00 +0200
  Re: How do I trace changes in configuration files? Andy Smith <andy@strugglers.net> - 2019-05-02 12:10 +0200

csiph-web