04-10-2007
Dmr_run_id,rma_server_id,instrument_id,portfolio_id,oas,price
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All
How can I set password in linux.It is OK if it display password in plain text in script.
manually i can set:
#passwd
Changing password for root
Enter new password:
Bad password: too weak.
Re-enter new password:
Password changed.
#
I want this to be done by script.Please let me... (2 Replies)
Discussion started by: tannu
2 Replies
2. Shell Programming and Scripting
I am running on AIX 5.3. I have a remote AIX server running on a generator. Many times the generator goes out and I only have a window of 15 mins with the network up and 30 mins the server is powered. I need help creating a script using ifconfig, where it goes out and checks the network every 5... (2 Replies)
Discussion started by: AIX25
2 Replies
3. Shell Programming and Scripting
Hi,
Can anyone help me on how to set PATH using shell scripting..
Please find the shell script code here....
#!/bin/bash
PATH = $PATH:/opt/app/oracle/product/10.2.0/bin
export PATH
echo $PATH
exit
When i execute this script i get the following error
./backup.sh: line 2: PATH:... (0 Replies)
Discussion started by: srinivasj
0 Replies
4. Shell Programming and Scripting
Hello,
I want to checkl whether my file has text in it or not.
if ; then
...
if ; then
...
But none of these work
Can someone help me?
---------- Post updated at 09:00 AM ---------- Previous update was at 08:55 AM ----------
The code-tags caused an displayerror,... (5 Replies)
Discussion started by: ABE2202
5 Replies
5. Shell Programming and Scripting
hey guys,
I am trying to get some statistics from a DHCP server, like counting the number of DHCP Discovers from a specific MAC address. The script should count the number of DHCP Discovers and output it, otherwise if it cannot find any , it should output the MAC address and "0".
The first... (10 Replies)
Discussion started by: liviusbr
10 Replies
6. Shell Programming and Scripting
ok, so I have a shell script that can be called using the first argument ($1) or not. This argument is a word (Tim for example) and not an actual flag (-x for example). If I call the script with an argument and call the same script without one, it believes that I provided an argument. Note here... (2 Replies)
Discussion started by: mrwatkin
2 Replies
7. Shell Programming and Scripting
Hi all,
I want to use a variable inside my sql query and below is my script:
#!/bin/ksh
export b="abcd"
a=`sqlplus -s abc/def@ghi <<++
set heading off;
set feedback off;
select xxx from mytable where clmn_nm='$b';
exit;
++`
echo $a
But the output i get is below:
$>... (4 Replies)
Discussion started by: Jayaraman
4 Replies
8. Shell Programming and Scripting
Hi All,
I need to write one shell script. The requirement is as follows.
a) I am having list the employee names in a file stored in /tmp directory location as below
/tmp/emp.txt
b) and the contents are as below
cat emp.txt
ravi
raj
ram
arun
c) I need to connect to sybase... (1 Reply)
Discussion started by: Gowtham_giri
1 Replies
9. Shell Programming and Scripting
Hi,
I am looking for a shell script which serves the below purpose.
Please find below the algorithm for the same and any help on this would be highly appreciated.
1)set of strings need to be replaced among set of files(directory may contain different types of files)
2)It should search for... (10 Replies)
Discussion started by: Amulya
10 Replies
PAC(8) System Manager's Manual PAC(8)
NAME
pac - printer/plotter accounting information
SYNOPSIS
/usr/sbin/pac [ -Pprinter ] [ -pprice ] [ -s ] [ -r ] [ -c ] [ -m ] [ name ... ]
DESCRIPTION
Pac reads the printer/plotter accounting files, accumulating the number of pages (the usual case) or feet (for raster devices) of paper
consumed by each user, and printing out how much each user consumed in pages or feet and dollars. If any names are specified, then statis-
tics are only printed for those users; usually, statistics are printed for every user who has used any paper.
The -P flag causes accounting to be done for the named printer. Normally, accounting is done for the default printer (site dependent) or
the value of the environment variable PRINTER is used.
The -p flag causes the value price to be used for the cost in dollars instead of the default value of 0.02 or the price specified in
/etc/printcap.
The -c flag causes the output to be sorted by cost; usually the output is sorted alphabetically by name.
The -r flag reverses the sorting order.
The -s flag causes the accounting information to be summarized on the summary accounting file; this summarization is necessary since on a
busy system, the accounting file can grow by several lines per day.
The -m flag causes the host name to be ignored in the accounting file. This allows for a user on multiple machines to have all of his
printing charges grouped together.
FILES
/usr/adm/?acct raw accounting files
/usr/adm/?_sum summary accounting files
/etc/printcap printer capability data base
SEE ALSO
printcap(5)
BUGS
The relationship between the computed price and reality is as yet unknown.
4.2 Berkeley Distribution November 1, 1996 PAC(8)