-->

Batch commands windows and linux

0 minute read

 batch file run command in 

5 way to run in batch file


.

./

sh

bash

source

.......................................



chmod -R 777 <file name.extension>

is a change permission any user name ,any group

is a rewrite permission(777)




Read file in cmd prompt:-


type  cmd:- more .\sakthivel.txt

sakthivel


another type  :- cat sakthivel.txt -head 3

print first three line in the file