Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a882dd0 authored by vince-bourgmayer's avatar vince-bourgmayer
Browse files

update basThoBatch.md

parent ae542282
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ This files contains mapping of bash command for batch and sometimes to OSX comma
- `var=1` => `set /a "var=1"

## Condition:
- `if [ -z ${var} ] then #do smtg fi` => `if defined var #do smtg`
- `if [ -z ${var} ] then #do smtg fi` => `if not defined var #do smtg`

## File manipulation
- `mkdir -p /path/to/file` => `mkdir path\to\file`
@@ -28,3 +28,4 @@ This files contains mapping of bash command for batch and sometimes to OSX comma
- `wget -O path/to/localFile <URL>` => `curl -o path\to\localFile <URL>` 
- `ping -c` => `ping -n`
- `# comment` => ` rem comment` but not efficient at all. Thus use `:: comment`. 
- `sleep 1` => `timeout 1 >nul`
 No newline at end of file