10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I want to run a script written in ksh but my default shell is bash as root e.g in the script it has #!/bin/ksh
i have gone into /etc/passwd to change it from :/bin/bash to /bin/ksh
but still giving me an error when running scripts such as ./installer
-bash: ./installer: /bin/ksh:... (3 Replies)
Discussion started by: DOkuwa
3 Replies
2. Programming
In C++, how can I change the type with another name
For example
How can I declaring an object real which would be the same as declaring it float (5 Replies)
Discussion started by: kristinu
5 Replies
3. Shell Programming and Scripting
Hello,
Is ther any way to run a loop which promt an echo"waiting for user to hit ENTER"
sleeps for an iterval and once user hit the ENTER key the loop exit and the script continue to the next stage?
I need this ASAP !!!
Thanks!! (9 Replies)
Discussion started by: LiorAmitai
9 Replies
4. Shell Programming and Scripting
I don't have my SysV bible with me currently and I can't remember how to change the amount of lines visible in my shell. Currently I can only scroll back to see the last 100 lines of stdout.
Any help is greatly appreciated.
blessings,
Tony <>< (2 Replies)
Discussion started by: port43
2 Replies
5. Shell Programming and Scripting
Hi,
Simple question :
How to find the value type from a variable :
Ex : var="1" => type is numeric
var="a" => type is character
Thx :D (3 Replies)
Discussion started by: madmat
3 Replies
6. Shell Programming and Scripting
Hi,
I am using HP-UNIX.
I have a requirement as below
I have to change env twice like:
cadenv <env>
cadenv <env>
ccm start -d /dbpath
ccm tar -xvf *.tar
ccm rcv ....
mv *.tar BACKUP
but after I do the first cadenv <env> , I am unable to execute any of the later commands .
... (6 Replies)
Discussion started by: charlei
6 Replies
7. Shell Programming and Scripting
Is it possible using just korn shell script to display a variable on the screen that is constantly changing in on place on the screen, to tell it in coordinates or something? In a loop, echo will print a new line each time, can I make it a static position? Thanks (7 Replies)
Discussion started by: raidzero
7 Replies
8. UNIX for Advanced & Expert Users
Hello,
I wanted to setup user friendly ksh command prompt, by typing first character of files or directories and then tab bring up whole word. No need to type whole file/directory/command names.
Example:
cat a file like university
just typing un and then tab bring up whole university wod.... (3 Replies)
Discussion started by: abdurrouf
3 Replies
9. Shell Programming and Scripting
Hello,everyone here.
I'm coding with KSH to achieve exploring the disk space and judging whether it closes to overflow.But It seems that no one way to convert a string variable to integer.
df | read A B C D E F G H I J K L
print ${L}
Can I convert L to integer type?
Thanks for... (2 Replies)
Discussion started by: joshuaduan
2 Replies
10. UNIX for Dummies Questions & Answers
Using Lynx, when I try to download a .rar, it confirms I want to download and its got it as an appication/rar file.
However, split archives that end in .r## (.r00, .r01 ...) are not recognized as an appication/rar file and it reads the file like a .txt or .html.
How can I fix this?
Thanks! (2 Replies)
Discussion started by: yitzle
2 Replies