zephyr@lemmy.world to Programming@programming.dev · 2 年前How do you shell expand your variables and why?lemmy.worldexternal-linkmessage-square28fedilinkarrow-up168arrow-down14
arrow-up164arrow-down1external-linkHow do you shell expand your variables and why?lemmy.worldzephyr@lemmy.world to Programming@programming.dev · 2 年前message-square28fedilink
minus-squaremonsterpiece42@reddthat.comlinkfedilinkarrow-up1·2 年前What should I search to better understand what is written here? Don’t mind learning myself, just looking for the correct keywords. Thanks!
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up2·2 年前Read the Bash manual. That one patter on the GP is called “Command Substitution”, you can search for it.
minus-squareoneiros@lemmy.blahaj.zonelinkfedilinkarrow-up3arrow-down1·2 年前This comment is a joke and you wouldn’t want to do it like that in reality, but here are some related keywords you could look up: “Unix cat”, “Unix pipeline”, “grep”, “output redirection”, “command substitution”.
minus-squaremonsterpiece42@reddthat.comlinkfedilinkarrow-up1·2 年前Perfect, I have some light reading for the evening!
What should I search to better understand what is written here? Don’t mind learning myself, just looking for the correct keywords. Thanks!
Read the Bash manual. That one patter on the GP is called “Command Substitution”, you can search for it.
Thanks!
This comment is a joke and you wouldn’t want to do it like that in reality, but here are some related keywords you could look up: “Unix cat”, “Unix pipeline”, “grep”, “output redirection”, “command substitution”.
Perfect, I have some light reading for the evening!
ExplainShell should help