whereis and locate.

Hints HOWTOs UNIX

A few simple commands to help make your life working with UNIX a little easier:

  • If you are looking for a certain programs, use:whereis. Example. You want to find out where ipfw is located. In the command line type whereis ipfw and whereis will spit out the location (/sbin/ipfw).
  • If you need to find a program or a file and you know what it is called, use:locate. Example. I know I want to uninstall MySQL, and I want to see every file that has mysql in the file path. In the command line, type locate MySQL and locate will spit out every file with MySQL in the file path. (Note, locate is case sensitive).

Leave a Reply

Your email address will not be published.
*
*

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Web Development WordPress

why wordpress?

I get a number of inquiries from people who want to know what content management system (CMS) or blog software I would recommend. After working with XOOPS, Plone, and of course WordPress my first thought is to make sure the CMS is a good fit. Although some people and companies benefit from more complicated systems, […]

Serenity Now!

Help is Not Always at the Help Desk

Wow. I recently received an email concerning an account creation for a particular company I have never had to call. In the email, the technician gave me a temporary account, email address, but no password, but gave me a number to call to have a helpdesk technician “reset” my password so I could use it […]