you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 year ago (1 child)

or nano to $EDITOR, if you like copy-pasting commands from tutorials.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 1 year ago

    Well, to be fair, that one is easier to undo (and, depending on the command you pasted, might take care of itself when you start a new session).

    But yeah ... Running visudo and getting a nano interface should be illegal IMHO.

  • source
  • parent