![]() ( talk) (please sign your comments with ~~~~) Using sudo !! outputs the previous command with sudo into your bash (other shells as well) history, so to bash what you said was "sudo make me a sandwich" not "sudo !!". Note that it is more effective to write "sudo !!" to redo the last command but with sudo added to it. Searching "make me a sandwich" on DuckDuckGo tells you to make it yourself, but searching "sudo make me a sandwich" returns "Okay."Īdd a comment! ⋅ add a topic (use sparingly)! ⋅ refresh comments! Discussion.The sudo tool has adopted a sandwich-based logo, as seen on the Sudo main page (and the bottom of the list of contributors).This comic used to be available as a T-shirt and as a signed print in the xkcd store before it was shut down.Wikipedia suggests that the "Simon" in the name of the game may be the powerful lord Simon de Montfort, or a corruption of Cicero, both of whom were influential politicians of their day. Simon Says is a children's game in which a leader gives various commands that must be followed if and only if ( iff) the leader prefixes the command with "Simon says." The title text compares the way the computer will run some commands if they are preceded with "sudo" to the way Simon Says players are supposed to follow orders if (and only if) they are preceded with "Simon says."Īlternatively, the title text might merely be referring to the similarity between Cueball ordering his friend around with "sudo" to the Simon Says game leader ordering other players around. For anyone versed in installing system software with the make command, this exchange is intensely reminiscent of the analogous onscreen experience. Cueball then (ab)uses the sudo command on the friend, who then has no choice but to go and make the sandwich, and now does so without complaint, because Cueball has all the rights. ![]() Not being properly asked, the friend denies the request. They then need to repeat the command with "sudo," whereupon the computer responds obediently, and everything works smoothly.Ĭueball is demanding a sandwich from his friend. However as mentioned before since most commands work just fine without sudo, along with general discouragement from using it willy-nilly, it is fairly common for people who use or administer UNIX systems to attempt a straight up % make install and have it fail. Often this command requires administrative permissions in order to complete successfully, which in practice means the " make this" command will fail unless it is typed as " sudo make this" instead. One very common activity for UNIX administrators is to install or configure software using the UNIX make command, e.g. As a result, common advice is to not use sudo unless the command in question absolutely requires it - indeed, most commands do not require such privileges. Root (sometimes called the superuser) has complete system powers, exempt from all access controls it is similar to a Windows administrator, however even the powers of a Windows administrator is limited - the system32 folder, for example, cannot be deleted because it is a critical part of the operating system, while there is no such restriction on UNIX - if a root user feels like (or accidentally) deletes a vital file, they are free to do so. The sudo command (pronounced "sue do" or "pseudo") lets certain (authorized) UNIX users override these policies by executing the command (everything after the word "sudo" on the command line) as the root user. On both Windows and UNIX computer systems, users can be assigned all kinds of rights, for example rights to access certain directories and files, or to execute certain commands. Title text: Proper User Policy apparently means Simon Says.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |