1

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

0
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
1

Not the answer you're looking for? Browse other questions tagged or ask your own question.