jump to:all–mastodon–bluesky–lemmy–lobsters–dev–stack–wiki–rss–hn
wwebbit
view: | | |

Knowledge / everything · hot matching “bash”

1 shown · updated 26s ago · read only
  1. Colored Text in Bash Output (stackoverflow.com)stack

    9 points by James L in stackoverflow.com · 5y ago · stack comments

    I made an alias to print the current directory tree: find . | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/" . |-trace.pcap |-parent | |-chdir1 | | |-file1.txt | |-chdir2 | | |-file2.txt | | |-file3.sh |-tmp | |-json-c-0.11-4.el7_0.x86_64.rpm Which works fine, however it is…
    filed under linuxbashalias