![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Metacharacters analysis | gehlnar | Shell Programming and Scripting | 3 | 02-13-2009 10:19 AM |
| It’s all “Pattern Analysis”? | iBot | Complex Event Processing RSS News | 0 | 11-20-2008 02:00 PM |
| Regarding stack analysis | vpraveen84 | High Level Programming | 7 | 06-30-2008 07:08 PM |
| AWK script: decrypt text uses frequency analysis | SerJel | Shell Programming and Scripting | 4 | 11-27-2007 03:16 AM |
| Catalina Analysis | Burhan | SUN Solaris | 2 | 04-30-2007 05:14 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Analysis of a script
what does this line in a script mean??
I have tried to give it at the command prompt and here is what it returns ksh: /db2home/db2dap1/sqllib/db2profile: not found. . /db2home/db2dap1/sqllib/db2profile i have tried the same thing for my home directory too and the result is the same . /home/ramky Result: ksh: /home/ramky: not found. |
|
||||
|
. means to source a script -- that is, run it in the current shell instead of making a new shell and running it inside. A profile file is usually a script containing only statements like Code:
PROGRAMPATH=qqwert ASDF=stuff MAXLINES=7 ... and whatever other global values need to be set in your shell. So its expecting a file containing a set of global values needed to run the rest of the script and not finding it. |
|
||||
|
db2 CLP - command line processor - should be on that region.
type => db2 should see something like (c) Copyright IBM Corporation 1993,2002 Command Line Processor for DB2 SDK 8.2.6 You can issue database manager commands and SQL statements from the command prompt. For example: db2 => connect to sample db2 => bind sample.bnd For general help, type: ?. For command help, type: ? command, where command can be the first few keywords of a database manager command. For example: ? CATALOG DATABASE for help on the CATALOG DATABASE command ? CATALOG for help on all of the CATALOG commands. To exit db2 interactive mode, type QUIT at the command prompt. Outside interactive mode, all commands must be prefixed with 'db2'. To list the current command option settings, type LIST COMMAND OPTIONS. For more detailed help, refer to the Online Reference Manual. db2 => |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|