10 More Discussions You Might Find Interesting
1. Cybersecurity
A severe vulnerability was discovered in Bourne shell.
Just google for: bash vulnerability
... for more details. (5 Replies)
Discussion started by: Cochise
5 Replies
2. Shell Programming and Scripting
Could some one tell me the difference btw Bourne shell and the Kshell? Which is more flexible and reliable in terms of portability and efficiency. When i type the following command ..
$ echo $SHELL
yields me
/bin/sh
Does this tells me that I am in Bourne shell. If yes, how can i get... (6 Replies)
Discussion started by: bobby1015
6 Replies
3. Shell Programming and Scripting
Exercise Five
Write a Bourne shell script which:
• Professionalism: plan for this from the start.
• Has one command line argument.
• If the command line argument is a directory then the script should output the number of
files in the directory.
• If the command line argument is an ordinary... (2 Replies)
Discussion started by: moesom
2 Replies
4. Shell Programming and Scripting
Hi All
I have writing a Korn Shell script to execute it on many of our servers. But some servers don't have Korn Shell installed, they use Borne Shell.
Some operations like calculation don't work :
cat ${file1} | tail -$((${num1}-${num2})) > ${file2}
Is it possible to activate Korn Shell... (3 Replies)
Discussion started by: madmat
3 Replies
5. Shell Programming and Scripting
I do not claim to be an expert, but I have done things with scripts that whole teams of folks have said can not be done. Of course they should have said we do not have the intestinal fortitude to git-r-done.
I have been using UNIX actually HPUX since 1992. Unfortunately my old computer died and... (7 Replies)
Discussion started by: awk_sed_hello
7 Replies
6. UNIX for Dummies Questions & Answers
Hi guys !!
well i'm still new in learning UNIX , and actually i'm still studying it by myself ..
anyway, some people told me the Bourne-again shell is a good version of UNIX to work on , and i tried to download yesterday but i didn't know how to start it ...... the ReadMe file associated with... (3 Replies)
Discussion started by: mrsamer
3 Replies
7. UNIX for Dummies Questions & Answers
hey,
i have 2 files... orders and products
how do i do calculations on the order using the products ?
say if the products file is:
a123:shirt:10.00
zz123:nice shirt:19.95
and the order file is:
05/08/30 a123 10
zz123 3
Jun-3-1994 a123 2
2005.06.23 a123 2 (1 Reply)
Discussion started by: ganjakh0r
1 Replies
8. Shell Programming and Scripting
hey,
i have 2 files... orders and products
how do i do calculations on the order using the products ?
say if the products file is:
a123:shirt:10.00
zz123:nice shirt:19.95
and the order file is:
05/08/30 a123 10
zz123 3
Jun-3-1994 a123 2
2005.06.23 a123 2 (1 Reply)
Discussion started by: ganjakh0r
1 Replies
9. Shell Programming and Scripting
4. Write a program that will allow a user to input as many numbers as the user wants (use 999 as the choice that ends the user input). The program will then respond:
Highest Number: Answer
Lowest Number: Answer
Sum of the numbers: Answer
Average of the numbers: Answer
Can any1 help... (1 Reply)
Discussion started by: PoloRL185
1 Replies
10. Shell Programming and Scripting
Hi, I'm having trouble with some UNIX Bourne shell scripting that I am doing for an assignment.
I am trying to sort a comma delimited file into a sort of format that will print out nicely in a telnet terminal window. I'm having a bit of trouble because all I seem to be getting is garble.
... (3 Replies)
Discussion started by: Slamo
3 Replies