星期日, 6月 07, 2009

Finding Linux system files and command locations

Which command do you use to establish the specific version of a command that will be executed?

apropos
slocate
whereis
which




The (            ) command provides a brief summary of a command's function.

apropos
locate
whatis
which




What is the difference between the find and the locate commands in Linux?

The find command searches for files and directories, whereas the locate command searches for commands
The find command searches the file system, whereas the locate command searches for files in a pre-prepared database
The locate command searches for files in real time, whereas the find command searches a prepared list of frequently used files




Which command revises the slocate database according to the most current information available?

apropos
updatedb
whereis
which