Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion book/coming_from_cmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This table was last updated for Nu 0.67.0.
| `IF ERRORLEVEL <number> <command>` | `if $env.LAST_EXIT_CODE >= <number> { <command> }` | Run a command if the last command returned an error code >= specified |
| `IF <string> EQU <string> <command>` | `if <string> == <string> { <command> }` | Run a command if strings match |
| `IF EXIST <filename> <command>` | `if (<filename> \| path exists) { <command> }` | Run a command if the file exists |
| `IF DEFINED <variable> <command>` | | Run a command if the variable is defined |
| `IF DEFINED <variable> <command>` | `if (scope variables \| any {\|var\| $var.name == '<variable>'}) { <command> }` | Run a command if the variable is defined |
| `MD` or `MKDIR` | `mkdir` | Create directories |
| `MKLINK` | | Create symbolic links |
| `MOVE` | `mv` | Move files |
Expand Down