Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > fido7.ru.linux > #23315
| From | Valentin Kotelnitski <valentin.kotelnitski@gmail.com> |
|---|---|
| Newsgroups | fido7.ru.linux |
| Subject | Re: motd - message of the day |
| Date | 2020-08-04 17:19 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <1187514416@gioia.aioe.org> (permalink) |
| References | <1187514133@gioia.aioe.org> <1187514415@freeshell.de> |
Hello, Anton!
04.08.2020 15:08, Anton Shepelev пишет:
> Похоже на стандартный функционал Linux, см.:
В университете лет 20 тому назад имел Unix c motd,
выводящим рандомную цитату.
>
> MOTD(5): http://man.he.net/man5/motd
> PAM_MOTD(8): http://man.he.net/man8/pam_motd
Можно заполнить motd текстом, даже картинкой.
Таким образом можно уведомлять пользователей о важных событиях.
Hо как чередовать сообщения, выводить рандомную назидательную цитату?
Hаверное, для этого нужен специальный скрипт.
Пока похвастаюсь выводом neofetch:
/:-------------:\ valentin@val
:-------------------:: ------------
:-----------/shhOHbmp---:\ OS: Fedora 31 (Server Edition) x86_64
/-----------omMMMNNNMMD ---: Kernel: 5.7.9-100.fc31.x86_64
:-----------sMMMMNMNMP. ---: Uptime: 10 hours, 47 mins
:-----------:MMMdP------- ---\ Packages: 2938 (rpm), 2 (flatpak)
,------------:MMMd-------- ---: Shell: bash 5.0.17
:------------:MMMd------- .---: Resolution: 1920x1080
:---- oNMMMMMMMMMNho .----: DE: Plasma
:-- .+shhhMMMmhhy++ .------/ WM: KWin
:- -------:MMMd--------------: WM Theme: Breeze
:- --------/MMMd-------------; Theme: Breeze [Plasma], Adwaita [GTK2]
:- ------/hMMMy------------: Icons: [Plasma], breeze-dark [GTK2/3]
:-- :dMNdhhdNMMNo------------; Terminal: konsole
:---:sdNMMMMNds:------------: CPU: Intel Celeron G1840 (2) @
2.800GHz
:------:://:-------------:: GPU: NVIDIA GeForce GT 440
:---------------------:// Memory: 1799MiB / 7893MiB
Выводит лого системы и краткуую информацию о системе.
---------------------------------------
Loving Linux. Linux is great and super!
По русски - Калинка-Малинка моя!
Salute! Valentin.
Back to fido7.ru.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
motd - message of the day Valentin Kotelnitski <valentin.kotelnitski@gmail.com> - 2020-06-17 18:17 +0000
Re: motd - message of the day Anton Shepelev <antonius@freeshell.de> - 2020-08-04 12:08 +0000
Re: motd - message of the day Valentin Kotelnitski <valentin.kotelnitski@gmail.com> - 2020-08-04 17:19 +0000
Re: motd - message of the day Anton Shepelev <antonius@freeshell.de> - 2020-08-04 17:49 +0000
Re: motd - message of the day Valentin Kotelnitski <valentin.kotelnitski@gmail.com> - 2020-08-04 18:14 +0000
Re: motd - message of the day Anton Shepelev <antonius@freeshell.de> - 2020-08-04 17:55 +0000
Re: motd - message of the day Valentin Kotelnitski <valentin.kotelnitski@gmail.com> - 2020-08-04 18:08 +0000
Re: motd - message of the day Anton Shepelev <antonius@freeshell.de> - 2020-08-04 19:58 +0000
Re: motd - message of the day Valentin Kotelnitski <valentin.kotelnitski@gmail.com> - 2020-08-05 06:40 +0000
Re: motd - message of the day Anton Shepelev <antonius@freeshell.de> - 2020-08-04 20:01 +0000
Re: motd - message of the day "Andrey Melnikoff" <temnota+news@kmv.ru> - 2020-08-05 12:35 +0000
Re: motd - message of the day Valentin Kotelnitski <valentin.kotelnitski@gmail.com> - 2020-08-05 15:59 +0000
Re: motd - message of the day "Andrey Melnikoff" <temnota+news@kmv.ru> - 2020-08-05 21:11 +0000
Re: motd - message of the day Valentin Kotelnitski <valentin.kotelnitski@gmail.com> - 2020-08-06 06:39 +0000
csiph-web