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

0

0 comentários:

Etiquetas

Seguidores

Popular Posts

Free Website Hosting