If you’re going to be doing anything with AI you’re gonna be in the command terminal. Here’s some basic commands
Here’s a list of some of the most basic and commonly used commands in the Command Prompt (cmd) on Windows:
cd(Change Directory): Changes the current directory.cd path\to\directory cd ..dir(Directory): Lists files and directories in the current directory.dircls(Clear Screen): Clears the Command Prompt screen.clscopy: Copies files from one location to another.copy source_file destinationmove: Moves files from one location to another.move source_file destinationdel(Delete): Deletes one or more files.del filenamermdirorrd(Remove Directory): Removes a directory.rmdir directory_name rmdir /s /q directory_name # Remove a directory and all its contentsmkdirormd(Make Directory): Creates a new directory.mkdir new_directoryren(Rename): Renames a file or directory.ren old_name new_nametype: Displays the contents of a text file.type filename.txtecho: Displays messages or turns command echoing on or off.echo Hello, World! echo off echo onexit: Exits the Command Prompt.exitping: Tests network connectivity to a specific host.ping hostname_or_ipipconfig: Displays network configuration details.ipconfig ipconfig /alltasklist: Lists all running processes.tasklisttaskkill: Kills a running process.taskkill /PID process_id taskkill /IM process_namechkdsk: Checks the file system and status of the system’s hard drives.chkdsk chkdsk /f # Fixes errors on the diskformat: Formats a disk for use with Windows.format drive_letter:***CAUTION***attrib: Displays or changes file attributes.attrib +r filename # Sets the read-only attribute attrib -r filename # Removes the read-only attributenetstat: Displays network statistics.netstat
These commands provide a solid foundation for basic file and system management tasks in the Command Prompt.
Leave a Reply