![]() ![]() So, have fun and please root responsibly. Sudo make "me a sandwich" #bash automatically shows you what the full command with replacement is. $ sudo !! # !! takes the full last command in history and puts it here ![]() ![]() This is EXTREMELY (I wish I could make it even bolder) and I repeat EXTREMELY unwise, and I think you will find yourself in much more of a bind than just having to remember to type the five characters sudo before your command.Īs an alternative, you could sudo su - before you have to run a string of commands limiting the stress on your fingers for those extra five characters ( 5's can add up quickly.) and remember to type the four characters exit at the end so you do not do anything stupid unintentionally.Īs was posted before, the better option is to just take advantage of the command history if you make a mistake and do: $ make "me a sandwich" If you do not want to have to type sudo before everything which needs root authentication or authorization, then the only solution is to log in as root. Typing in make me a sandwich into DuckDuckGo tells you to make it yourself. I know this answer is not going to be popular, but in answering the question, it is appropriate ( but not wise). You'll never know if you don't go You'll never shine if you don't glow Hey now, you're an all-star, get your game on, go play Hey now, you're a rock star, get the show on, get paid And all that glitters is gold Only shooting stars break the mold It's a cool place and they say it gets colder You're bundled up now, wait till you get older But the. XKCD 149, AKA Sandwich, is justly treasured as a classic of nerd humor, but there are plenty of other potential punchlines. The sudo tool has adopted a sandwich-based logo, as seen on the Sudo main. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |