Hello guys,
sorry for asking a non Zorin specific question here, but I find that this community is doing a great job, in terms of communication and giving advice aso.
What happens to me, often times, with Linux, is, that if I face a problem, I will browse the web to find a solution, ending up, copy pasting stuff, I rarely understand - but let's be honest, that's just the way it is - just to find out, stuff is outdated, packages are missing and whatnot.
What frustrates me the most , about this particular situation, is, that I can't help but feel, that this kind of "user-behaviour", comes with a price, which is, slowly but surely, messing up a perfectly fine system. By adding files, I don't know about, altering values, I have no idea about, where they are and what they do and so on.. It's just a super normal thing, every Linux beginner maybe even average user can relate to, that buggs me plenty.
Yes I am aware of apt-get remove
and purge
yada yada, still, some actions won't be undone with that, plus the terminal, often times, ends up, with so much text, that, even if you try to undo everything by yourself, it turns out to be quite the burdersome situation, which will take quite a bit of time on top of it.
So my question is, as the title says, Is there a command or tool that I can use to (safely) undo all commands I have entered in a terminal tab (session) or that would allow me to choose a timeframe like you can do in modern browsers to delete cache, cookies and so - which would be something like: last hour, last two hours, last 4 hours, today.
Thanks for your replies.
@Edit Tools like Mac OS Time Machine would do the job, I guess. But it has to be setup in a way, that would auto and increment backup your system every 5 minutes or something. I bet there are programs in Linux, that are capable of doing just that. What I am looking for or wondering is, if it wouldn't be more or at least also helpful, to have a command-undro-wrapper command within the terminal, you can quickly apply, when you come to the conslusion "this session was a mess-up" or maybe even as a pop-up feature that would show up, when you close a terminal or terminal-tab, that than would say "click here to undo session" (which will vanish if not pressed within 3 seconds or something) AND would need a second user input "are you sure you wish to undone this terminal session?"