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

Please forgive my ignorance. What does ** do?

permalink
report
parent
reply
23 points

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

permalink
report
parent
reply
6 points
*
Deleted by creator
permalink
report
parent
reply
3 points
*

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

permalink
report
parent
reply
8 points
*

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

permalink
report
parent
reply
6 points
*

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.

permalink
report
parent
reply
1 point
*
Deleted by creator
permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

Community stats

  • 2K

    Monthly active users

  • 861

    Posts

  • 14K

    Comments