Drush! and can't find settings.php

DruslA few years ago I moved from Windows XP to Ubuntu, for a couple of reasons.  I was coding more, which created a natural association with the most basic level of computing.  I kept going to simpler text editors and worked with extensicely with files and CODE.  Another reason was to stop fighting viruses and malware, and of course XP.  

And of course there is the command line - which is where Drush comes in.  Up until recently I had just dabbled in Drush, the command line utility for Drupal.  But over the last few weeks, I have been USING Drush.  http://drupal.org/project/drush  I had some hurdles to overcome though.  

Can't Find Settings.php

I have been setting up my Drupal installs as if they are multisite installs, so the settings.php file lives in a folder named for the site domain.  So for the domain http://wilbur.us, I create a folder called wilur.us, within the sites folder, and that folder contains my settings.php file.  With this kind of config, Drush can't find the settings.php fiole, so it does not have access to the mysql user account.  For some operations, Drush then spits out warnings and errors about not enough access level.  Very annoying.  

There is a simple way around this though.  Once you are in your ssh session, just navigate to the folder that contains that settings.php file.  Drush gets real smart real fast, and you are off to the races.  

After you get the hang of "drush up" you will never download another tax.gz copy of a module again!  

Get down to basics!  Check out all the options at http://www.drush.org/.