@CliCommand(value = PREFIX + "tail", help = "Display last kilobyte of the file to stdout")
	public void tail(
			@CliOption(key = { "", "file" }, mandatory = true, help = "file to be tailed") final String path,
			@CliOption(key = { "follow" }, mandatory = false, specifiedDefaultValue = TRUE, unspecifiedDefaultValue = FALSE, help = "whether show content while file grow") final boolean file) {
		List<String> argv = new ArrayList<String>();
		argv.add("-tail");
		if (file) {
			argv.add("-f");
		}
		argv.add(path);
		run(argv.toArray(new String[0]));
	}
HDFS shell commands

@author Jarred Li
@author Glenn Renfro
spring-xd-shell/src/main/java/org/springframework/xd/shell/hadoop/FsShellCommands.java