Down that hole

You are viewing a single thread.
View all comments View context
27 points

donā€™t listen to people who tell you to
rm -rf --no-preserve-root /

permalink
report
parent
reply
6 points

and one more thing: always look up what commands will do. So you can prevent bad behaviour and learn their options to use them later on your own.

Options for help:

  • --help
  • man
  • your favourite search engine
permalink
report
parent
reply
1 point

I definitely recommend getting used to --help and man, but after youā€™ve become comfortable with those I find that this utility is also fantastic.

Example of the output of tldr git checkout:

permalink
report
parent
reply
2 points

Pardon the late reply but what does man do?

permalink
report
parent
reply
1 point

And what exactly does that command do?

permalink
report
parent
reply
6 points

Deletes all the files in the root-dir recursively (needs sudo).
Without sudo all user-accessible files will be removed.
This will also affect all mounted drives (like USB-Drives, ā€¦) and on some motherbords can also corrupt the UEFI.

permalink
report
parent
reply
1 point

If the UEFI is corrupted is there a way to even boot a Live Environment?

permalink
report
parent
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

I use Arch btw


Sister communities:
Community rules
  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

Community stats

  • 7.5K

    Monthly active users

  • 1.2K

    Posts

  • 66K

    Comments