search

Home  >  Q&A  >  body text

ubuntu 中的 alias `ag` 是在哪里定义的 ?

% which ag
ag: aliased to sudo apt-get upgrade

尝试了下面的命令, 找不到:

/usr/bin/ag  --silent -i 'apt-get update' /

/usr/bin/ag  --silent -i 'alias[ ]+ag' /
迷茫迷茫2887 days ago309

reply all(2)I'll reply

  • 巴扎黑

    巴扎黑2017-04-22 09:02:04

    I don’t use Linux system much. You can use the alias command to see if it exists, and then unalias ag should be able to cancel the alias.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-22 09:02:04

    Generally speaking, in ~/.bashrcthis file

    reply
    0
  • Cancelreply