Git Product home page Git Product logo

db2-bash-completion's Introduction

Db2 Bash Completion

db2-completion.sh defines a set of shell functions to provide command-line completion for CLP commands of the IBM Db2 Command Line Processor.

Installation

To enable the completions, either:

  • place db2-completion.sh in /etc/bash_completion.d

or

  • copy db2-completion.sh to ~/.db2-completion.sh (for example) and add the line below to your .bashrc after bash completion features are loaded

      . ~/.db2-completion.sh
    

Db2 Command Support

Currently, db2-completion.sh supports the following Db2 CLP Commands:

  • ACTIVATE DATABASE
  • ARCHIVE LOG
  • CATALOG DATABASE
  • CATALOG DCS DATABASE
  • CATALOG LDAP DATABASE
  • CATALOG LDAP NODE
  • CATALOG LOCAL NODE
  • CATALOG TCPIP NODE
  • CONNECT
  • DEACTIVATE DATABASE
  • DESCRIBE
  • LIST ACTIVE DATABASES
  • LIST APPLICATIONS
  • LIST COMMAND OPTIONS
  • LIST DATABASE DIRECTORY
  • LIST DATABASE PARTITION GROUPS
  • LIST DBPARTITIONNUMS
  • LIST DCS APPLICATIONS
  • LIST DCS DIRECTORY
  • LIST DRDA INDOUBT TRANSACTIONS
  • LIST HISTORY
  • LIST INDOUBT TRANSACTIONS
  • LIST INSTANCE
  • LIST NODE DIRECTORY
  • LIST PACKAGES/TABLES
  • LIST TABLESPACE CONTAINERS
  • LIST TABLESPACES
  • LIST UTILITIES
  • RUNSTATS
  • TERMINATE

Usage Notes

  • Not all options are available for all supported CLP Commands; completion is supported for typical sets of options.

  • Table name completion is not supported (for performance reasons).

  • Command completion will not work if commands are enclosed in quotes, i.e.:

      db2 "con<TAB>"
    

db2-bash-completion's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.