cancel
Showing results for 
Search instead for 
Did you mean: 

Bash equivalents in Elvish Shell

abk
Neo4j
Neo4j

The start of a cheatsheet because I like using Elvish Shell on a day to day basis, but port bash scripts infrequently enough that I forget how to do simple things. Not strictly related to Neo4j other than that I use Neo4j from the command line and I use elvish.

                                                                                                   Bash                                                                                                     Elvish                                                                                                 explanation
cmd1 && cmd2 cmd1; and cmd2 short-circuit command flow. serialize the execution of multiple commands, continuing at each conjunction only if the exit of the previous command was successful.
`for x in *.json

do echo $x done | for x [ *.json ] { echo $x } | loop through list of filenames, applying the body |

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.