A command line interface (CLI) has many different commands for different types of tasks. The commands vary slightly between operating systems. We give several different command examples next.
File system commands
CLI command Windows Linux Change directory cd cd Last files dir ls Create directory mkdir mkdir Remove directory rmdir rmdir Copy files copy cp Move files move mv Remane files ren mv Display files type cat Delete files del rm Change personmissions cacls/chmod chmod
Network commands
CLI command Windows Linux Ping ping ping Traceroute tracert traceroute Network config ipconfig ifconfig Route table route route DNS lookup nslookup nslookup Network diagnostics netsh netstat
Information commands
CLI command Windows Linux List processes tasklist ps End process taskkill kill System info systeminfo uname -a Disk usage wmic/fsutil df System monitoring perfmon top/htop