Desi Consultancies

Command Prompt Commands vs Linux Shell commands

Command Prompt Linux Shell Description
dir ls List the contents of a directory
cd cd Change the current directory
copy cp Copy a file or directory
move mv Move or rename a file or directory
del rm Delete a file or directory
type cat Display the contents of a file
ren mv Rename a file or directory
cls clear Clear the terminal screen
echo echo Display a message or the contents of a variable
exit exit Close the terminal window or log out of a shell session
dir /p ls -l List the contents of a directory with detailed information
dir /w ls -C List the contents of a directory in a compact format
type filename.txt > newfile.txt cat filename.txt > newfile.txt Redirect the contents of a file to another file
type filename.txt >> newfile.txt cat filename.txt >> newfile.txt Append the contents of a file to another file
find grep Search for a pattern in a file or directory
ping ping Test the network connection to another computer
ipconfig ifconfig Display network configuration information
netstat netstat Display network statistics and information
tracert traceroute Display the network path to another computer
tasklist ps Display a list of running processes
taskkill kill Terminate a process
net use mount Connect to or disconnect from a network share
format mkfs Format a disk
chkdsk fsck Check and repair a disk
sfc Scan and repair system files in Windows
defrag Defragment a disk in Windows
diskpart parted Manage disk partitions
fsutil Manage file systems and disk space in Windows
diskmgmt.msc gnome-disks Launch the Disk Management tool in Windows or Gnome
certmgr.msc Launch the Certificate Manager tool in Windows
eventvwr.msc Launch the Event Viewer tool in Windows
compmgmt.msc gnome-system-monitor Launch the Computer Management tool in Windows or Gnome
control gnome-control-center Launch the Control Panel in Windows or Gnome
systempropertiesadvanced.exe Launch the System Properties Advanced Settings tool in Windows
regedit gedit Edit the registry in Windows or a text file in Gnome
powershell bash Launch a shell with advanced scripting capabilities in Windows or Gnome