windows-cmdlets
v1.3.1
Published
A collection of useful windows cmdlets
Downloads
233
Readme
windows-cmdlets
A collection of useful windows cmdlets
Usage
First, open a command prompt as administrator.
Then, you'll need to run this command to install all cmdlets: npx windows-cmdlets
Now you can use all cmdlets!
Cmdlets
| Command | Explanation | Usage | | ---------- | ----------------------------------------------------------- | ----------------------------------------- | | mkdir | Creates a new directory | mkdir directory-name | | deldir | Deletes a directory recursively without prompting the use | deldir directory-name | | clear | Clears the console output | clear | | ls | Equivalent to the linux ls command | ls | | hacksim | Yeah, the good old dir /s | hacksim | | cat | Prints the contents of a file | cat file-name | | touch | Creates a new file | touch file-name | | head | Displays the first ten lines of a file | head file-name | | sudo | Run a command as administrator | sudo command | | poweroff | Shutdown the computer | poweroff | | reboot | Reboot the computer | reboot | | zip | Compresses a file | zip archive.zip file-to-add.txt | | unzip | Extracts an archive | unzip archive.zip | | pwd | Prints the current directory | pwd | | history | Prints the command history | history | | cp | Copies a file | cp file-to-copy.txt file-to-copy-to.txt | | top | Displays the processes | top | | mv | Moves a file | mv file-to-move.txt file-to-move-to.txt | | rm | Removes a file | rm file-to-remove.txt | | nano | Opens a text editor | nano file-to-edit.txt |
License
windows-cmdlets is licensed under the GPL-3.0 license.
nano is part of the GNU nano project and is licensed under the GPL-3.0 license.