An open API service indexing awesome lists of open source software.

https://github.com/mohdnehalkhan/cmd-commands

Repository contains all commands of CMD line terminal used in our day to day work
https://github.com/mohdnehalkhan/cmd-commands

bash cmd terminal windows

Last synced: 2 months ago
JSON representation

Repository contains all commands of CMD line terminal used in our day to day work

Awesome Lists containing this project

README

          

# CMD COMMANDS

| Commands (in windows prompt) | Their Uses |
| --- | --- |
| `systeminfo` | this command helps to check the system information |
| `vol` | this command helps to check that in which drive we are |
| `ver` | this command helps to check the version of our OS |
| `date` | this command helps to check the date with new date |
| `date \t` | this command helps to check the date only |
| `time` | this command helps to check the tine with new time |
| `time \t` | this command helps to check the time only |
| `V: or C: or D:` | this command helps to migrate from one drive to another drive |
| `dir` | this command helps to check the existed directories or folders |
| `cd filename` | this command helps to change directory from one folder to another |
| `cd..` | this command helps to change from working directory to parent |
| `mkdir foldername` | this command helps to create a new directory or folder |
| `type nul > filename.extension` | this command helps to create a new file |
| `ren filename1.ext filename2.ext` | this command helps to rename the file |
| `notepad filename.ext` | this command helps to write in the file |
| `copy filename.ext filename2.ext` | this command helps to copy the date of one file to another |
| `del filename.ext` | this command helps to delete the file |
| `move filename foldername` | this command helps to move a file in the another folder |
| `cls` | this command helps to clear the content of the cmd prompt |
| `cd../..` | this command helps to move back to the drive |
| `type filename.ext` | this command helps to check what is written in your file |
| `rmdir` | this command helps to delete the directory or folder |
| `ping google.com` | this command helps to check the status of network |

| Commands (in bash) | Their Uses |
| --- | --- |
| `pwd(Print Working Directory)` | Displays the current working directory in the terminal. |
| `mkdir(Make Directory):` | Creates a new directory (folder) in the current working directory. |
| `ls(List):` | Lists the files and directories in the current directory. |
| `cd(Change Directory):` | Allows you to change the current working directory to a specified path. |
| `touch` | Creates an empty file with the specified name in the current directory. |
| `clear` | Clears the terminal screen, removing previous output. |
| `cp(Copy):` | Copies files or directories from one location to another. |
| `mv(Move):` | Moves files or directories from one location to another or renames them. |
| `rm -r(Remove - Recursive):` | Deletes files and directories recursively, including their contents. |
| `ls-a(List All):` | Lists all files and directories, including hidden ones (those with names starting with a dot .). |
| `ls-l(List Long Format):` | Lists files and directories in a detailed long format, showing permissions, owner, size, and more. |
| `ls-t(List by Time):` | Lists files and directories by modification time, with the most recently modified ones listed first. |
| `>>(Append)` | Appends the output of a command to the end of a file without overwriting its contents. |
| `(Pipe):` | Redirects the output of one command as input to another command. |
| `>(Redirect):` | Redirects the output of a command to a file, overwriting its contents if the file already exists. |
| `cat` | Concatenates and displays the contents of one or more files. |
| `grep` | Searches for a specified pattern or text within a file or text stream. |
| `history` | Displays a list of previously executed commands. |
| `export` | Sets environment variables in the current shell session or exports them to be available to child processes. |
| `mv old_file_name new_file_name` | Renames a file by moving it to a new name. This command changes the name of a file from old_file_name to new_file_name. |