9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I do have a very simple task to divide 2 variables and display the result.
I CANNOT use bc
when i try
var1=2
var2=4
var3=$(($var1 / $var2))
echo $var3
the output is always 0
What can I change to get a dotted decimal result such as 0.5 ?
Thanks! (5 Replies)
Discussion started by: svetoslav_sj
5 Replies
2. Emergency UNIX and Linux Support
We are using the solaris server and if i am using rm -rf to delete the directories its asking the confirmation for each and every file inside the directory.Is there any way to disable ( should not ask the confirmation) only for a particular session? (12 Replies)
Discussion started by: sureshbabuc
12 Replies
3. UNIX for Dummies Questions & Answers
HI,
I am having strange issues with my tcsh shell.
First, the "ln" command doesnt seem to work properly.
I have a file "target" that is pointing to "file1". I cannot access file1 but that shouldnt matter.
when I do this, ln -sf file2 target
I get permission denied that I cannot access the... (1 Reply)
Discussion started by: sardare
1 Replies
4. Solaris
I tried to compile php and integrate it into apache on solaris.
It compiled ok and I created a package. If I install it on a system that has the libpng from sunfreeware, it wants to use that library instead of the system SUNWpng. It doesn't run using SMCpng, but it runs using the system SUNWpng.... (4 Replies)
Discussion started by: Mike_the_Man
4 Replies
5. Shell Programming and Scripting
HI,
I have my data something like this
(07/29/2009 00:23:34 567) Port search parameters zzzzzzzzzzzzz
(07/29/2009 00:23:34 567) Processed 12345678 ababaababab
(07/29/2009 00:23:34 567) Port search parameters ccccccccccc
(07/30/2009 00:23:34 567) processed 23567412 vvvvvvvvvvvvv... (2 Replies)
Discussion started by: rdhanek
2 Replies
6. Shell Programming and Scripting
Hi guys,
Been sifting through these forums for awhile, but never had an account or needed to post. Shoutouts to a great forum with heaps of useful info.
Now i consider myself a noob when it comes to linux and to bash scripting. I recently started to learn to use Vmware ESX server which uses... (4 Replies)
Discussion started by: ryath
4 Replies
7. Shell Programming and Scripting
Hi,
I have automated a build process that does the following activities.
1. check out code from cvs to a specific directory
2. build the revision checked out with 'ANT'
3. integrate the compiled code with the QA/UAT or new environment
(/apps/QA or /apps/UAT or /apps/new directory)
I... (1 Reply)
Discussion started by: yoi2hot4ya
1 Replies
8. Shell Programming and Scripting
The script following in this thread allows XML data to be located and extracted in a variety of forms from an XML data stream. Using this utility, it is possible to extract all manner of XML subsets and allow data to be post inserted into the "original" XML at any logical point.
The pipe is... (2 Replies)
Discussion started by: Simerian
2 Replies
9. Shell Programming and Scripting
#!/usr/bin/ksh
#
# COPYRIGHT (c) 2003 - SIMERIAN
#
# e: info@simerian.com
# w: www.simerian.com
#
# DISCLAIMER
# The author of this product does not accept any responsibility for
# loss or damages resulting from the use of said product and makes no
# warranty or representation, either... (3 Replies)
Discussion started by: Simerian
3 Replies