What if you want to use a btrace application on linux, but the linux system has a built-in command?

how do I create aliases for btrace applications?

Feb.28,2021

use the full path to distinguish the commands built into the system.

for example, your btrace is in the / opt/bin/ directory, and you can execute it with / opt/bin/btrace .

to view the location of commands built into the system, use which btrace .


1. Just build a soft link

ln -s /oldpath/oldname /newpath/newname

2. Or change your name and use mv btrace btracex

Menu