Sunday, May 5, 2024
74
rated 0 times [  74] [ 0]  / answers: 1 / hits: 10328  / 1 Year ago, wed, december 21, 2022, 12:04:17

I am a user of Ubuntu with not much experience and I have been using sudo.



What does sudo !! do and how?


More From » command-line

 Answers
7

!! in bash is an alias for the previous command (see Event Designators). So it re-runs the previous command with sudo permissions.


[#28341] Wednesday, December 21, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
hical

Total Points: 498
Total Questions: 106
Total Answers: 117

Location: Comoros
Member since Tue, Mar 14, 2023
1 Year ago
;