Results 1 to 5 of 5
Can anyone here tell me why I would be getting this command line output ?
I am attempting to install a HP C3180 PhotoSmart.
cascade@~
:-> sudo /etc/init.d/cups restart (input)
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-23-2008 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 2
command not found
Can anyone here tell me why I would be getting this command line output ?
I am attempting to install a HP C3180 PhotoSmart.
cascade@~
:-> sudo /etc/init.d/cups restart (input)
Password:
sudo: /etc/init.d/cups: command not found (output)
cascade@~
:->
geovaniLast edited by oz; 09-23-2008 at 12:42 AM. Reason: removed spam URL
- 09-23-2008 #2
have you checked if you have cups startup script by running
Code:ls -l /etc/init.d/cups
Linux and me it's a love story
- 09-23-2008 #3
that command wont work...
ls lists directory contents. You can't ask it to only list a file in a dir....
To the poster:
Are you a sudoer? By the way you wrote that sudo command it sounds like you are a Ubuntu user. Its ok most Ubuntu users cant find their way into the Ubuntu forum.
But assuming that you are using a RedHat/Fedora/CentOS Linux distro and that you are a sudoer that has been granted rights to run init scripts as root...
Than perhaps you are trying to run the /etc/init.d/cupsd script...
- 09-23-2008 #4
you might want to read some man pages again. ls can be used on directories, files , links and what not.
sudo is not proper to Ubuntu.To the poster:
Are you a sudoer? By the way you wrote that sudo command it sounds like you are a Ubuntu user. Its ok most Ubuntu users cant find their way into the Ubuntu forum.
But assuming that you are using a RedHat/Fedora/CentOS Linux distro and that you are a sudoer that has been granted rights to run init scripts as root...
Than perhaps you are trying to run the /etc/init.d/cupsd script...
if he is not on the sudolist the system will complain about that fact not throwing a "command not found" errorLast edited by khafa; 09-23-2008 at 02:13 AM. Reason: redefined quoting boundaries
Linux and me it's a love story
- 09-23-2008 #5
Read what I said about sudo.
Now explain the difference between files, links, FIFOs and sockets.
Your right about ls though. My mistake... i guess I am just too used to piping ls to grep.


Reply With Quote

