10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have written one shell script where I should call a function by passing variables to the actual function based on some condition.
Each time I run the script I am getting the below error
dsadm@bunyipd: /var/datastage/FRPDEVL/work/script> sh MClub_Validations.sh
Iteration: 1... (1 Reply)
Discussion started by: tpk
2. Red Hat
Having searched for a solution to this issue i found no suggestions which help my particular problem.
I am getting the following error message on 1 of the 3 printers i have configured:
recoverable: Network host 'xxx.xxx.xxx.xxx' is busy; will retry in 30 seconds
All 3 printers are... (0 Replies)
Discussion started by: Tommyk
I have to solve an urgent problem!
I have a Solaris 10 server, where I created a line of printing with the command
# /usr/sbin/lpadmin -p IL_Printer -s pv24002 -v /dev/null -m netstandard_foomatic -A write -n /usr/lib/lp/model/ppd/system/foomatic/Canon/cnl66e1.ppd.gz -o... (0 Replies)
Discussion started by: poyato
4. UNIX for Dummies Questions & Answers
When I try to see the man pages of gcc,
No manual entry for gcc.
Could you help me please. I am running solaris 10
Thanks! (4 Replies)
Discussion started by: gabam
5. UNIX for Dummies Questions & Answers
m installing cups-1.2.12 in hp-ux
./configure didnt give any error.
but make gives the following error
making all in cups...
In file included from http-private.h:142,
/usr/include/net/if.h:240: error: field 'iftp_local' has... (5 Replies)
Discussion started by: rosalina
6. Red Hat
I am beginer to Linux. I have installed Redhat Linux AS 4.0 on my System.Later I created a User Oracle10g for Installing Oracle.Then I logged onto Oracle10g user and crated a Bash Profile and when I run that profile there was an error in that Profile. from then If I type any of Linux Command... (2 Replies)
Discussion started by: praswer
7. UNIX for Dummies Questions & Answers
When i try to run a job in unix, i am getting
sqlload error as,
sqlload : file not found.
Can any one please let me know whats the reason for this..
The PATH & ORACLE_HOME paths names are correct...
hr is the script:
here is the script : plz hv a look
TABLE_NAME=... (2 Replies)
Discussion started by: abhi_123
8. Shell Programming and Scripting
Hi I have to move data to a file based on the valuies of first three characters in a file I am using the following script
#Read the file
while read FDROW
DTYPE=`echo $FEEDROW |cut -c 1-3`
if ; then
$FEEDROW... (4 Replies)
Discussion started by: gander_ss
We are trying to execute C/C++ programs in SOlaris 8. Though the exes are compiled in g++, we donot have it installed in the target machine. We have the library files in the target machine and LD_LIBRARY_PATH is set correctly. Now when the exes are run, we are getting the error
ld.so.1:... (1 Reply)
Discussion started by: virtual_j
10. Shell Programming and Scripting
When I try to run this shell script (name txt1)
script -> txt1
x = "hello"
error while executing
./txt1: x: not found
------------------------ (2 Replies)
Discussion started by: k_oops9
lpstat(1) Apple Inc. lpstat(1)
lpstat - print cups status information
lpstat [ -E ] [ -H ] [ -U username ] [ -h hostname[:port] ] [ -l ] [ -W which-jobs ] [ -a [ destination(s) ] ] [ -c [ class(es) ] ] [ -d ]
[ -o [ destination(s) ] ] [ -p [ printer(s) ] ] [ -r ] [ -R ] [ -s ] [ -t ] [ -u [ user(s) ] ] [ -v [ printer(s) ] ]
lpstat displays status information about the current classes, jobs, and printers. When run with no arguments, lpstat will list jobs queued
by the current user.
The lpstat command supports the following options:
Forces encryption when connecting to the server.
Shows the server hostname and port.
Shows the ranking of print jobs.
Specifies an alternate username.
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.
Shows the accepting state of printer queues. If no printers are specified then all printers are listed.
Shows the printer classes and the printers that belong to them. If no classes are specified then all classes are listed.
Shows the current default destination.
Specifies an alternate server.
Shows a long listing of printers, classes, or jobs.
Shows the jobs queue on the specified destinations. If no destinations are specified all jobs are shown.
Shows the printers and whether or not they are enabled for printing. If no printers are specified then all printers are listed.
Shows whether the CUPS server is running.
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.
Shows all status information. This is equivalent to using the "-r", "-d", "-c", "-v", "-a", "-p", and "-o" options.
Shows a list of print jobs queued by the specified users. If no users are specified, lists the jobs queued by the current user.
Shows the printers and what device they are attached to. If no printers are specified then all printers are listed.
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", "-U", and "-W" options are unique to CUPS.
The Solaris "-f", "-P", and "-S" options are silently ignored.
Copyright 2007-2013 by Apple Inc.
10 September 2008 CUPS lpstat(1)