3 ms·
For some pretty art on your terminal (this command isn't going to delete anything): yes "$(seq 231 -1 16)" | while read i; do printf "\x1b[48;5;${i}mHi $US
by SEJeff 9y ago
For some pretty art on your terminal (this command isn't going to delete anything):
yes "$(seq 231 -1 16)" | while read i; do printf "\x1b[48;5;${i}mHi $USER\n"; sleep .02; done
Warning: pretty psychedelic colors ^^
- akgerber 9y agoOne can always open run this in bash running in a Docker image like so: docker run -it ubuntu /bin/bash
- SEJeff 9y agoTrue, but remember the wise words of Dan Walsh "Containers Don't Contain" in that if you run as root inside of a container without careful consideration, bad users can absolutely break out, just like in a chroot. http://www.projectatomic.io/blog/2016/01/how-to-run-a-more-secure-non-root-user-container/ http://www.projectatomic.io/blog/2016/01/how-to-run-a-more-s... http://www.projectatomic.io/blog/2014/09/yet-another-reason-containers-don-t-contain-kernel-keyrings/ http://www.projectatomic.io/blog/2014/09/yet-another-reason-... In newer docker, the defaults are really good, but even then, it is worth reading up.
- akgerber 9y agoInteresting. Thank you.