Preview the command history to find the command that you want to edit.
You can use either of two methods to edit previous command lines. Choose the method that you find best suits your needs.