500 Linux and 500 Windows Commands
Operating System Command Description
Linux ls List directory contents
Linux cd Change directory
Linux pwd Print current working directory
Linux mkdir Create a new directory
Linux rmdir Remove an empty directory
Linux rm Remove files or directories
Linux cp Copy files or directories
Linux mv Move or rename files or directories
Linux chmod Change file permissions
Linux chown Change file owner or group
Linux echo Display message or variables
Linux cat Concatenate files and print to standard out
Linux touch Create an empty file or update timestamp
Linux find Search for files in a directory hierarchy
Linux grep Search text using patterns
Linux ps Report a snapshot of current processes
Linux top Display system tasks
Linux kill Terminate processes
Linux df Show disk space usage
Linux du Estimate file space usage
Linux ifconfig Configure network interfaces
Linux ping Send ICMP ECHO_REQUEST to network
Linux netstat Print network connections, routing tables
Linux ssh Secure shell for remote login
Linux scp Securely copy files between hosts
Linux tar Archiving utility
Linux gzip Compress files
Linux gunzip Decompress .gz files
Linux unzip Extract compressed files
Linux zip Create compressed archive
Linux whoami Print the current user
Linux sudo Execute a command as another user
Linux man Display manual for a command
Linux history Show command history
Linux apt-get Package manager for Debian-based syste
Linux yum Package manager for RedHat-based syste
Linux nano Simple text editor
Linux vim Advanced text editor
Linux sed Stream editor
Linux awk Text processing tool
Linux cut Remove sections from each line of files
Linux sort Sort lines of text files
Linux uniq Report or omit repeated lines
Linux diff Compare two files line by line
Linux patch Apply a patch to a file
Linux wget Non-interactive network downloader
Linux curl Transfer data from or to a server
Linux ftp File transfer protocol client
Linux hostname Show or set the system's hostname
Linux uptime Tell how long the system has been running
Windows dir List directory contents
Windows cd Change the current directory
Windows copy Copy files
Windows move Move or rename files
Windows del Delete one or more files
Windows rmdir Remove a directory
Windows mkdir Create a new directory
Windows echo Display a message or turn on/off command
Windows type Display the contents of a text file
Windows attrib Display or change file attributes
Windows tasklist List running processes
Windows taskkill Terminate processes by PID
Windows systeminfo Display detailed system information
Windows hostname Display the system's hostname
Windows ipconfig Display IP network configuration
Windows ping Send ICMP echo requests to a network ho
Windows tracert Trace the path to a network host
Windows netstat Display network connections and statistics
Windows nslookup Query DNS name servers
Windows arp Display or modify the ARP cache
Windows shutdown Shut down the system
Windows logoff Log off the current user
Windows format Format a disk
Windows chkdsk Check a disk for errors
Windows diskpart Manage disk partitions
Windows sfc Scan and repair Windows system files
Windows reg Manage the Windows registry
Windows gpupdate Update Group Policy settings
Windows net Manage network resources
Windows net user Manage local user accounts
Windows net use Connect to a shared resource
Windows net start Start a network service
Windows net stop Stop a network service
Windows sc Manage Windows services
Windows taskmgr Open Task Manager
Windows msconfig Open System Configuration
Windows mstsc Start Remote Desktop Connection
Windows gpedit.msc Open Group Policy Editor
Windows services.msc Open Services Manager
Windows devmgmt.msc Open Device Manager
Windows control Open Control Panel
Windows explorer Open File Explorer
Windows notepad Launch Notepad
Windows calc Launch Calculator
Windows wmic Windows Management Instrumentation Co
Windows diskmgmt.msc Open Disk Management
Windows bcdedit Manage Boot Configuration Data
Windows cipher Encrypt or decrypt files
Windows compact Compress files or folders
Windows fc Compare the contents of two files