/shell

A noob terminal for linux, created in C++

Primary LanguageC++

Shell

How to run

g++ -o shell shell.cpp

./shell

Documentation

cd dir_name

dir_name is the path of the new working directory.

ls

ls lists all the files and directories in the current directory

mkdir dir_name

Creates a new directory named dir_name in current directory

mkdir -p path

Creates a new directory in the given path

mkdir -v dir_name

Creates a new directory named dir_name in current directory and prints "dir_name created" on the console window.

rm -rf dir_name

Deletes the directory named dir_name

exit

Exits the console