Open SkyperTHC opened 7 months ago
Consider adding a more advanced PS1 prompt, that shows process count, load and number of logged in users:
PS1='(remote) USERS=$(who | wc -l) LOAD=$(cut -f1 -d" " /proc/loadavg) PS=$(ps -e --no-headers|wc -l) \[\e[36m\]\u\[\e[m\]@\[\e[32m\]\h:\[\e[33;1m\]\w \[\e[0;31m\]\$\[\e[m\] '
which then looks like this:
(remote) USERS=6 LOAD=1.03 PS=175 root@ubuntu-22-04-02:~ #
(Stolen from THC Tips & Tricks)
thanks brother now i am stealing from here
Consider adding a more advanced PS1 prompt, that shows process count, load and number of logged in users:
which then looks like this:
(Stolen from THC Tips & Tricks)