Bash Vs DOS Command Line


Let me present here a comparison between some commonly used commands and also in MS-DOS/Windows are also widely used in Bash / Linux.

DOS Command Line <=> Bash / Linux

dir <=> ls
dir | more <=> ls | more
dir fich*.* /e /s | find / -iname "fich*"
xcopy *.txt c:\teste <=> cp *.txt /teste/
ren *.txt *.doc <=> mv
type fich.txt <=> cat fich.txt
cd c:\teste <=> cd /teste
cd.. <=> cd ..
cd\ <=> cd /
ipconfig <=> ifconfig
ping 192.168.1.1 <=> ping 192.168.1.1
edit fich.txt <=> vim fich.txt ou nano fich.txt
fdisk <=> fdisk
ver <=> uname -a

Continuar a ler »»
0

Etiquetas

Seguidores

Ocorreu um erro neste dispositivo

Popular Posts