[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 110: Undefined array key "cached"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 111: Undefined array key "normal"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 112: Undefined array key "total"
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3391: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3393: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3394: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3395: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
Cabrillo College Linux Classes • View topic - rats

rats

Introduction to UNIX/Linux

rats

Postby janet tuma on Tue Jun 02, 2009 8:24 pm

Will I ever stop embarassing myself? :( I tried various times to add /home/roddyduk/bin to my path, I kept getting things messed up and having to log in and out...I did it so many times and NOW I see /home/roddyduk/bin IS in my path but I have no idea which of the many attempts got it there :o So question 26 on my pre-test remains blank despite success :x :roll: :!: :?: :cry: Sigh. Time to go back and play with the extra credit lab :geek:
janet tuma
 
Posts: 333
Joined: Wed Feb 11, 2009 3:07 pm

Re: rats

Postby janet tuma on Tue Jun 02, 2009 8:30 pm

Of course within 2 minutes after giving up I figure it out: I put tumawil on my path to see if it worked, since roddy was already there.

/home/cis90/tumajan $ PATH=$PATH:/home/cis90/tumawil
/home/cis90/tumajan $ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/cis90/bin:/home/cis90/tumajan/bin:.:/home/roddyduk/bin:/home/cis90/tumawil
janet tuma
 
Posts: 333
Joined: Wed Feb 11, 2009 3:07 pm

Re: rats

Postby Rich Simms on Wed Jun 03, 2009 7:44 am

Hooray ... I knew you would get there!

The PATH variable is really important as you found out. The shell uses this variable to locate the commands to run. If a command/program is not on your path you will get the "command not found" error message. If you have an empty path it will seem like all your commands have vanished! The commands are still there of course but without important directories like /bin and /usr/bin being on your path, most of the normal commands you use will just result in showing that error message.
User avatar
Rich Simms
Site Admin
 
Posts: 640
Joined: Thu May 15, 2008 2:44 pm


Return to CIS 90 - Spring 2009

Who is online

Users browsing this forum: No registered users and 0 guests

cron