Computer Basics: Undo and Redo
Undo your mistakes

Have you ever made a big mistake while doing work on a computer and wished it hadn’t happened? Don’t worry, there’s a feature that can help.

Most programs have an Undo command that reverts back to the last change you made to your current project. If your last change was adding or pasting text into a document, Undo will delete it. If your last change was deleting something, Undo will restore it. This can come in handy when you accidentally overwrite a big chunk of a document, and just knowing this feature is available can be a big relief.

How to use Undo

The Undo function is most commonly found in the Edit menu.

Undo in Edit menu

Many programs have an Undo button on the toolbar that usually resembles a curved arrow pointing left, like this one in Google Docs.

Undo button
Keyboard Shortcut:
Ctrl+Z (on a PC) or Command+Z (on a Mac) is the common keyboard shortcut for Undo.

Usually, programs with the Undo function keep track of not just your most recent change but an entire series of your most recent changes. For example, if you paste a picture in a document and type a caption under it, using Undo once will remove the caption you typed, while using Undo a second time will remove the picture you pasted.

Keep in mind that these programs only keep track of your previous changes for as long as the program is open. If you close the file and open it again, you won’t be able to undo previous changes.

The Redo function

Many programs also have a Redo function, which will "undo your last undo." If you use Undo but then realize you didn’t want to Undo your most recent change, Redo will restore it.

Many types of programs use Undo functions, including word processors, image editors, email clients, and some file-management programs. It’s an almost universal feature in computer software. Once you become used to how Undo works, you won’t need to worry about losing work due to simple mistakes.

FAQs

What is the keyboard shortcut for Undo?

The universal keyboard shortcut for Undo is Ctrl + Z on Windows computers and Command + Z on Macs.

What is the keyboard shortcut for Redo?

In most programs, the Redo shortcut is Ctrl + Y (Windows) or Command + Y (Mac). Some applications also use Ctrl + Shift + Z.

Can I undo a change after I save the file?

Yes, usually you can continue to undo changes even after saving, as long as the file is still open. However, if you close the file and reopen it, the undo history is typically cleared.

How many times can I press Undo?

This depends on the specific program and your computer's memory (RAM). Many modern programs like Microsoft Word allow you to undo the last 100 actions, while others may only allow 10 or 20.

Is there an Undo button for deleting files?

If you accidentally delete a file in Windows Explorer or Mac Finder, you can often press Ctrl + Z immediately to restore it. Otherwise, you will need to check the Recycle Bin or Trash.

You May Also Like

Loading...