0

For example, when I run the clear command in the Ubuntu Terminal, how does Ubuntu know whether it should run /usr/bin/clear or /bin/clear? Is there an alias for this job somewhere in Ubuntu?

I ran which -a clear to list clear's locations.

The output is:

/usr/bin/clear
/bin/clear

Then I looked at my ~/.bashrc file, but I couldn't find any alias for command locations.

kos
  • 41,268

0 Answers0