Sudo rm -rf .

you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 7 months ago (2 children)

Well I’m not necessarily commenting on the *.* but * will skip .files in bash.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 7 months ago (1 child)
  • [–] 2 points 7 months ago* (last edited 7 months ago)

    *.* will likely expect a file named *. and then delete any file globbed, but still leave dotfiles. At least in bash.

    In my shell it would just error at me and then I’d be mad fish doesn’t work like bash in this specific case

  • source
  • parent