The forum

Terminal

undo

Author Replies
MSOChristian Tuesday 10 January 2012 at 18:35
MSOChristianAnonymous

Good Morning All,
Zack here, I am new to linux, look forward to learning what I can, and help out
I am pretty good with installing software and using it, but this environment is over my head, so I will do my best to learn something and try to help out.

If You type something into terminal, and it seems to work
Is there a way to find what you did and undo it. ?
Thankyou
Zack

petch Thursday 12 January 2012 at 14:59
petch

You can do many things in a terminal, so there's no general way to know the effect of a previous command.
And there's no general way to undo a command either: if you remove a file for example, you usually can't "undelete" it. That's what backups are for.
So read the man pages about the commands you're about to use, work on copies of files, if you really want to experiment you can create a separate user that you will use as a sandbox, but no there's no such thing as "undo" on command-line.
You are here: Index > General discussion > Terminal