10 More Discussions You Might Find Interesting
1. AIX
Hi Experts, Kind of embarrassed to ask this , it's been a while I've done this . Can anyone verify below procedure to replace HBA in the VIO server. Many client LPARs are using this HBA for NPIV . Please correct me if I am wrong . Thanks in Advanced
Identify the HBA (did that)
Unconfigure the... (2 Replies)
Discussion started by: JME2015
2 Replies
2. Shell Programming and Scripting
Hi all,
I am trying to change the below word. but the changes is not reflecting in the new file
sed -n 's/apple/orange/' filename
---------- Post updated at 12:51 AM ---------- Previous update was at 12:41 AM ----------
I tried this it works
perl -pi.bak -e... (9 Replies)
Discussion started by: ramkumar15
9 Replies
3. 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
4. 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
5. 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
6. Shell Programming and Scripting
I have a file as below:
1578449 |\\DEV-HUB1\WB_Enterprise_MAM\\4-5-2011\dsuggTO\E0003908_2692725_30.jpg
1578450 |\\DEV-HUB1\WB_Enterprise_MAM\\4-5-2011\dsuggTO\E0003908_2692725_31.jpg
1578451 |\\DEV-HUB1\WB_Enterprise_MAM\\4-5-2011\dsuggTO\E0003908_2692725_32.jpg
1578452... (5 Replies)
Discussion started by: Vidhyaprakash
5 Replies
7. Shell Programming and Scripting
Hi everyone,
I've read lots of posts about tr and sed and such, I haven't been able to get out of this one.
I have a file, like this:
1
,
Jelle
2
,
SandraThe only thing it needs to do is delete the enter between the number and the name.
So, it needs to replace \n,\n with ,
... (7 Replies)
Discussion started by: skerit
7 Replies
8. Shell Programming and Scripting
Hi,
i am running a shell script where i have assigned a variable to the value passed.
so my variable is
var1="investment/portfolio/run.job"
now i want to assign another variable var2 as
"investment-portfolio-run.out"
how can i do it using awk or something else....
thanks (2 Replies)
Discussion started by: rudoraj
2 Replies
9. Shell Programming and Scripting
hi all
i have input file like this abc.txt
filename.out:
<TAB>ABC<TAB>9
<TAB>AKC<TAB>1
filename1.out:
<TAB>XYZ<TAB>1
<TAB>XYN<TAB>4
and i am trying to replace \n\t with \t so that output will be like this:
filename.out:<TAB>ABC<TAB>9<TAB>AKC<TAB>1... (5 Replies)
Discussion started by: zedex
5 Replies
10. Shell Programming and Scripting
I was using the following code to replace the path names and it works when it is
echo "$PWD/$f" | sed -e 's/^.*chris\.domain\.com/chris.domain.com/'
IN fact it works great
However I tried to incorporate a variable
echo "$PWD/$f" | sed -e... (3 Replies)
Discussion started by: chrchcol
3 Replies
NWPJMV(1) nwpjmv NWPJMV(1)
NAME
nwpjvm - Move print job to Unix queue
SYNOPSIS
nwpjmv [ -S server ] [ -h ] [ -U user name ] [ -P password | -n ] [ -C ] [ -q queue name ] [ -c command ] [ -j job number ] [ -d ]
DESCRIPTION
nwpjmv is a program that connects to print queues on NetWare servers and moves a designated print job to a Unix queue.
OPTIONS
-h
-h is used to print out a short help text.
-S server
server is the name of the server you want to use.
-U user
user is the print server name at the server.
-P password
password is the password to use for the print server at the server. If neither -n nor -P are given, and the user has no open connection
to the server, pserver prompts for a password.
-n
-n should be given if the print server does not require a password.
-C
By default, passwords are converted to uppercase before they are sent to the server, because most servers require this. You can turn off
this conversion by -C.
-q queue name
queue name is the name of the print queue you want to service.
-c command
nwpjmv removes the designated job from the Novell queue and feeds the job file to stdin. command is the printing command that is exe-
cuted for each job. The default command is 'lpr'.
You can insert several flags into the command, preceded by %. These are replaced with values retrieved from the queue structure for the
print job.
%u: This field will be replaced by the name of the user who posted this print job.
%d: This field will be replaced by the job description field of this print job.
-j job number
This designates the ID number of the print job to be moved.
-d causes extra error messages to be logged.
SEE ALSO
nwclient(5), slist(1), pqlist(1), ncpmount(8), ncpumount(8), pserver(1)
CREDITS
nwpjmv was written by Bruno Browning (bruno@lss.wisc.edu) based on pserver by Volker Lendecke (lendecke@math.uni-goettingen.de)
nwpjmv 03/15/2003 NWPJMV(1)