How-To

How to fix macOS command line typos in Terminal

The caret character (^) can be your best friend.
macOS Big Sur Terminal icon
Image: Apple