LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2005, 12:40 PM   #1
lPrentice
LQ Newbie
 
Registered: May 2005
Posts: 23

Rep: Reputation: 15
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
 
Old 05-24-2005, 12:59 PM   #2
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & FreeBSD
Posts: 488

Rep: Reputation: Disabled
Were you root when you tried /sbin/lspci? Have you tried running "lpstat" by using the full path to it?
 
Old 05-24-2005, 01:03 PM   #3
lPrentice
LQ Newbie
 
Registered: May 2005
Posts: 23

Original Poster
Rep: Reputation: 15
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
 
Old 05-24-2005, 01:04 PM   #4
jw2328
Member
 
Registered: May 2005
Distribution: Debian
Posts: 51

Rep: Reputation: 15
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
 
Old 05-24-2005, 01:14 PM   #5
lPrentice
LQ Newbie
 
Registered: May 2005
Posts: 23

Original Poster
Rep: Reputation: 15
Re: Missing commands

Hello,

You're a hero!

Both suggestions were right on.

Now onto the next mystery...

Many thanks,

Lloyd
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SUSE 9.0 Commands - Missing? Mnemen Linux - Newbie 8 06-17-2004 03:10 PM
missing network commands dalerobertson Linux - Networking 3 05-02-2004 08:50 AM
Missing Commands Titus28 Slackware 3 08-13-2003 06:12 AM
Missing Commands under Mandrake 9? Arc_Light Linux - Newbie 6 12-13-2002 05:50 PM
RH 7.3 missing commands beckwith Linux - Software 2 11-15-2002 04:33 AM


All times are GMT -5. The time now is 04:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration