On Wed, 2007-01-31 at 22:37 +0000, Anne Wilson wrote: > On Wednesday 31 January 2007 19:59, Beartooth wrote: > > On Tue, 30 Jan 2007 21:12:42 +0000, Anne Wilson wrote: > > > On Tuesday 30 January 2007 20:52, Beartooth wrote: > > >> lsmod from a root prompt gets me "bash: lsmod: command not found" > > > > ^^^^^^^^^^^^^^^^^ > > > > > That's typical of what you get when you try it as user. Have you tried > > > it as root? > > > > Actually, I keep two tabs on my terminal (with background color > > contrasting to the default!) permanently signed on to root, one at / and > > one at /home/btth for things I do in that directory. > > > > I didn't c&p from there only because the problem machine, not seeing even > > the router, gives me no way I've yet found to use c&p to another machine > > that does access the Net. (Its K3B doesn't recognize my CD drive as a > > burner, and I haven't actually used a floppy for so long I don't remember > > how.) > > > > But I did mean the phrase "from a root prompt" to imply that that machine > > shows me exactly what, as a matter of fact, I also get on the biggest > > newest one, which I'm using now : > > > > [root@localhost btth]# lspci > > bash: lspci: command not found > > [root@localhost btth]# lsmod > > bash: lsmod: command not found > > [root@localhost btth]# > > > Sorry - somehow I missed that. ---- as user... echo $PATH /usr/kerberos/bin:/usr/java/jre/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/NX/bin as user that performs 'su' /usr/kerberos/sbin:/usr/java/jre/bin:/usr/kerberos/bin:/usr/java/jre/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/NX/bin:/usr/NX/bin as user that performs 'su -' # note the dash /usr/kerberos/sbin:/usr/kerberos/bin:/usr/java/jre/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/NX/bin:/root/bin Note that each is different and it is an important difference... # which lspci lsmod /sbin/lspci /sbin/lsmod and /sbin path (and for that matter, /usr/sbin path) is only available to the user who performs the command 'su -' Craig