10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
:wall:Hi all,
I have two servers : server A and server B
Weekly wise i use to receive files to server A to one particular location say /source/location . NOTE: In this location there will be other files also present other than these weekly arrival 18 files.
My task :
i need a... (7 Replies)
Discussion started by: karmegam
7 Replies
2. 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
3. Shell Programming and Scripting
Hi All,
I am generating report in a Linux server and once the report is generated the report(.txt file) needs to be automatically saved in a Windows servers.
So i am looking for a script to transfer the file automatically from Linux server to Windows server?
Please advise.
Thanks... (3 Replies)
Discussion started by: arunmanas
3 Replies
4. Solaris
How to copy a binary from one server and paste it to another server?
Please help...
On server A there is a binary with size 0...I need to copy a binary from server B and replace the 0 size binary on Server A.
Kindly Help (3 Replies)
Discussion started by: Rahul466
3 Replies
5. Shell Programming and Scripting
We would be migrating unix solaries to Linux redhat.
Basically source is unix and target is linux.
i would like to copy entire file system unix/source/* to target linux/souce/*
but target linux has only folder setup so what ever files copied need to be placed in the linux server with same... (8 Replies)
Discussion started by: balajikalai
8 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
So I am on server 1, and I want to grab the newest file from a particular directory on server 2, and place this in a directory on server 1.
I am trying to use: ls -tr | tail -1
This works, and gets me the newest file in a particular directory. Using svn `ls -tr | tail -1` etc I... (1 Reply)
Discussion started by: Lexx87
1 Replies
7. Shell Programming and Scripting
Hi All,
what is the comand to log off the remote server?
I have 2 servers A, B. I need to find all files older than 7 days on server B and copy over to server A. My logic is:
login the remote server:
=================
ssh hostB
cd /data/test
find . -mtime -7 -ls | awk '{print... (4 Replies)
Discussion started by: Beginer0705
4 Replies
8. Solaris
Hi,
We have a Disaster Recovery machine , seperate to our main server.
How can I copy all the printer info from our "live" machine to the DR machine.
If we then lose our main server , we could still be able to print from a DR machine if needed.
Thanks (6 Replies)
Discussion started by: markdr011
6 Replies
9. Solaris
I need to copy the printers currently installed on a Sol8 box to a Sol10 box. I tried copying the printers.conf file from the Sol8 box and that worked until I went through the file and changed the server name to that of the Sol10 box. Another post on this forum suggested copying the entire... (1 Reply)
Discussion started by: todis
1 Replies
10. Programming
hi, which Command is used for copy a file from one server to another server, please provide the syntax and give one small example...
Thanks in advance
sarwan (2 Replies)
Discussion started by: sarwan
2 Replies
PRINTER_LIST(3) 1 PRINTER_LIST(3)
printer_list - Return an array of printers attached to the server
SYNOPSIS
array printer_list (int $enumtype, [string $name], [int $level])
DESCRIPTION
The function enumerates available printers and their capabilities.
PARAMETERS
o $enumtype
-$enumtype must be one of the following predefined constants:
o PRINTER_ENUM_LOCAL: enumerates the locally installed printers.
o PRINTER_ENUM_NAME: enumerates the printer of $name, can be a server, domain or print provider.
o PRINTER_ENUM_SHARED: this parameter can't be used alone, it has to be OR'ed with other parameters, i.e. PRINTER_ENUM_LOCAL
to detect the locally shared printers.
o PRINTER_ENUM_DEFAULT: (Win9.x only) enumerates the default printer.
o PRINTER_ENUM_CONNECTIONS: (WinNT/2000 only) enumerates the printers to which the user has made connections.
o PRINTER_ENUM_NETWORK: (WinNT/2000 only) enumerates network printers in the computer's domain. Only valid if $level is 1.
o PRINTER_ENUM_REMOTE: (WinNT/2000 only) enumerates network printers and print servers in the computer's domain. Only valid
if $level is 1.
o $name
- Used with PRINTER_ENUM_NAME.
o $level
-$level sets the level of information request. Can be 1,2,4 or 5.
RETURN VALUES
Return an array of printers.
EXAMPLES
Example #1
printer_list(3) example
<?php
/* detect locally shared printer */
var_dump(printer_list(PRINTER_ENUM_LOCAL | PRINTER_ENUM_SHARED));
?>
PHP Documentation Group PRINTER_LIST(3)