title: db2 command not found in unix
body: <p>I am trying to execute a simple db2 command in Linux command prompt. but Linux command prompt is not recognizing the command it is giving - bash db2 command not found. but db2 is installed in the Linux machine.</p>
  
  <p><em>command I am trying to execute from Linux command line processor is</em> <strong>db2 "create database smaple"</strong></p>
  
  <p><em>Error I am getting is below</em> <strong>"If db2 in not a typo you can run the following command to lookup the package that contains the binary" command-not-found db2 -bash: db2: command not found"</strong></p>
  
  <p>Is this because of environment variable problem ?? or there is only one instance of db2 ie db2inst1 is running in the machine.my user name in <strong>appsusr</strong> and db2 instance name is <strong>db2inst1</strong> are different is this causing problem?? and I am not having super user access.Is this is causing any problem?? do I need super user access is required ??</p>