a tumblelog
07 Jun 2019

Another way to show PATH entries one per line

An alternative to the method I showed the first of June to show PATH entries one per line is:

echo -e ${PATH//:/\\n}

In bash this replaces all occurrences of : in the variable PATH with a newline character. For more information see Shell Parameter Expansion in the Bash Reference Manual.

Did Time Have A Beginning?

Did the Universe have a beginning, or a time before which nothing existed? Or did the Universe exist for an eternity, like an infinite line extending in both directions? Or, quite possibly, is our Universe cyclic like the circumference of a circle, where it repeats over and over indefinitely?

In the evening I read Did Time Have a Beginning by Ethan Siegel.