Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by jolmg

2 months ago

  $ which() { echo foo; }
  $ \which
  foo

The backslash only prevents alias expansion.

2 comments

jolmg

Reply

pepa65  2 months ago

He meant `command which`

  • jolmg  2 months ago

    > it'll always be a shell built-in

    `command which` wouldn't have been the built-in

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities