hadoop/hadoop-common-project/hadoop-common/src/contrib/bash-tab-completion
Aaron Myers ae71fc2a24 HADOOP-8795. BASH tab completion doesn't look in PATH, assumes path to executable is specified. Contributed by Sean Mackrory.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1384445 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 18:02:46 +00:00
..
README HADOOP-7560. Change src layout to be heirarchical. Contributed by Alejandro Abdelnur. 2011-08-25 00:14:24 +00:00
hadoop.sh HADOOP-8795. BASH tab completion doesn't look in PATH, assumes path to executable is specified. Contributed by Sean Mackrory. 2012-09-13 18:02:46 +00:00

README

Bash tab completion support for the hadoop script.

On Debian-like distributions, the script can be placed in
/etc/bash_completion.d/, and it will be sourced automatically by Bash. On
other distributions, you may source the file manually (`. hadoop.sh') or
source it from your bashrc (or equivalent) file.

The script allows tab completion of all the command names, subcommands for the
'fs', 'dfsadmin', 'job', 'namenode' and 'pipe' commands, arguments of the 'jar'
command and most arguments to the 'fs' subcommands (completing local and 
dfs paths as appropriate).