Skip to content

AlbanDAVID/Rustyshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rustyshell

Rustyshell

Rustyshell is a project for learning Rust by implementing a (very) basic shell.
I try to replicate some functionalities of a shell like Bash.

For guidance, I refer to the Bash Reference Manual.


Features

Rustyshell currently supports:

1. Built-in Commands

The following built-in commands are implemented:

  • exit: Exit the shell.
  • pwd: Print the current working directory.
  • echo: Print text to standard output.
  • cd: Change the current directory.
  • type: Display information about command types.

2. Program Execution

Rustyshell can execute external programs or scripts present in the system's PATH and print their stdout/stderr.

3. Redirection and Quoting

The shell supports:

  • Redirection operators: >, 2>, >>, 2>>
  • Quoting to handle spaces and special characters.

About

Rustyshell is a project for learning Rust by implementing a (very) basic shell.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published