Blåhaj Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
JPDev@programming.dev to Programmer Humor@programming.dev · 10 months ago

Always try sudo

programming.dev

message-square
81
link
fedilink
1.11K

Always try sudo

programming.dev

JPDev@programming.dev to Programmer Humor@programming.dev · 10 months ago
message-square
81
link
fedilink
  • BleatingZombie@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    10 months ago

    Please forgive my ignorance. What does ** do?

    • gaylord_fartmaster@lemmy.world
      link
      fedilink
      arrow-up
      23
      ·
      10 months ago

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

      • KISSmyOS@feddit.org
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        10 months ago

        deleted by creator

      • MonkderDritte@feddit.de
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        10 months ago

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

    • Technus@lemmy.zip
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      10 months ago

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

    • mosiacmango@lemm.ee
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      10 months 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.

    • mosiacmango@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      10 months ago

      deleted by creator

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

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
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.71K users / day
  • 4.15K users / week
  • 8.47K users / month
  • 16.2K users / 6 months
  • 451 local subscribers
  • 23.1K subscribers
  • 1.34K Posts
  • 43.2K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org