Files
cros-shell/README.md
2024-05-28 17:19:44 -05:00

813 B

SHELL COMMAND DOCUMENTATION:

  1. $ help provides a quick reference for available commands.
  2. $ echo <(opt) args> Echos back the provided argument(s). Will include double quote.
  3. $ joke provides a tasteful joke.
  4. $ ls <(opt) arg> Provides the files and directories at the provided location. Prints files and directories in current directory if no arg given.
  5. $ cd <arg> BUILT-IN: Changes current directory to provided file location.
  6. $ pwd BUILT-IN: Provides an exact location of the current directory.

./commands/*

Commands created as separate cpp files. Compiled into ./bin during make.

pwd and cd are built-ins.


Compiling and Running

  • make

  • make install prefix=PATH_TO_INSTALL_DIRECTORY

  • Don't forget make clean

Authored by Connor echo.cpp authored by Kyle