10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear Team
/app/Appln/logs/
echo Session used server are 'grep -i pid|grep -i session | cut -d'.' -f1 | awk '{print $9}' | sort | uniq'
Output -
lxserver01
lxserver02
lxserver03
When I grep session pid in logs server details I can see above distinct server details but I... (6 Replies)
Discussion started by: skp
6 Replies
2. HP-UX
I use hp HP-UX.
I want to get vsz of the process .
What is the syntax ...
/run>ps -help
ps: illegal option -- h
ps: option requires an argument -- p
usage: ps (3 Replies)
Discussion started by: chuikingman
3 Replies
3. UNIX for Dummies Questions & Answers
what is the back up command to take back up files and syntax (1 Reply)
Discussion started by: sunilamarnadh
1 Replies
4. Shell Programming and Scripting
i have the following do command:
while IFS =: read printer drv IP port
do
echo -e "$ printer: \ n \
drv: \ t $ drv \ n \
IP: \ t $ IP \ n \
port: \ t $ port \ n \"
done < diffs.txt
receiving the following error:
syntax error at line 37 : `do' unmatched
something is... (2 Replies)
Discussion started by: ggoliath
2 Replies
5. Shell Programming and Scripting
Hi Josh
Hope you are doing fine..I have a small requirement but unable to get a syntax for it.
Here is how it is.
There is a Server say ABC.From another Server i need to get records from Server ABC.
Now logic is written as follows.
It creates a file as per sysdate and append the... (1 Reply)
Discussion started by: mmaller0319
1 Replies
6. Shell Programming and Scripting
can anyone tell me what`s going wrong with my if else statement?
set exam=(AAA BBB CCC)
foreach ii ($exam)
if ($ii -eq "AAA")
do
echo "PASS"
else
echo "FAILED"
done
end (4 Replies)
Discussion started by: c0384
4 Replies
7. HP-UX
An outside vendor has staged 2 batch files for us and I've tried to retrieve the files using the commands that they've indicated I could use to retrieve one file at a time. I've tried using this command in a shell script after a successful connection to their server:
get "$$ ID=IL096869 BID='PGP... (2 Replies)
Discussion started by: mheinen
2 Replies
8. UNIX for Dummies Questions & Answers
Here's my situation. I am trying to move all files from one directory to another. I have the following requirements:
1) Move all files in /myfiles/wip matching pattern "*.tif" to /work/in that are at least 10 minutes old (or older).
2) When the files are moved, they need to be moved into... (2 Replies)
Discussion started by: dsimpg1
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Does anyone knows the command syntax for the following Unix commands:
at
mount
The OS is the Chorus/Mix 4.3 BSD Unix.
The "at" command does the following: at a precise date and hour it executes a desirede command.
Many thanks !!!
Regards, Pedro Pereira (3 Replies)
Discussion started by: pmap
3 Replies
10. UNIX for Dummies Questions & Answers
I am trying to extract a file using tar. I cd'ed to the directory I wanted to start in. I had the tar file in the same directory. I executed tar xvf filename . It appeared that it was extracting into the directory the tar file was created from instead of into the directory I was in. How do I... (1 Reply)
Discussion started by: baunocj
1 Replies