I had a test on UNIX today and there was some controversy with one of the questions. Here's the setup:
We are all logged into the server with our own accounts.
The question is:
The instructor said the correct way to get that information would be to do an lpstat -t...but doesn't that display all printers whether your login account can use them or not? I did a regular lpstat.....any UNIX gurus want to chime in with some strong words on what the answer would be?
We are all logged into the server with our own accounts.
The question is:
Display the status of all printers available for your use and save it to a file called printer.
The instructor said the correct way to get that information would be to do an lpstat -t...but doesn't that display all printers whether your login account can use them or not? I did a regular lpstat.....any UNIX gurus want to chime in with some strong words on what the answer would be?