hony gennard wrote:
> I am looking at the contents of my boot log file; when trying to get out of
> the very long file I thought Ctrl + c should do it - it does not and I
> cannot
> find any way. I wanted to try tail and head so see how they do. Can anyone
> please help me.
How are you "looking at" the file? I would suggest using less.
You get out of less by pressing q.
Date: Thu, 24 Sep 2020 07:23:28 -0600
From: Charles Curley
To: debian-user@lists.debian.org
Cc: m...@fuckaround.org
Subject: Re: notify via virtual terminal available packages
Message-ID: <20200924072328.1a21dcb7@jhegaala.localdomain>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On Wed, 23 Sep 2020 22:36:36 +0200
P=C3=B2l Hallen wrote:
> like ubuntu, what's the best way to show a notify alert (via
> terminal) about available packages?
I take it you mean, *new* available packages. I don't know how Ubuntu
does it, so I'll tell you what I do. And the answer depends on what you
want to do.
You could install unattended-upgrades, and let that notify you (via
email) of packages it has already upgraded for you and the occasional
reboot required.
If that's a bit too trusting, set a cron job to pull in new packages,
but not install them. I use:
5 3 * * * root sleep $( echo $((1 + RANDOM
\% 1=
200)) ) ; /usr/bin/apt-get update > /dev/null && /usr/bin/apt-get -dy dist-=
upgrade > /dev/null
The sleep command waits for up to 1200 seconds. That is there because I
have a small herd of computers here and way back when I was on dial-up
I did not want to swamp my connection.
The apt-get update does an update, and throws away the output.
Same with the dist-upgrade. The -d does a download only.
You could follow that with "apt list --upgradable -a" so cron will
email you a list of available upgrades. Or you could run that manually
when you are ready. I just run "apt upgrade" when I am ready. As I
mentioned, I have a small herd of computers. I run a shell script based
on mssh to check all of them for updates.
--=20
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
Date: Thu, 24 Sep 2020 13:35:17 + (UTC)
From: "mike.junk...@att.net"
To: Dan Ritter ,
"debian-user@lists.debian.org"
Subject: Re: Mail transfer agent
Message-ID: <1774791356.266611.1600954517...@mail.yahoo.com>
Content-Type: multipart/alternative;
boundary="=_Part_266610_21933612.1600954517028"
--=_Part_266610_21933612.1600954517028
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
=20
On Wednesday, September 23, 2020, 09:14:42 PM CDT, Dan Ritter wrote: =20
mutt is an MUA, not an MTA.=C2=A0
What tasks do you want your mail server to perform? Please be
specific. We will have better advice for you once we know
exactly what you want to have happen.
-dsr-
Thanks, Dan,All I need from an MTA is:1) take mail from fetchmail and put i=
t in a mailbox for mutt to display,2) take mail from mutt and send it to my=
ISP via smtp3) take messages from the system, eg: cron and deliver them to=
that same mailbox4) take a simple message on the CL such as:=C2=A0 =C2=A0 =
echo 'blah' | mail -s 'oops' no...@example.com
I've been using exim for years and it works well but is overkill for my nee=
ds.
Thanks,Mike
=20
--=_Part_266610_21933612.1600954517028
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
=20
=20
On Wednesday, September 23, 2020, 09:14:42 PM CDT, Dan =
Ritter d...@randomstring.org wrote:
mutt is an MUA, not an MTA.What tasks do you want your mail server to perform? Please be<=
br clear=3D"none">specific. We will have better advice for you once we know=
exactly what you want to have happen.=
-dsr-Thanks, Dan,All I need f=
rom an MTA is:1) take mail from fetchmail and put it in a mailbox for mut=
t to display,2) take mail from mutt and send it to my ISP via smtp<=
div dir=3D"ltr" data-setdir=3D"false" style=3D"color: rgb(0, 0, 0); font-fa=
mily: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">3) ta=
ke messages from the system, eg: cron and deliver them to that same mailbox=
echo 'blah' | =
mail -s 'oops' no...@example.comI've been using exim for years and it works well but is overkill =
for my needs.Thanks,Mike
--=_Part_266610_21933612.1600954517028--
Date: Thu, 24 Sep 2020 15:53:09 +0200
From: john doe
To: debian-user@lists.debian.org
Subject: Re: Returning to /var/log/boot.log
Message-ID: <367bd878-e4b4-9661-b7f0-ca65eb1d9...@mail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-