We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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)
The text was updated successfully, but these errors were encountered:
thanks brother now i am stealing from here
Sorry, something went wrong.
No branches or pull requests
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)
The text was updated successfully, but these errors were encountered: