🔍 See Original Question on Ask Ubuntu ⧉ 🔗
How do I find all system files I've edited with `gedit`?
November 14, 2016
Edited: April 13, 2017
December 3, 2023
Copy to clipboard: false
/assets/js/search.js will update text..
At first I was going to ask the question “Find all files I’ve created / changed after installation?” but that is a duplicate of (Find all files on the filesystem that I have edited or created) which doesn’t have a satisfactory answer because it includes stuff downloaded and never changed plus thousands of thumbnails Nautilus has created under my user ID unbeknownst to me.
The reason for this need is I had written a nifty script to power-off a USB port on my laptop that always has power in order to win a bounty.
Now I’m very displeased that my always powered on USB port by design is powered off during suspend or shutdown. I want to track down and revert the programs those systemd configurations I setup with
gedit. Having a poor memory for impromptu things I can’t remember what I changed.
How do I find all the files I’ve created or changed with
I have created a wrapper script called
gsu that uses
pkexec to replace
gksu gedit (How can I create new "gksu" command based on pkexec?). I will change it to log all system files edited with their last date.
In the mean time someone hinted on that link all sudo commands using gedit were logged someplace. The question is where and how to succiently list them with
grep or whatever?
Please note I can find this through other time-consuming means but feel this is an important question many others may have as well.