Post Av1ZiFpWUYantXk7SS by [email protected] | |
More posts by [email protected] | |
Post #Av1Kr0s7yZkonUgCBs by [email protected] | |
0 likes, 1 repeats | |
Job Interviewer: What's your biggest strength?Me: I know exactly what `sudo… | |
Post #Av1L4j2766nTWbtAlU by [email protected] | |
0 likes, 0 repeats | |
@nixCraft could someone be a homie and tell me what the two exclamation marks d… | |
Post #Av1LALTRbRR0C9LugC by [email protected] | |
0 likes, 0 repeats | |
@nixCraft i thought I knew sudo, only to find out I don't? What's the !… | |
Post #Av1LJbrO35eBccy8gq by [email protected] | |
0 likes, 0 repeats | |
@nixCraft ... only if you can precise on which shell it is working. | |
Post #Av1M1nwmTG1PqoZ8VM by [email protected] | |
0 likes, 0 repeats | |
@nixCraftBang bang | |
Post #Av1NPcsVNPFMQQUM52 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft I instill fear in the machine to be rebooted. The hard way.Then they … | |
Post #Av1S3VPwvwy6gdP58K by [email protected] | |
0 likes, 0 repeats | |
@nixCraft YOU ARE ALL HOMIES! thank you.So would "sudo !" do anything… | |
Post #Av1S4YWwqUBkdAB5ZA by [email protected] | |
0 likes, 0 repeats | |
@riquisimo It repeats the last used command | |
Post #Av1S4pzvtyTUnyrybY by [email protected] | |
0 likes, 0 repeats | |
It runs the previous command again. So `sudo !!` is often used when you forgot … | |
Post #Av1S5byrVG8fcYjnbE by [email protected] | |
0 likes, 0 repeats | |
@riquisimo @nixCraft it re-runs the last command with sudo, if you forgot the s… | |
Post #Av1S84UgSjuQdGnMIq by [email protected] | |
0 likes, 0 repeats | |
@josemachete79 @nixCraft execute the previous command in sudo mode if I remembe… | |
Post #Av1SBgx7vjl2mLpEjg by [email protected] | |
0 likes, 0 repeats | |
@riquisimo @nixCraft @josemachete79 !! is replaced by the shell with your last … | |
Post #Av1SoFDOzWsA2voyv2 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft for all who are curious - !! Means previous command $ command Access … | |
Post #Av1ZiFpWUYantXk7SS by [email protected] | |
0 likes, 0 repeats | |
@nixCraft nah nah nah, you gotta alias it to `please` | |
Post #Av1b14ojlEPdCCukQy by [email protected] | |
0 likes, 0 repeats | |
@capeta @nixCraft I think that in the long run it will just be abandoned as a p… | |
Post #Av1jFZVzDwss5eZBy4 by [email protected] | |
0 likes, 0 repeats | |
@josemachete79Answer is in the thread, so I won't repeat it. It's not a… | |
Post #Av287DVpdtucO7bhpo by [email protected] | |
0 likes, 0 repeats | |
@nixCraft sorry we need 30 years of sudo experience | |
Post #Av9fuLy5eLvLOea8mW by [email protected] | |
0 likes, 0 repeats | |
@riquisimo @nixCraft Docs on the bang (`!`) designator, and friends, can be fou… | |
Post #Av9fuuwXc6Ttrz7tj6 by [email protected] | |
0 likes, 0 repeats | |
@nixCraft this sounds like my first Unix sysadmin interview. (1995). ‘Write a… | |
Post #Av9fwFQUwXAPgdlynw by [email protected] | |
0 likes, 0 repeats | |
@piepants @riquisimo @nixCraft but if are like me and use bash or zsh and proba… | |
Post #Av9fwaxWsv4CTAO9ho by [email protected] | |
0 likes, 0 repeats | |
@capeta @nixCraft , I know I wasn't the one asked, but I think this is one … |