herc3141

@herc3141@lemmy.world

This profile is from a federated server and may be incomplete. Browse more on the original instance.

What's (are) the funniest/stupidest way(s) you've broken your linux setup?

Tinkering is all fun and games, until it’s 4 am, your vision is blurry, and thinking straight becomes a non-option, or perhaps you just get overly confident, type something and press enter before considering the consequences of the command you’re about to execute… And then all you have is a kernel panic and one thought...

herc3141, (edited )

Backed up the whole disk image to an external drive because I didn’t have time for a proper backup but knew I would need some of those files later.

Installed a fresh new OS on the same disk, used it for a couple of months.

Needed to make some space on the external drive I had the backup on so I’ll just delete the backed up system files from it.

cd /mnt/external_drive

rm - r /usr /boot …

As you can probably see, a fresh new install was happening again

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • 200 @ user_overview
    HTTP status 200 OK
    Route name user_overview
    Has session yes
    Stateless Check no
    Time 636 ms
    Total time 636 ms
    Initialization time 168 ms
    Memory 12.0 MiB
    Peak memory usage 12.0 MiB
    PHP memory limit 128 MiB
    Logger 88
    Errors 0
    Warnings 0
    Deprecations 88
    Cache 36 in 154.56 ms
    Cache Calls 36
    Total time 154.56 ms
    Cache hits 32 / 45 (71.11%)
    Cache writes 7
    3
    Default locale en
    Missing messages 3
    Fallback messages 0
    Defined messages 132
    Security n/a
    Authenticated No
    Firewall name main
    Twig 235 ms
    Render Time 235 ms
    Template Calls 92
    Block Calls 16
    Macro Calls 0
    59 in 130 ms
    settings_row_switch 15
    date 5
    user_inline 4
    date_edited 4
    vote 4
    boost 4
    user_settings_row_switch 4
    entry 2
    magazine_inline 2
    entry_comment 2
    user_avatar 2
    settings_row_enum 2
    user_box 1
    user_actions 1
    related_magazines 1
    active_users 1
    related_categories 1
    related_posts 1
    related_entries 1
    support_us_block 1
    featured_magazines 1
    22 in 101.84 ms
    Database Queries 22
    Different statements 19
    Query time 101.84 ms
    Invalid entities 0
    Cache hits 21
    Cache misses 3
    Cache puts 4
    6.4.0
    Profiler token 904d10
    Environment dev
    Debug enabled
    PHP version 8.2.26   View phpinfo()
    PHP Extensions Xdebug ✗ APCu ✓ OPcache ✓
    PHP SAPI apache2handler