Perimeters for Linux scripting

10 pts.
Tags:
Linux
Red Hat
Scripting
What are the perimeters for Linux scripting?
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Subhendu Sen
    Assuming you are trying to find out perimeter of a rectangle ! consider this one can help you understand:
    #!/bin/bash
    echo "input length of a rectangle"
    read l
    echo "input breadth of a rectangle "
    read b
    echo "input radius of a circle "
    read r
    area=`echo $l \* $b | bc`
    perimeter=` echo 2 \* $l \* $b | bc`
    echo "area of rectangle: $area"
    echo "peri of rectangle : $perimeter"

    For more info about script, please navigate here: www.freeos.com/guides/lsst/

    141,290 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: