09-16-2005
ksh [ HP True 64 v5.1 ] and HP-UX B.11.11i
Hi Friends,
We have migrated our Unix from HP True 64 v5.1 to HP-UX B.11.11i recently and copied all my shell scripts ( Korn shell ) to new HP-UX B.11.11i unix machine. I've encountered lot of errors during execution of the scripts for example:
cat x.sh
#!/usr/bin/ksh
if [ -f abc.txt ]
then
echo abc.txt file exists...
else
echo abc.txt file does not exists...
fi
===============
x.sh: test: argument expected
abc.txt file does not exists...
In my old machine there were no problems, pls advise with how can I overcome from this kind of problems.
Thanks
Krishna
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Need to find the changes made in hp-ux11iv2 and how to migrate from hp-ux11i to hp-ux11iv2.
Thanks in advance. (1 Reply)
Discussion started by: mhbd
1 Replies
2. HP-UX
Need to find the changes made in hp-ux11iv2 and how to migrate from hp-ux11i to hp-ux11iv2.
Thanks in advance. (1 Reply)
Discussion started by: mhbd
1 Replies
3. HP-UX
Hi,
could somebody confirm that HP 11i 64 is a 64 bits system ?
Thank you (1 Reply)
Discussion started by: aribault
1 Replies
4. UNIX for Advanced & Expert Users
Is this a bug in ksh on HPUX 11i or is read impromperly documented?
INPUT
Thu Jan 18 09:14:52 PST : CIFS: Virus Detected - File ONTAP_ADMIN$\vol\vol0\DDD\Ventana\Strattoni\Race Stuff\Rumor.exe in share DDD accessed by client CLIENT (111.11.11.111) running as user USER is infected. The filer... (3 Replies)
Discussion started by: Jackaroe
3 Replies
5. HP-UX
Hi,
Newbie here......I am an new guy on HP-Ux... may i ask all the the guru's and who has eperienced here to enlightened me on how to use the CSTM command.
My goal is to view the current HW installed on the Server.
Thanks in advance. (1 Reply)
Discussion started by: renobal
1 Replies
6. UNIX for Dummies Questions & Answers
I have heard for a long time that in maybe 2039 Unix will no longer be useable due the length of the date value. Anyone know anything about this? (4 Replies)
Discussion started by: dhlopomo
4 Replies
7. HP-UX
Could you please tell me if Informix 7.20 UD2 works on HP-UX 11i and if applications that works on HP-UX 10.20 and Informix 7.20 UD2 works on HP-UX 11i. Thanks a lot. (0 Replies)
Discussion started by: Irene Martínez
0 Replies
8. HP-UX
Hey,
i want install HP UX 11i on HP C8000. When i start the C8000 i get a prompt. On this Prompt i write
BOot P1
P1 is my DVD-ROM (IDE). I get the Message "ERROR: Not a boot path". When i write SEArch the Prompt said:
P0 scsiA.6 HP73.4MAT3073NP
P1 ide.1 ... (2 Replies)
Discussion started by: numx
2 Replies
9. HP-UX
I have to access to hp integrity bl870c server blade and i have no hp-ux 11i v2 or 11i v3 DVD's where can i get a DVD or download it . as i have no direct contact with vendor .
thanks (4 Replies)
Discussion started by: h@foorsa.biz
4 Replies
10. HP-UX
Hey guys how do you run eclipse on HP-UX 11i?
there's a startup.jar and an eclipse file ( which is not an executable )
I get different errors try to run the jar file with different java versions.
I have all the possible java vm's installed. (0 Replies)
Discussion started by: binary0x01
0 Replies
suspend(1) User Commands suspend(1)
NAME
suspend - shell built-in function to halt the current shell
SYNOPSIS
sh
suspend
csh
suspend
ksh
suspend
DESCRIPTION
sh
Stops the execution of the current shell (but not if it is the login shell).
csh
Stop the shell in its tracks, much as if it had been sent a stop signal with ^Z. This is most often used to stop shells started by su.
ksh
Stops the execution of the current shell (but not if it is the login shell).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
csh(1), kill(1), ksh(1), sh(1), su(1M), attributes(5)
SunOS 5.10 15 Apr 1994 suspend(1)