Comandos Linux Dos

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Comandos Linux e DOS/Win

Linux – terminal Windows – DOS (Prompt)

ls dir
ls -l dir /w
ls -a
ls -la
[dir]

ls -la | more dir /p


ls -la | less

---------------------------------------------------------- ----------------------------------------------------------
clear cls

date date
time hh:mm:ss [modifica hora do sistema]

mkdir mkdir [ou md]

cd cd

cd .. cd..

mv [mv a.txt b.txt] rename [ou ren] [rename a.txt b.txt]

cp /home/user/a.txt /home/user/dir copy c:\hardware\infowester.doc d:\artigos

rm delete [del] [del c:\teste\*.*]


rm -rf deltree

touch a.txt
echo > a.txt echo > a.txt
echo “oi” >> a.txt echo “oi” >> a.txt

cat [cat a.txt] type [type a.txt]

tree

... ...

You might also like