150
Wombat
7y

Rules for server newbees:

1. Never just copy paste stuff from the internet into your console.

-- End --

Comments
  • 5
    @AlexDeLarge thank you. 💕
  • 16
    Also because most of the times you copy the "$ xx" command and "$" isn't recognized as an executable.

    (😂😂😂)
  • 7
    @HAlex I had set everything up. Then wondered why phpmyadmin isn't working... After some search I found how to destroy my work and start over...
  • 6
    Rule 2.
    There is one exception to rule 1 and that is with this command:
    >sudo rm -rf -no-preserve-root
  • 11
    And yes I made a typo in the command so no problems would occur for people.

    I did like how my phone suggested the whole command after typing sudo.
  • 3
    Quick tip. Put in a # before you paste (if it's one line only ofcourse)
  • 1
    @Pavr what's that for? Comment?
  • 4
    @Divisionbyzero yes that way if the line you're pasting has a newline at the end it just get typed in as a comment.
  • 3
    @Pavr I've always used #text as history tags for commands, so I could easily repeat them using things like ctrl-r and !?#text 😉
  • 2
    Prefixing with # doesn't safeguard against newlines within the clipboard though. It's rare that the part after a newline constitutes a valid command, yet still watch out whenever you are pasting anything.
  • 3
    Fish helps with this :)
  • 1
    @jamesharrington what?
  • 2
    @Divisionbyzero fish is good for your brain. So it makes these steps easier. ^^
  • 1
    @Codex404 yeah... sure.... oxygen is good for brains too... 😅
  • 0
    Zsh does not let me do this.
  • 2
    @Divisionbyzero

    Referring to friendly interactive shell.

    https://fishshell.com
  • 1
    @Divisionbyzero I was talking about the friendly interactive shell. FISH it's pretty cool I use it in all my computers. It takes a little bit of getting used to but I prefer it over regular shell or zsh
  • 0
    Nah. I'll type it out. ;) (sarcasm ofc)
Add Comment