Navigatrix.net - A Voyager's Companion http://navigatrix.net/ |
|
motd http://navigatrix.net/viewtopic.php?f=4&t=876 |
Page 1 of 1 |
Author: | Rhumbfish [ 09 Mar 2016, 08:06 ] |
Post subject: | motd |
I am working on a few shell scripts (cron grib handlers) and wish to suppress the dynamic motd. I have looked in all the usual places for Debian and Ubunto distros to no avail. I like the parrot but need a clean stdout in some instances. Can anybody help? Thanks! /)* |
Author: | CapCouillon [ 09 Mar 2016, 14:00 ] |
Post subject: | Re: motd |
Not sure of the elegant way to do this, but the baxh call "clear" will kill the parrot and leave you a clean terminal screen. Hope this helps, not graceful but effective. |
Author: | Moe [ 10 Mar 2016, 06:52 ] |
Post subject: | Re: motd |
Easy peasey, kill the cow. Originally the parrot was a cow, yes moo. Unhappy will just cows people have a whole assortment of ascii characters on their terminals. Easiest way. In a terminal Code: nano .bashrc at the bottom of the file it looks likeCode: # enable programmable completion features (you don't need to enable scroll down and comment out the last line with an octothorpe (#) like # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). if ! shopt -oq posix; then if [ -f /usr/share/bash-completion/bash_completion ]; then . /usr/share/bash-completion/bash_completion elif [ -f /etc/bash_completion ]; then . /etc/bash_completion fi fi /usr/games/fortune |/usr/games/cowsay -f parrot Quote: # /usr/games/fortune |/usr/games/cowsay -f parrot Save and close the file (<ctrl><x>, Y, and <enter>) and you're on your way.Or, if you want to remove all trace of the parrot, delete the line, save the file and purge the cow and everything it says with Code: sudo apt-get purge cowsay fortunes fortunes-mod fortunes-min ...and see how that suits you.What are the scripts? |
Author: | Rhumbfish [ 14 Mar 2016, 20:42 ] |
Post subject: | Re: motd |
Thanks Moe, that's exactly what I was looking for. Silly me for not realizing lxrterm is really bash... I fell down the rabbit hole by fixating on the old unix motd... Perl scripts for grib management, auto extract and download. etc. Also, shell scripts for routine ease of administration... Other development in virtual engine instrumentation via CAN bus. My engines are mechanically injected MANs, so I am using Noland A/D converters to feed a CAN bus backbone. My goal is a screen (X/Linux) with digital readouts and live "time series" charts to display things like EGT (Exhaust Gas Temp), turbo boost, fuel (Floscan) as well as the classics, oil pressure, fresh water temp etc. Alarm management and mysql logging of said data are on the road map. I find value in seeing instrument readings over time as opposed to a snapshot in time. I am also toying with web cam monitoring of belts and hoses, similar to a home security alarm algorithm, where images are compared over time for changes. If my port side throws a belt, the image recorded on the port side web cam changes and software can react by popping an image on the screen, kicking off general alarm, lighting a LED on a panel etc. etc. Or maybe a Hall Effect sensor on an tension pulley for belts... Still working on that, call it phase II. Anyway, thanks again - Cheers. Rhumbfish /)* |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |