Class PosixCommands

java.lang.Object
org.jline.builtins.PosixCommands

public class PosixCommands extends Object
POSIX-like command implementations for JLine applications.

This class provides implementations of common POSIX commands that can be used in JLine-based applications. The commands are designed to be reusable and independent of any specific command framework.

Available commands include:

  • cat - concatenate and print files
  • echo - display text
  • grep - search text patterns
  • ls - list directory contents
  • pwd - print working directory
  • head - display first lines of files
  • tail - display last lines of files
  • wc - word, line, character, and byte count
  • date - display or set date
  • sleep - suspend execution
  • sort - sort lines of text
  • clear - clear terminal screen
See Also: