linux commands and their equivalents

    Linux           Windows

1.	dir	            ls -l	Directory listing
2.	ren	            mv	Rename a file
3.	copy	        cp	Copying a file
4.	move	        mv	Moving a file
5.	cls          	clear	Clear Screen
6.	del         	rn	Delete file
7.	fc	            diff	Compare contents of files
8.	find        	grep	Search for a string in a file
9.	command /?	    man command	Display the manual/help details of the command
10.	chdir	        pwd	Returns your current directory location
11.	time	        date	Displays the time
12.	cd	            cd	Change the current directory
13.	md          	mkdir	To create a new directory/folder
14.	echo	        echo	To print something on the screen
15.	edit	        vim(depends on editor)	To write in to files.
16.	exit	        exit	To leave the terminal/command window.
17.	format	        mke2fs or mformat	To format a drive/partition.
18.	free	        mem	To display free space.
19.	rmdir	        rm -rf/rmdir	To delete a directory.
20.	taskkill	    kill	To kill a task.
21.	tasklist	    ps x	To list running tasks.
22.	set var=value	export var=value	To set environment variables.
23.	attrib	        chown/chmod	To change file permissions.
24.	tracert	        traceroute	To print the route packets trace to network host.
25.	at	            cron	daemon to execute scheduled commands.
26.	type	        cat	To print contents of a file.
27.	ping	        ping	To send ICMP ECHO_REQUEST to network hosts.
28.	nslookup    	nslookup	To query Internet name servers interactively.
29.	chdisk	        du -s	For disk usage.
30.	tree	        ls -R	To list directory recursively.

export   set
env      set
clear    cls
ifconfig ipconfig
rm       del
rmdir    rmdir
mv       move
tracert  traceroute

Are there any code examples left?
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source