ShellRS is a powerful shell implemented in Rust. It supports advance command execution, piping, redirection, and this enhanced shell properly handle opening applications, executing commands with elevated privileges, and improving the overall user experience.
_____ __ ____ ____ _____
/ ___// /_ ___ / / / / __ \/ ___/
\__ \/ __ \/ _ \/ / / / /_/ /\__ \
___/ / / / / __/ / / / _, _/___/ /
/____/_/ /_/\___/_/_/ /_/ |_|/____/
Once you start ShellRS, you can begin typing commands just like you would in any other shell.
ls
):
> ls
This command lists all files and directories in the current directory.
pwd
):
> pwd
This command displays the full path of the current directory.
echo
):
> echo Hello, ShellRS!
This command outputs the specified text to the terminal.
cd
):
> cd src
This command changes the current directory to src
.
ls
):
> ls
After changing the directory, you can list the files in the new directory.
> ls | grep Cargo
This command lists all files and directories, and then filters the output to show only those containing “Cargo”.
> invalidcommand
This command will show an error message indicating that the command was not found.
> cd nonexistentdirectory
This command will show an error message indicating that the directory does not exist.
> export MYVAR=myvalue
This command sets an environment variable MYVAR
with the value myvalue
.
> echo $MYVAR
This command outputs the value of MYVAR
.
Command History: Use the up and down arrow keys to navigate through your command history.
Tab Completion:
Start typing a command or file name and press Tab
to auto-complete.
To exit the shell, you can type:
```sh
exit