Hi ..please tell me how to modinfy an existing file in a directory, i need commands like to open edit and save n execute the file in BASH. please respond immediately (3 Replies)
This is relating PGP:
I wrote a shell script to encrypt a file:
pgpe -r <key> (file)
Im looking to automate this but when I run my script it keeps running because it prompts:
WARNING: The above key is not trusted to belong to:
Do you want to use the key with this name?
It's... (1 Reply)
Hi
I am looking for the script which can move 1month old data from a TXT file.actully in this file data is appended on daily basis.pleasehalp me out.
Here is the file content :
$head abc.txt.
20070301130052,xxz.
20070307132111,cvasjchgjhcg
gacg
chjbgasjkchjk.... (3 Replies)
Hi,
I have a bash script which I have referenced in the rc.local of my fedora linux OS. However it doesnt respond the same as when run in terminal from fedora.
The bash script has a series of interactive questions that require user input as shown:
#!/bin/bash
echo "Do you want to use... (1 Reply)
Hi Folks,
I have a issue regards space in the records.
Example:
999207404 |sp818056|STEVEN |LAWRENCE |Mike.S.Lawrence@sprint.com |2003 S Data Sales Mgr 77 |SVC ... (5 Replies)
Hi All.
I have a package discreibed down.
CREATE OR REPLACE PACKAGE BODY IRISCOS_REFRESH_pkg AS
PROCEDURE IRISCOS IS
CURSOR cur_pci(c_myear number)
IS
Select cstc.cid, cstc.elid, p.first_name,p.last_name,p.email_id ,pl.plan_name, ptc.chair_id
from
person p, person_to_chair ptc,... (7 Replies)
I m totally new to this so excuse my ignorance. I want to write a small and simple script to execute in terminal on my MAC. I want to be able to send a ssh command and then once connected send the password and once logged in send two commands.
I can easily write the script to connect, but then... (2 Replies)
All,
Here is what I am trying to accomplish:
1. Check for a file of specific name recursively and when I find it,
a. if the file is more than 1hr old, no need to email or send notification, so just exit out from the shell script
b. if the file is less than 1hr old, send an email to me saying... (3 Replies)
Discussion started by: pnara2
3 Replies
LEARN ABOUT REDHAT
pqrm
PQRM(1) pqrm PQRM(1)NAME
pqrm - Remove job from NetWare print queue
SYNOPSIS
pqrm [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C ] queue_name job_ID [ another_job_ID ... ]
DESCRIPTION
pqrm remove specified jobs from the NetWare print queue available to you on some server. If you are already connected to some server, this
one is used.
pqrm 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
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.
-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
pqrm was written by Petr Vandrovec (vandrove@vc.cvut.cz)
pqrm 03/03/1998 PQRM(1)