The Enchanted Tavern
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@JPDev@programming.dev to Programmer Humor@programming.dev • 1 year ago

Always try sudo

programming.dev

message-square
126
fedilink
1.09K

Always try sudo

programming.dev

@JPDev@programming.dev to Programmer Humor@programming.dev • 1 year ago
message-square
126
fedilink
alert-triangle
You must log in or register to comment.
  • @BleatingZombie@lemmy.world
    link
    fedilink
    19•1 year ago

    Please forgive my ignorance. What does ** do?

    • @gaylord_fartmaster@lemmy.world
      link
      fedilink
      23•1 year ago

      Acts as a wildcard for any directories that exist between arteries and clot.

      • @MonkderDritte@feddit.de
        link
        fedilink
        3•
        edit-2
        1 year ago

        But only in Bash and if settings match. It’s only reliable on your own shell, don’t use it in scripts.

      • @KISSmyOS@feddit.org
        cake
        link
        fedilink
        6•1 year ago

        TIL!

    • mosiacmango
      link
      fedilink
      1•
      edit-2
      1 year ago

      deleted by creator

    • mosiacmango
      link
      fedilink
      6•
      edit-2
      1 year ago

      Had to look this up as well. Its not rm specific:

      * is a simple, non-recursive wildcard representing zero or more characters which you can use for paths and file names. ** is a recursive wildcard that can only be used with paths, not file names.

      More here.

    • @Technus@lemmy.zip
      link
      fedilink
      8•
      edit-2
      1 year ago

      It’s a glob pattern (edit: tried to find a source that actually showed ** in use).

Programmer Humor@programming.dev

!programmer_humor@programming.dev
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
  • 149 users / day
  • 335 users / week
  • 1.3K users / month
  • 4.45K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 51.1K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • UI: unknown version
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org