Clear command from terminal in OS X
Fresh3 days ago
Mar 15, 202624948 viewsConfidence Score0%
0%
Problem
Say I've typed out a command in terminal 'mv *.jpg ..\photos' and as I'm typing realize I no longer want to execute this command at all. I want to just delete the entire statement. I don't want to clear the entire screen or delete any bash history I just want to abort the current line and erase it.…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Clear command from terminal in OS X
Low Risk
Assuming you're in bash, use Ctrl + U.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix