- Clone the repository
- Add the path of the repository to your enviroment variables
- Run a command via PowerShell / Windows Terminal
- A python CLI MiniShell has been included run
python shell.py
or if it is added in the path justshell.py
to access the minishell.
The Repository currently contains 18 distinct Commands that are performing around 25 different tasks (some commands work as together like a file manager so one command is used to display menu options for multiple commands)
The Repository now contains Bash Shell Files that have commands for linux based systems as well (tested on Kali), the system services that were used in Batch files and are only Windows specific like windows defender have been excluded.
Following Python Libraries need to be installed for some of the commands:
pip install os-sys
pip install subprocess.run
Use the myCommands
command to get the list of all the commands implemented by this repository.
Displays the current process and thread information
Used for checking status of Windows Defender
Check if a file exists and then delete it
Contains commands for files and directory management
An ordinary pipe is implemented that will count the number of files with the specified extension through the command
List the Files of the current directory
Contains Commands for enabling and disabling windows firewall
Returns the Commands used in the current instance of the terminal
Returns the file with the largest size in the current directory
Returns the total and available RAM memory
Uses two pipes to perform a simple file type and sorting function
Displays commands for data usage and packet loss of data by pinging a sample website (default site is google.com)
Contains 3 Commands for viewing running processes, killing running processes and starting a new process
Write to a file and if it does not exist create it
Searches for a file in the current directory
Starts a Server at the user specified port of the localhost
Replicates the echo command
Creates a new file
Includes two commands for adding and removing users to the Administration groups and handling them Admin privileges.
Save files with a .sh
extension,
use chmod +x script.sh
to add executeable permissions to the saved bash file.
Run the file using ./script.sh
command.
The ./myCommands.sh
will display all the available commands.