Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 1.76 KB

File metadata and controls

56 lines (41 loc) · 1.76 KB

📖 Oshell - Command Guide

A complete list of commands available in Oshell.


📂 Directory Manipulation

  • ls - Lists files and directories in the current directory.
  • makedir <directory_name> - Creates a new directory.
  • removedir <directory_name> - Removes an existing directory.
  • changedir <directory_path> - Changes the current directory.
  • curdir - Displays the current directory path.
  • changedir - - Switches back to the previous directory.
  • help - - Lists all the commands available.

📑 File Handling

  • createfile <filename> - Creates a new file.
  • delfile <filename> - Deletes an existing file.
  • writefile <filename> - Overwrites content in a file.
  • appendfile <filename> - Appends content to a file.
  • copyfile <source> <destination> - Copies content from one file to another.

🔤 Built-in Commands

  • speak <text> - Prints the given text to the console.
  • type <command> - Checks if a command is built-in or an executable.
  • clear - Clears the console screen.

🚀 System Commands

  • exit - Exits the shell.
  • exit <status_code> - Exits the shell with a given status code.

🔗 Back to Main Documentation