re: Linux: permission denied VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Can you explain why this works?
 

$(history -p !!) runs the last command you run. For example if you run less /etc/shadow, then sudo $(history -p !!) would be sudo less /etc/shadow

code of conduct - report abuse