On Fri, 26 Jan 2001, John Galt wrote: > > echo `quota -v` `/usr/games/fortune` >> /etc/motd > > > On Sat, 27 Jan 2001, RAccess wrote: > > > > >Hello. I would like know how I can print quota information into the motd > >for every user. Since we are talking about appending to motd, how can > >fortune be appended as well? They should both work along the same lines, > >just quota system would be harder, i think. > > > >thanks. > > > >RAccess > >#geeks/irc.openprojects.net > > > >-----BEGIN GEEK CODE BLOCK----- > >Version: 3.12 > >GCS GIT GP d- s+: a-- C+++ ULSB+++ P+ L+++ E+ W+++ > >N+ o K- w--- O- M-- V- PS+ PE Y+ PGP++ t++ 5-- X++ > >R* tv-- b+ DI+ D- G++ e h! r* !y+ > >------END GEEK CODE BLOCK------ > > > > > > > > > > -- > The Internet must be a medium for it is neither Rare nor Well done! > <a href="mailto:[EMAIL PROTECTED]">John Galt </a> > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >
That isnt such a bright idea (no offence). This information is updated regularly. Why would I want to append to /etc/motd on every login? Anyway... I have used /etc/profile to implement this. There was no need to edit /etc/motd. Now next up, I have to clean up the output from 'quota'. Something along the lines of: You have used 40.2Mb of your quota of 500Mb (hard limit: 510Mb) RAccess #geeks/irc.openprojects.net -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS GIT GP d- s+: a-- C+++ ULSB+++ P+ L+++ E+ W+++ N+ o K- w--- O- M-- V- PS+ PE Y+ PGP++ t++ 5-- X++ R* tv-- b+ DI+ D- G++ e h! r* !y+ ------END GEEK CODE BLOCK------

