LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Newbie needs help with home work (https://www.linuxquestions.org/questions/linux-newbie-8/newbie-needs-help-with-home-work-874036/)

Fwill 04-09-2011 04:56 PM

Newbie needs help with home work
 
I am just learning linux actually I am still in school. But I need some help with a question on my homework. just want to know if I am even close and what mistakes I made.
Using the command line tool, how would you add the following to print to CUPS?

1. Model Wizbang 9000:lpadmin -p Wizbang 9000 -c -m -e

2. PPD file Wizbang_9000_ps.ppd.gz (already in the foomatic database):lpadmin -p "Wizbang 9000" -E -v -m Wizbang_9000_ps.ppd.gz



3. Connected to a JetDirect print server with an IP of 172.20.20.76: lpadmin -p "JetDirect" -E -v socket://172.20.20.76 -m


4. Accessible to all users:lpadmin -p printer -u allow:all

All feedback is welcomed thanks in advance

trucutu 04-09-2011 05:00 PM

Uhm
 
How about you first give it a try, post the code from your attempts here and then we can talk about it. You can't seriously expect people to do your homework for you.

markush 04-09-2011 05:57 PM

Hello Fwill, welcome to LQ,

you're posting from a Windows-computer. Don't you have a Linux-computer? you'd be better off to install Linux (dualboot or in a virtual machine) and try the commands by yourself.

Markus

theKbStockpiler 04-09-2011 06:59 PM

Some web sites are funny about home-work.
 
LQ does not do the home-work thing.It is against forum rules. So the route to go is probably to ask about an overveiw or something. Going though the material in a algorithmic way only benefits you if you do it yourself. LQ is very prolific but no home-work section. It's not their bag but other sites actually have these forums. Do a web search of Unix and Linux (forums) and the most obvious links are your best bet to find (home-work) threads. Edit: scratch the Linux search and just do the Unix search.Another edit: I really did not mean "funny ha ha". LQ has mostly a zero tolerance for home-work questions so if it even reassembles it or is close to a hm question , it is out of bounds. I think it adds a lot more overhead for the moderators and in principle LQ does not agree with it either. Good luck with your class!

Fwill 04-09-2011 11:39 PM

Quote:

Originally Posted by trucutu (Post 4319482)
How about you first give it a try, post the code from your attempts here and then we can talk about it. You can't seriously expect people to do your homework for you.

I did post the code that I came up with that's why it's the entire question with a code and I ask for feed back to see if I made a mistake some where or if I was on the right path I don't need you to do my homework for me just need to know if I am doing it right.

Fwill 04-09-2011 11:41 PM

Quote:

Originally Posted by markush (Post 4319513)
Hello Fwill, welcome to LQ,

you're posting from a Windows-computer. Don't you have a Linux-computer? you'd be better off to install Linux (dualboot or in a virtual machine) and try the commands by yourself.

Markus

No I don't have a Linux-computer but thanks I will try getting a virtul and putting Linux on it
Thank you.

Fwill 04-09-2011 11:46 PM

Quote:

Originally Posted by theKbStockpiler (Post 4319556)
LQ does not do the home-work thing.It is against forum rules. So the route to go is probably to ask about an overveiw or something. Going though the material in a algorithmic way only benefits you if you do it yourself. LQ is very prolific but no home-work section. It's not their bag but other sites actually have these forums. Do a web search of Unix and Linux (forums) and the most obvious links are your best bet to find (home-work) threads. Edit: scratch the Linux search and just do the Unix search.

Ok... Thank you but I reall just wanted what I did checked by people who knew about Linux my post is my home work question and the commands that I got out of my book that I thought to be correct.


All times are GMT -5. The time now is 06:37 PM.