Post Al7qy9fEbZbLtQ3VCq by [email protected] | |
More posts by [email protected] | |
Post #Al6j3y93LsjR75Ivzs by [email protected] | |
0 likes, 1 repeats | |
i want a tool that will load my last-used linux one-liner, then add 'sudo&#… | |
Post #Al6oQuSbiVUM7JD1Iu by [email protected] | |
0 likes, 0 repeats | |
@mitch !! will run your last command, and you can do `sudo !!` to run the last … | |
Post #Al6oQuYdM6JEQ01phI by [email protected] | |
0 likes, 1 repeats | |
@timfreund oh wow. Cool | |
Post #Al7qy5qmmgSs45Qfei by [email protected] | |
0 likes, 0 repeats | |
@mitch I believe the command for doing this is "sudo !!" | |
Post #Al7qy5xWNdquOya39c by [email protected] | |
0 likes, 0 repeats | |
@mitch (This works for single commands. Not sure what is in your one-liners.) | |
Post #Al7qy9fEbZbLtQ3VCq by [email protected] | |
0 likes, 0 repeats | |
@mitch here’s an alias for your .bashrc:alias resudo="(export \$(compgen… | |
Post #Al7qyBsmMBckm0PLay by [email protected] | |
0 likes, 1 repeats | |
@khird @aarbrk thanks!! |