Why do backslashes prevent alias expansion?

后端 未结 3 512
庸人自扰
庸人自扰 2020-12-28 15:53

In the first part of my question I will provide some background info as a service to the community. The second part contains the actual question.

Part I

3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-28 16:29

    Just for completion, here's yet another way to suppress alias & function lookups (by clearing the entire shell environment for a single command):

    # cf. http://bashcurescancer.com/temporarily-clearing-environment-variables.html
    env -i ls
    

提交回复
热议问题