pcorajr Posted April 18, 2004 Report Share Posted April 18, 2004 The other day i was talking to a good friend of mine who just jumped into the linux wagon. he told me that wile navigating thru his file system he tumble across 2 comands whatis and whereis but he did now know how to use them. so we headed to my house jumped on the pc and fired up the console. and i got to say we both learned a load of stuff just by using these 2 commands: whatis (1) - search the whatis database for complete words whereis (1) - locate the binary, source, and manual page files for a command after we found out what the commands did we got creative: cd /sbin; whatis * |more addpart: nothing appropriate agetty (8) - alternative Linux getty arp (7) - Linux ARP kernel module arping: nothing appropriate badblocks (8) - search a device for bad blocks blkid (8) - command-line utility to locate/print block device at tributes blockdev (8) - call block device ioctls from the command line chkconfig (8) - updates and queries runlevel information for system services clock (n) - Obtain and manipulate time clock (3) - Determine processor time clone-netprofile: nothing appropriate consoletype (1) - print type of the console connected to standard inpu t ctrlaltdel (8) - set the function of the Ctrl-Alt-Del combination debugfs (8) - ext2 file system debugger delpart: nothing appropriate depmod [depmod-24] (8) - handle dependency descriptions for loadable kernel m odules depmod [depmod-25] (8) - program to generate modules.dep and map files as you can see the comand tells you what files are in the directory and also tells you what they are used for. very handy. say you dont know were certain binary is ? whereis will tell you and also provide you with its man page location. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.