8 More Discussions You Might Find Interesting
1. Web Development
Hi
i would like to grant access specific to one uri and rest of them should be denied.
as follows:
http://websitename/example user should be able to access
htttp://websitename/other user should be denied (1 Reply)
Discussion started by: raghur77
1 Replies
2. Web Development
Current Situation:
1. Visit: https://xyz.com/2015/september?trackingparam=1234
2. The URL is missing the trailing / after the “september” directory
3. The URL is redirected and rewritten to: https://xyz.com/2015/september/ , dropping the query string data.
Note:... (0 Replies)
Discussion started by: raghur77
0 Replies
3. UNIX for Advanced & Expert Users
I encounter frequently a problem when installing Perl modules as follows:
perl -MCPAN -e 'install Family::Module'
The error message is:
Proxy must be specified as absolute URI; ' ' is not at /usr/local/lib/perl5/5.8.8/CPAN.pm line 2357
even though I am not behind a proxy. Forcing to install the... (4 Replies)
Discussion started by: figaro
4 Replies
4. Shell Programming and Scripting
Hi,
what I am trying to do in PHP, is to replace the Title. I need some of the URL information inside aswell depending on the domain.
The title is always different so I need to store it in a variable, put the url info like described below in front of it.
Here is an example how it should... (0 Replies)
Discussion started by: lowmaster
0 Replies
5. Shell Programming and Scripting
It really to make for Russian?
from "тест" to "%D1%82%D0%B5%D1%81%D1%82" (1 Reply)
Discussion started by: Trump
1 Replies
6. UNIX for Dummies Questions & Answers
I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment.
As an example, we have a tape library and giving the command
"camcontrol devlist" gives the following output:
akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies
7. Solaris
I have added a sun storage array from a faiulty server onto a new server and copied the md.conf files etc. I can now access the /dev/md/dsk file systems, but I want to delete some metadevices that do not exist (it still thinks the 0 and 1 (root /var /export) disk are mirrored. How do I do this? (8 Replies)
Discussion started by: ozzmosiz
8 Replies
8. HP-UX
Is it possible to create the CDROM device file for a drive attached to the parallel port? I have a removable CDROM drive (gift - I'm trying not to return it, but may have to anyways) that attaches via parallel port. The only device that I can attach to that hardware address is /dev/c1t0d0_lp, a... (9 Replies)
Discussion started by: LivinFree
9 Replies
LEARN ABOUT MOJAVE
lpstat
lpstat(1) Apple Inc. lpstat(1)
NAME
lpstat - print cups status information
SYNOPSIS
lpstat [ -E ] [ -H ] [ -U username ] [ -h hostname[:port] ] [ -l ] [ -W which-jobs ] [ -a [ destination(s) ] ] [ -c [ class(es) ] ] [ -d ]
[ -e ] [ -o [ destination(s) ] ] [ -p [ printer(s) ] ] [ -r ] [ -R ] [ -s ] [ -t ] [ -u [ user(s) ] ] [ -v [ printer(s) ] ]
DESCRIPTION
lpstat displays status information about the current classes, jobs, and printers. When run with no arguments, lpstat will list active jobs
queued by the current user.
OPTIONS
The lpstat command supports the following options:
-E Forces encryption when connecting to the server.
-H Shows the server hostname and port.
-R Shows the ranking of print jobs.
-U username
Specifies an alternate username.
-W which-jobs
Specifies which jobs to show, "completed" or "not-completed" (the default). This option must appear before the -o option and/or any
printer names, otherwise the default ("not-completed") value will be used in the request to the scheduler.
-a [printer(s)]
Shows the accepting state of printer queues. If no printers are specified then all printers are listed.
-c [class(es)]
Shows the printer classes and the printers that belong to them. If no classes are specified then all classes are listed.
-d Shows the current default destination.
-e Shows all available destinations on the local network.
-h server[:port]
Specifies an alternate server.
-l Shows a long listing of printers, classes, or jobs.
-o [destination(s)]
Shows the jobs queued on the specified destinations. If no destinations are specified all jobs are shown.
-p [printer(s)]
Shows the printers and whether they are enabled for printing. If no printers are specified then all printers are listed.
-r Shows whether the CUPS server is running.
-s Shows a status summary, including the default destination, a list of classes and their member printers, and a list of printers and
their associated devices. This is equivalent to using the -d, -c, and -v options.
-t Shows all status information. This is equivalent to using the -r, -d, -c, -v, -a, -p, and -o options.
-u [user(s)]
Shows a list of print jobs queued by the specified users. If no users are specified, lists the jobs queued by the current user.
-v [printer(s)]
Shows the printers and what device they are attached to. If no printers are specified then all printers are listed.
CONFORMING TO
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", and "#". Also,
printer and class names are not case-sensitive.
The -h, -e, -E, -U, and -W options are unique to CUPS.
The Solaris -f, -P, and -S options are silently ignored.
SEE ALSO
cancel(1), lp(1), lpq(1), lpr(1), lprm(1), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc.
26 May 2017 CUPS lpstat(1)