r.los and r.drain

You need to include the "input=" or "i=" , etc., along with your commands;
GRASS does not recognize what you are inputting without them. Most
of the time, you can abbreviate using the first letter ("input=" becomes
"i=", "output=" becomes "o=", etc)
          RT