Uses of Interface
builtins.Command

Packages that use Command
Package
Description
Contains all built-in shell command implementations (cd, pwd, echo, exit, type, history, etc.).
Contains the core logic for the shell, including the main entry point, command handler, history, input handling, tab completion, and tokenization.
  • Uses of Command in builtins

    Classes in builtins that implement Command
    Modifier and Type
    Class
    Description
    class 
    Implements the 'cd' (change directory) builtin command.
    class 
    Implements the 'echo' builtin command.
    class 
    Implements the 'exit' builtin command.
    class 
    Implements the 'history' builtin command.
    class 
    Represents a no-operation command (used for error handling or unknown commands).
    class 
    Implements the 'pwd' (print working directory) builtin command.
    class 
    Implements the 'type' builtin command.
  • Uses of Command in core

    Classes in core that implement Command
    Modifier and Type
    Class
    Description
    class 
    Represents an external (non-builtin) command to be executed via ProcessBuilder.
    Methods in core that return Command
    Modifier and Type
    Method
    Description
    CommandHandler.getCommand(String[] tokens, String rawInput, File redirectFile, File stderrRedirectFile)
    Returns the appropriate Command instance (builtin or external) for the given tokens.