You are on page 1of 2

Windows vs Linux

Caso necessite, aqui estão os comandos mais úteis de Linux para Windows. Aproveite :)

Windows vs Linux

Windows Linux Descrição

dir ls -l or ll Directory Listing

ren mv Rename a file

copy cp Copying a file

move mv Moving a file

cls clear Clear Screen

del rm Delete file

fc diff Compare contents of files

find grep Search for a string in a file

command /? man command Display the manual/help detais of the command

chdir pwd Returns your current directory

md mkdir To create a new directory folder

echo echo To print something on the screen

edit vim or vi or nano To write in to files

format mkes2fs or To format a drive/partition


mformat

free mem To display free space

rmdir rm -rf To delete a directory

taskkill kill To kill a task

tasklist ps x To list running tasks

set var=value export var=value To set environment Variables

attrib chown/chmod Tto change file permissions


tracert traceroute To print the route packets trace to network host

at cron Daemon to execute scheduled commands

type cat To print contents of a file

chdisk du -s For a disk usage

tree ls -R To list directory recursively

You might also like