rm * exit clear ls exit clear df /run df /run | detect columns df /run | detect columns | get "Use%" (df /run | detect columns | get "Use%").0 echo "gaming jacket" | kak exit clear try {<\n>print (1/0)<\n>} try {<\n>print (1/0)<\n>} catch {<\n>"You can't divide by zero!"<\n>} clear let first_index = "Hello World!" | str index-of 'o' let substring = "Hello World!" | str substring 4..8 let split_string = "Hello, Oh So Beautiful World!" | split row " " print {first_index} print $first_index print $substring print split_string print $split_string let version_info = "Nushell 0.80" | parse "{shell} {version}" echo $version_info {shell} shell echo "{shell}" parse parse --help clear let val1 = 42 $val = 100 $val1 = 100 let $val1 = 100 print $val1 mut val2 = 42 $val2 += 26 $val $val2 clearr clear ktsctl sync nu clear ktsctl query -a ktsctl query -a | detect columns ktsctl query -a | detect columns | skip 1 ktsctl query -a | detect columns | skip 1 | get Language $env.USER clear help help do c clear c clear do { echo hii} let text = "I am enclosed" let hello = {|| echo $text} do $hello let hello = {echo $text} do $hello clear do -i { foobargaming } do -c { nu --commands 'exit 1' } | myscarycommand do { nu --commands 'exit 1' } | myscarycommand do --capture-errors { nu --commands 'exit 1' } | myscarycommand clear do {|x:int| 100 + $x } 77 let hello = {|s:str| printf 'Hello, %s!' $s } let hello = {|s:string| printf 'Hello, %s!' $s } do $hello friend