07-14-2017
This User Gave Thanks to Maddy123 For This Post:
9 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hi All,
I need your expertise in finding a way to solve my problem.Please excuse if this is not the right forum to ask this question and guide me to the correct forum,if possible.
I am a DBA and on a daily basis i have to ftp huge dump files from my company server to my laptop and then... (3 Replies)
Discussion started by: kunwar
3 Replies
2. Programming
I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning.
The script is called cwrmail.pl and is located in my cgi-bin.
When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies
3. UNIX for Dummies Questions & Answers
Hello,
Some of our application team uses Microsoft Team Foundation server (TFS) reposity tool for their .NET projects , I would like to access it form Unix/Linux machine. Please let me know how can access the TFS from unix.
Thanks (0 Replies)
Discussion started by: posix
0 Replies
4. Shell Programming and Scripting
Dear Friends,
Sorry for this basic request. But I just started learning Ksh recently and still I am a newbie in this field.
Q: I have files on one server and the date format is 20121001000009_224625.in which has year (yyyy) month (mm) and date (dd). I have these files on server A. The task... (8 Replies)
Discussion started by: BrownBob
8 Replies
5. Shell Programming and Scripting
I need to connect to a ftp server-1 from linux server-2 and copy/get a file from server-1 which follows a name pattern of FILENAME* (located on the root directory) and copy on a directory on server-2. Later, I have to use this file for ETL loading... For this I tried using as below
/usr/bin/ftp... (8 Replies)
Discussion started by: dhruuv369
8 Replies
6. Shell Programming and Scripting
Hi ,
Is there any script to copy a files (weblogic bianary + silent.xml ) from one server (linux) to another servers and then execute the copy file.
We want to copy a file on multiple servers and run the installation.
Thanks (1 Reply)
Discussion started by: Nawrajesh
1 Replies
7. UNIX for Dummies Questions & Answers
I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A.
Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server).
We dont have RSA key... (4 Replies)
Discussion started by: kiran_j
4 Replies
8. Solaris
Hi,
I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script.
Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
3 Replies
9. UNIX for Advanced & Expert Users
Hello Team,
Could You give me some hints how I should review the sosreport that I generated? I know how to analysis the SAR files however sosreport is my last hope - python script has hunged and I would like to know the root cause - for this is not performance issue.
Thanks in advance!
... (3 Replies)
Discussion started by: nsmcny
3 Replies
LEARN ABOUT OPENSOLARIS
lpget
lpget(1M) System Administration Commands lpget(1M)
NAME
lpget - get printing configuration
SYNOPSIS
lpget [-k key] [destination... | list]
DESCRIPTION
The lpget utility reads printing configuration information from the configuration databases in $HOME/.printers, /etc/printers.conf, print-
ers.conf.byname, and printers.org_dir printer. This information, called a configuration report, is displayed to the standard output. See
printers(4) and printers.conf(4) for information about the printer configuration databases.
lpget displays a configuration report for all keys for the specified destination or destinations by default. Use the -k option to display
a configuration report for specific keys. Use the list operand to display a configuration report for all configured destinations.
OPTIONS
The following option is supported:
-k key Displays a configuration report for key. See printers.conf(4) for information about specifying key.
OPERANDS
The following operands are supported:
destination Displays a configuration report for destination. Destination can be either a printer of a class of printers. See lpad-
min(1M). Specify destination using atomic or POSIX-style (server:destination) names. See printers.conf(4) for information
regarding the naming conventions for atomic names and standards(5) for information concerning POSIX.
list Displays a configuration report for all configured destinations.
EXAMPLES
Example 1 Displaying a Configuration Report for the bsdaddr Key
The following example displays a configuration report for the bsdaddr key for printer catalpa.
example% lpget -k bsdaddr catalpa
Example 2 A Configuration Report for all Keys for all Configured Destinations
The following example displays a configuration report for all keys for all configured destinations.
example% lpget list
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
FILES
/etc/printers.conf System printer configuration database.
$HOME/.printers User-configurable printer database.
printers.conf.byname NIS version of /etc/printers.conf.
printers.org_dir NIS+ version of /etc/printers.conf.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpcu |
+-----------------------------+-----------------------------+
|Stability Level |Stable |
+-----------------------------+-----------------------------+
SEE ALSO
ldap(1), lp(1), lpc(1B), lpq(1B), lpr(1B), lpstat(1), lpadmin(1M), lpset(1M), printers(4), printers.conf(4), attributes(5), standards(5)
NOTES
Be mindful of the following if the LDAP database is used as the name service. If the ldapclient(1M) server is a replica LDAP server, LDAP
printer database updates may not appear immediately, as the replica server may not not have been updated by the master server and can be
out of sync. For example, a printer that you deleted by using lpset(1M) may still appear in the printer list you display with lpget until
the replica is updated from the master. Replica servers vary as to how often they are updated from the master. Refer to the for more
information on LDAP replication.
SunOS 5.11 23 May 2003 lpget(1M)