Try this for a more colourful clustercmd prompt put this in your ~/.bashrc:
# clustercmd function clustercmd { for I in 1 2 3 4 5 6 7 8; do echo -e "\e[40;38;5;82m Cluster node \e[30;48;5;82m $I \e[0m \e[38;5;4m --------------"; ssh rpi$I "$@"; done $@ }
then do a
$ source ~/.bashrc
Looks like this:
Looks nice! Thanks, Razvan!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Try this for a more colourful clustercmd prompt put this in your ~/.bashrc:
then do a
Looks like this:
Looks nice! Thanks, Razvan!