Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • Mutating Table Error while using database trigger Oracle
  • Find long Running Transaction Linux/Unix
  • DBMS_JOB all example Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • Rman Notes -1 Oracle
  • Good notes for shared pool Oracle
  • How to analyze statspack or AWR report. Oracle
  • Rename Oracle Instance Name Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • Sending email with file attachment. Linux/Unix
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • AWR settings- MMON is not taking snapshot. Oracle

Korn Shell Arithmatic

Posted on 23-Jan-2006 By Admin No Comments on Korn Shell Arithmatic

Method 1

========

One more way of adding two numbers.

Which one to use depends on which shell it is.

d=400

e=52

f=`expr $d + $e`

print $f

Method 2

========

#!/usr/bin/ksh

let a=$1

let b=$2

let c=a+b

print $c

Linux/Unix, shell

Post navigation

Previous Post: 10g oem configuration
Next Post: All About Trace Fils

Related Posts

  • checking connectivity between two servers Linux/Unix
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • backspace in SQL Plus not working then..? Linux/Unix
  • Removing Blank lines from file using grep Linux/Unix
  • copying/removing directory with all its subdirectory Linux/Unix
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Gathering statistics with DBMS_STATS Oracle
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • nfs mount command Linux/Unix
  • DBMS_JOB all example Oracle
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • Jai Shree Ram PHP/MYSQL/Wordpress
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme