One more tip I forgot to mention for Brace Expansions. If you include a prefix and/or suffix before/after the braces, you can create a list of words. For instance, echo st{ea,ud}y will print out: steady study Enjoy!
Hi, please check this on using SOURCE and . to execute bash scripts: linuxize.com/post/bash-source-command/linuxize.com/post/bash-source-command/ It's possible that '.' might not work on all systems, did you try using 'source' instead?
Hi,@@blackfaithdoom9018 . Sorry for the late reply, but these should all work in Bash 3 as well. I played with most of these in Mac OS and it runs on Bash 3.2. Regarding Bash v4, here is a summary of what's been added: wiki.bash-hackers.org/bash4
Nice. Thanks.
One more tip I forgot to mention for Brace Expansions. If you include a prefix and/or suffix before/after the braces, you can create a list of words. For instance,
echo st{ea,ud}y
will print out: steady study
Enjoy!
Great video. The water drop sound effect is distracting.
Great Video, many thanks sir
ERRATA:
20:18 what is shown is the current directory PLUS all the directories on the stack, that is why "Downloads" appears twice in the list!
Can you please explain why execute the bash file? I tried it, but it didn't work
Hi, please check this on using SOURCE and . to execute bash scripts: linuxize.com/post/bash-source-command/linuxize.com/post/bash-source-command/
It's possible that '.' might not work on all systems, did you try using 'source' instead?
This is valid for Bash version 3 ?
I guess it is Bash v4, right ?
Hi,@@blackfaithdoom9018 . Sorry for the late reply, but these should all work in Bash 3 as well. I played with most of these in Mac OS and it runs on Bash 3.2. Regarding Bash v4, here is a summary of what's been added: wiki.bash-hackers.org/bash4