Linux Lite 7.6 Final Released - Click here for more


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Welcome message in bashrc
#2
This part of the Bash command is custom:

Code:
# Linux Lite Custom Terminal
LLVER=$(awk '{print}' /etc/llver)

echo -e "Welcome to $LLVER ${USER}"
echo " "
date "+%A %d %B %Y, %T"
free -m | awk 'NR==2{printf "Memory Usage: %s/%sMB (%.2f%%)\n", $3,$2,$3*100/$2 }'
df -h | awk '$NF=="/"{printf "Disk Usage: %d/%dGB (%s)\n", $3,$2,$5}'
echo "Support - [url]https://www.linuxliteos.com/forums/[/url] (Right click, Open Link)"
echo " "

Feel free to remove it or code it to your liking.
Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply


Messages In This Thread
Welcome message in bashrc - by ROMAINPC - 06-22-2022, 09:36 AM
Re: Welcome message in bashrc - by Valtam - 06-25-2022, 11:52 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)