Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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
Last edited by markush; 04-09-2011 at 07:02 PM.
Reason: typo
Distribution: RPM Distros,Mostly Mandrake Forks;Drake Tools/Utilities all the way!GO MAGEIA!!!
Posts: 986
Rep:
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!
Last edited by theKbStockpiler; 04-11-2011 at 02:24 PM.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.