10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to verify that a file exists within an alternate directory. If the file exists, it will execute a copy command...if it does not, it should exit the script.
I tried the <test> command and the but keep coming up with syntax errors.
I am coding in C Shell and the file... (5 Replies)
Discussion started by: CKT_newbie88
5 Replies
2. AIX
Guy's
I have file system called /appspft has millions of files and I want to know exactly how many file under it
Pls advice with that command to verify number of files .. (3 Replies)
Discussion started by: Mr.AIX
3 Replies
3. Shell Programming and Scripting
I run the script with one parameter : myscript abc002
But I need my script to check the parameter in txt array first:
txt="abc001 abc002 abc004"
What's the best way to do it? I am using ksh.
#! /usr/bin/ksh
txt="abc001 abc002 abc004"
if ; then
echo " Your input is wrong,... (9 Replies)
Discussion started by: newoz
9 Replies
4. Shell Programming and Scripting
I do a #lspv |grep rootvg and i got :
hdisk0 0006a81f3efcbe58 rootvg
hdisk1 0006a81fd9ff4014 rootvg
I want to verify for each server if the pvid is the same with use of the command lspv
Can you help to wrote a shell with the command awk for exemple .
Thank you (4 Replies)
Discussion started by: khalidou13
4 Replies
5. AIX
Dear all experts online,
In my environment of AIX 5300-07, I am currently using "pax" command to backup all filesystems that I need to backup and it will take me around 4 hours time with LTO3 tape drive.
When I need to verify the tape after backup, I am using "pax" command to list all files in... (2 Replies)
Discussion started by: kwliew999
2 Replies
6. UNIX for Dummies Questions & Answers
Is there any way i can verify the email address (before sending the mail) using the mailx command ?
I know that
sendmail -bv email@address.com
can do it but there is a compatibility issues with the version of Unix we have. So mailx is the only command we can used at this point.
Any... (1 Reply)
Discussion started by: rak007
1 Replies
7. Shell Programming and Scripting
thanks for your help, im gonna skip this one and try a different question. thanks for your help though. (2 Replies)
Discussion started by: bebop1111116
2 Replies
8. Solaris
I have a raid 5 configuration in a A3500 rack, manager by raid manager.
This morning I found this messages in a /vad/adm/messages":
Sep 10 04:33:57 zion scsi: WARNING: /sbus@3,0/SUNW,socal@2,0/sf@1,0/ssd@w200200a0b80735d3,4 (ssd11):
Sep 10 04:33:57 zion Error for Command: verify ... (1 Reply)
Discussion started by: bonovox
1 Replies
9. Programming
Hi there,
May I know is there a command to verify and check the *.a file contents for AIX 5.2.
How can I link the library file ?
Thank you (0 Replies)
Discussion started by: chongks
0 Replies
10. Shell Programming and Scripting
I have a unix script written in the korn shell. At the top of the script I call a script that exports the values of the variables I use in my script. I know that when you execute the script using ksh -x it shows you the script running. I was wondering if there was a way you could run the script... (2 Replies)
Discussion started by: lesstjm
2 Replies