Command Line Converter

Convert commands between Linux and Windows Command Prompt with detailed explanations

Lists files and directories in the current directory

Linux: ls
Windows: dir

Example: ls -l /home/user

Copy files or directories from one location to another

Linux: cp
Windows: copy

Example: cp -r folder1 folder2

Move or rename files and directories

Linux: mv
Windows: move

Example: mv -i file.txt newname.txt

Remove files or directories

Linux: rm
Windows: del

Example: rm -rf oldfiles/

Create new directories

Linux: mkdir
Windows: md

Example: mkdir -p path/to/new/dir