Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Oracle 11g Training on 29JAN1010 Oracle
  • Which environment is used by currently running process ( Very good) Linux/Unix
  • create PLAN_TABLE command. Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • To find all disk io ( EMC as well as local) Linux/Unix
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • proc.sql Oracle
  • kill all processes from specific user in solaris. Linux/Unix
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • Oracle vs MYSQL Architecture differences (For DBAs) MYSQL
  • How can I tell if ASO is installed ? Oracle
  • useful dg links Oracle
  • sesswait.sql Oracle
  • adding new line after specific pattern using sed Linux/Unix
  • find_log_switch.sql Find log switches in graphical manner 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

  • switchlogfile.sh Linux/Unix
  • Logic to chech # of parameters command line parameters Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • set_env_dba Linux/Unix
  • replace alphabets using sed Linux/Unix
  • to see when crontab is changed. 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • EXTPROC Oracle
  • Drop all SPM baselines for SQL handle Oracle
  • cif crons Linux/Unix
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • UTL_FILE test program Oracle
  • Very clear article about oracle dataguard Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme