I have visited usr/bin directory, but there's no file called cat. How can I find where cat file is stored? I also used Linux global search which did not work. Thanks
Asked
Active
Viewed 2,785 times
1 Answers
4
$ whereis -b cat
cat: /usr/bin/cat
$ command -v cat
/usr/bin/cat
$ type cat
cat is hashed (/usr/bin/cat)
(not advised)
$ which cat
/usr/bin/cat

Pedro
- 1,891
- 1
- 13
- 23
-
1https://unix.stackexchange.com/questions/85249/why-not-use-which-what-to-use-then#85250 – Fox May 28 '20 at 17:47