From c0b1520402b69b5731000b0cf336e3c2d6bb91b1 Mon Sep 17 00:00:00 2001 From: Emily Grace Seville Date: Sun, 6 Feb 2022 06:19:41 -0800 Subject: [PATCH] nu: update page (#7485) --- pages/common/nu.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pages/common/nu.md b/pages/common/nu.md index ce7270f65b..4a8bf758e6 100644 --- a/pages/common/nu.md +++ b/pages/common/nu.md @@ -1,15 +1,16 @@ # nu > Nushell ("a new type of shell") takes a modern, structured approach to your command-line. +> See also: `elvish`. > More information: . - Start an interactive shell session: `nu` -- Execute a command and then exit: +- Execute commands: -`nu --commands "{{command}}"` +`nu --commands "{{echo 'nu is executed'}}"` - Execute a script: @@ -18,7 +19,3 @@ - Execute a script with logging: `nu --loglevel {{error|warn|info|debug|trace}} {{path/to/script.nu}}` - -- Print the Nushell version: - -`nu --version`