Summary: hi, i want to create a directory from my cgi script written in korn shell. but there is no out put. means that this script work for other commands lik...
Summary: I wish to handle the cursor in korn shell when I test a choice but I want that the cursor don't go in a new line. In this case: print -n "Yes or No >>...
Summary: I have written a script to login to various network equip and perform automated functions. Is there a way to hide the input from the keyboard on read...
Summary: When trying to escape special character * - it doesn't seem to work. In korn shell trying to store a local variable as follows sample=test* echo $samp...
Summary: Looks like the HTML on this board has swallowed the less-than signs. Try: ftp ftp.pwp.blueyonder.co.uk <<-ENDFTP ascii get index.html bye ENDFTP (You ...
Summary: hi , I have a problem in Korn shell script(in dtksh) my program is like that...... #!/usr/dt/bin/dtksh awk ' BEGIN { FS = ":"; # print '$1','$2...
Summary: I am sure this has been done before in Korn Shell without using Perl, etc. I need to loop through a directory of files and print the names of those fi...
Summary: Hi: The Korn shell automatically loads a function the first time it's called provided the function resides in a directory in the shell variable FPATH ...
Summary: hello, i want to know how to initialize a file to an empty one in korn shell scripting? i'm using a file name and building it during a while loop usin...
Summary: Hi, in Cshell we can use goto statement, How can we use this in bourn shell? If any body can help me with the syntax with example it will be great....
Summary: If I try to kill a shell from that shell's command prompt itself, then what happens.Im doing it from korn shell. Ex: /bin/ksh echo $KSHPID It outputs ...
Summary: Thanks Nails! I didn't know how to use Pearl in scripting. Can I use Pearl in Bourne shell script?? Would you share some of your bright ideas to proce...
Summary: Is there anyone knows which command will be suitable to clean up screen in Korn Shell script? I am writing a menu script, before the second submenu di...
Summary: Hi: Since you're data is fixed length, you can do something like this: while read x do f1=$(echo $x|cut -c1-4) f2=$(echo $x|cut -c5-6) f3=$(e...
Summary: hello, I am having trouble creating a batch script to FTP a file from UNIX to NT. It seems that when I invoke the script, the ftp command invokes the...
Summary: I need to know if the connection fails to the remote host in a shell script. Which error codes etc should I check for? What would be in the if stateme...
Summary: I am trying to write a Korn shell script to use sftp to transfer data from one system to another. I cannot seem to figure out how to send the required...
Summary: Hi. I was wondering if i could define my own functions to use in C Shell ? My code is getting really repetitive. Also can anyone tell me how to store ...
Summary: If what you are looking for is a random single digit, check "parameter substitution" section of man for ksh, or find good korn shell manual. As an ex...
Summary: Here is a Korn Shell script that will also do what you want. It uses the built in features of the shell as opposed to calling awk to do the work. #!/...
Summary: Hi, Anyone know a way to use parameters in a sed or a way round it?? I'm trying to do something like this: sed 's/${USER}/${NEW_USER}/g' but it does n...
Summary: Hi, I need to do use large integers in my shell script. I am using korn shell. After couple of tests i figured out that k shell doesn't behave proper...