Home Explore Blog CI



nushell

2nd chunk of `book/nushell_map.md`
9469545d32fb7c47aad1b4cae089a5145aa713a814b4067a000000010000107c
| [`date`](/commands/docs/date.md)                           | `NOW()`, `getdate()`          | `DateTime` class                                     | `Get-Date`                                 | `date`                                          |
| [`du`](/commands/docs/du.md)<br />[`ls --du`](/commands/docs/ls.md) |                      |                                                      |                                            | `du`                                            |
| [`each`](/commands/docs/each.md)                           | Cursors                       |                                                      | `ForEach-Object`, `foreach`, `for`         | `for`                                           |
| [`exit`](/commands/docs/exit.md)<br /><kbd>Ctrl/⌘</kbd>+<kbd>D</kbd> |                    |                                                      | `exit`<br /><kbd>Ctrl/⌘</kbd>+<kbd>D</kbd> | `exit`<br /><kbd>Ctrl/⌘</kbd>+<kbd>D</kbd>    | 
| [`http`](/commands/docs/http.md)                           |                               | `HttpClient`, `WebClient`, `HttpWebRequest/Response` | `Invoke-WebRequest`                        | `wget`, `curl`                                  |
| [`first`](/commands/docs/first.md)                         | `top`, `limit`                | `First`, `FirstOrDefault`                            | `Select-Object -First`                     | `head`                                          |
| [`format`](/commands/docs/format.md), [`str`](/commands/docs/str.md) |                     | `String.Format`                                      | `String.Format`                            | `printf`                                        |
| [`from`](/commands/docs/from.md)                           | `import flatfile,` `openjson`, `cast(variable as xml) `|                             | `Import/ConvertFrom-{Csv,Xml,Html,Json}`   |                                                 |
| [`get`](/commands/docs/get.md)                             |                               | `Select`                                             | `(cmd).column`                             |                                                 |
| [`group-by`](/commands/docs/group-by.md)                   | `group by`                    | `GroupBy`, `group`                                   | `Group-Object`, `group`                    |                                                 |
| [`help`](/commands/docs/help.md)                           | `sp_help`                     |                                                      | `Get-Help`, `help`, `man`                  | `man`                                           |
| [`history`](/commands/docs/history.md)                     |                               |                                                      | `Get-History`, `history`                   | `history`                                       |
| [`is-empty`](/commands/docs/is-empty.md)                   | `is null`                     | `String.IsNullOrEmpty`                               | `String.IsNullOrEmpty`                     |                                                 |
| [`kill`](/commands/docs/kill.md)                           |                               |                                                      | `Stop-Process`, `kill`                     | `kill`                                          |
| [`last`](/commands/docs/last.md)                           |                               | `Last`, `LastOrDefault`                              | `Select-Object -Last`                      | `tail`                                          |
| [`str stats`](/commands/docs/str_stats.md)<br />[`length`](/commands/docs/length.md)<br />[`str length`](/commands/docs/str_length.md) | `count`  | `Count`                                        | `Measure-Object`, `measure`                | `wc`                                            |
| [`lines`](/commands/docs/lines.md)                         |                               |                                                      | `File.ReadAllLines`                        |                                                 |

Title: Nu Command Equivalents in Other Languages (Continued)
Summary
Continuing the table of Nu shell commands and their equivalents in SQL, .Net LINQ (C#), PowerShell, and Bash. This section covers commands like `date`, `du`, `each`, `exit`, `http`, `first`, `format`, `from`, `get`, `group-by`, `help`, `history`, `is-empty`, `kill`, `last`, `str stats`, and `lines`. It highlights the corresponding functions or methods in each language that achieve similar results.