LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Missing commands (https://www.linuxquestions.org/questions/linux-newbie-8/missing-commands-326626/)

lPrentice 05-24-2005 11:40 AM

Missing commands
 
Hello,

I've just upgraded my Debian Woody system to Debian Sarge. Now my goal is to set up network printing, using my new Sarge box as a Samba server.

Following the instructions in O'Reilly's Linux Cookbook (Shroder), I've installed CUPS. Now the fun begins:

1) The first step is to make sure that the CUPs daemon is running by entering lpstat -t

But... When I do, I get "command not found"

2) Similarlyly, I tried detecting hardware as suggested in Chapt. 5.2: e.g. /sbin/lscpi

But.. I get "No such file or directory"

Please help me find the right track.

Many thanks,

Lloyd

JunctaJuvant 05-24-2005 11:59 AM

Were you root when you tried /sbin/lspci? Have you tried running "lpstat" by using the full path to it?

lPrentice 05-24-2005 12:03 PM

Re: missing commands
 
Hello,

Thanks for your reply.

Yes, I was root.

I don't know the path; I tried to use find, but perhaps I'm not using it correctly.

Lloyd

jw2328 05-24-2005 12:04 PM

Hi

For the lpstat command make sure you have the package cupsys-client installed

For lspci, debian doesn't put it in /sbin. try just lspci, if that doesn't work try /usr/bin/lspci

Hope that helps

lPrentice 05-24-2005 12:14 PM

Re: Missing commands
 
Hello,

You're a hero!

Both suggestions were right on.

Now onto the next mystery...

Many thanks,

Lloyd


All times are GMT -5. The time now is 10:15 AM.