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
NWPQJOB(1) nwpqjob NWPQJOB(1)
NAME
nwpqjob - Perform operations on the jobs in NetWare print queue
SYNOPSIS
nwpqjob [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C ] < -d | -r > queue_name job_ID [ another_job_ID ... ]
pqrm [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C ] queue_name job_ID [ another_job_ID ... ]
DESCRIPTION
pqrm or nwpqjob -d remove specified jobs from the specified NetWare print queue.
nwpqjob -r resumes specified job in the specified NetWare print queue.
nwpqjob looks up the file $HOME/.nwclient to find a file server, a user name and possibly a password. See nwclient(5) for more information.
Please note that the access permissions of .nwclient MUST be 600, for security reasons.
OPTIONS
-d
Delete specified print job(s). This is default operation for pqrm.
-r
Resume (clear OPERATOR HOLD and USER HOLD flags) specified print job(s).
queue_name
queue_name is used to specify queue. You can not use wildcards in the name.
job_ID , another_job_ID
job_ID is used to specify which job has to be deleted or resumed.
-S server
server is the name of the server you want to use.
-U user name
If the user name your NetWare administrator gave to you differs from your unix user-id, you should use -U to tell the server about your
NetWare user name.
-P password
You may want to give the password required by the server on the command line. You should be careful about using passwords in scripts.
-n
-n should be given to mount shares which do not require a password to log in.
If neither -n nor -P are given, pqstat prompts for 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.
SEE ALSO
nwclient(5), nprint(1), slist(1), ncpmount(8), ncpumount(8), pqlist(1), pqstat(1)
CREDITS
nwpqjob was written by Petr Vandrovec (vandrove@vc.cvut.cz). Resuming of print jobs was added by Zdenek Roub (zroub@ssps.zcu.cz).
nwpqjob 07/16/2003 NWPQJOB(1)