Bref
In general, Finding the file what you want to use is find. but there’re more.
Let’s rolling
locatethis command, it will search its own db in sys where in
/var/lib/mlocate/mlocate.dband it will update once aday in the morning automatically.1
locate locate
And more. To update the db file immediately use
updatedbwhen you want to update themlocate.dbwhichTo find the
executablefile in “${PATH,MANPATH}”1
2
3which cd ls
#cd: shell built-in command
#ls: aliased to ls -Gwhereis
To check the standard binary directories for the specified programs, printing out the paths of any it finds1
2whereis ls
#/bin/ls
EOF
Enjoy
I, simon love this world ❤️