cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Bash equivalents in Elvish Shell

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

All the sessions of the conference are now available online