Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.linux.misc > #71837

tldr [WAS: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use]

From "Carlos E.R." <robin_listas@es.invalid>
Newsgroups comp.os.linux.misc
Subject tldr [WAS: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use]
Date 2025-08-21 12:04 +0200
Message-ID <vh7jnlx5be.ln2@Telcontar.valinor> (permalink)
References (10 earlier) <107cht8$2foa4$1@dont-email.me> <107dpa1$2sqrk$4@dont-email.me> <107er40$34a0s$1@dont-email.me> <9l0enlx168.ln2@Telcontar.valinor> <68a62128$0$28050$426a74cc@news.free.fr>

Show all headers | View raw


On 2025-08-20 21:25, Stéphane CARPENTIER wrote:
> Le 19-08-2025, Carlos E.R. <robin_listas@es.invalid> a écrit :
>> On 2025-08-12 09:39, Mike Scott wrote:
>>> On 11/08/2025 23:02, Lawrence D'Oliveiro wrote:
>>>> I don’t know. I’m just able to read documentation. I thought that was a
>>>> skill that was so commonplace among folks who work with computers for a
>>>> living that you could take it for granted, but apparently not.
>>>
>>> The horror is manuals written by the code-writer. They describe in
>>> intimate detail each and every function; but not how it all hooks up. In
>>> this case, I'd not even seen the nft man page, because I'd been
>>> searching for the wrong terms, hadn't got there because I'd got drowned
>>> in a morass of ipfilter and similar stuff, now apparently out-of-date;
>>> and gave it up as a bad job.
>>>
>>> What's wrong with a couple of clear examples, plus the detail to expand
>>> on them?
>>>
>>
>> +1
> 
> Just "man tldr". In fact no. Install tldr with your distro package
> manager. Then "tldr tldr".
> 
> Enjoy.

I was curious, so I installed it.

cer@Telcontar:~> man tldr
No manual entry for tldr
cer@Telcontar:~>

cer@Telcontar:~> tldr tldr
Error: Page cache not found. Please run `tldr --update` to download the 
cache.

Note: You can optionally enable automatic cache updates by adding the
following config to your config file:

   [updates]
   auto_update = true

The path to your config file can be looked up with `tldr --show-paths`.
To create an initial config file, use `tldr --seed-config`.

You can find more tips and tricks in our docs:

   https://dbrgn.github.io/tealdeer/config_updates.html
cer@Telcontar:~>




It said that yesterday for root, I run "update", and now it says the 
same for my user. So each user has its own cache?

What config file, where is it?

cer@Telcontar:~> l .tldr
ls: cannot access '.tldr': No such file or directory
cer@Telcontar:~>

cer@Telcontar:~> ls /etc/tldr
ls: cannot access '/etc/tldr': No such file or directory
cer@Telcontar:~>

cer@Telcontar:~> rpm -ql tealdeer
/usr/bin/tldr
/usr/share/doc/packages/tealdeer
/usr/share/doc/packages/tealdeer/README.md
/usr/share/licenses/tealdeer
/usr/share/licenses/tealdeer/LICENSE-APACHE
/usr/share/licenses/tealdeer/LICENSE-MIT
cer@Telcontar:~>


Where is that configuration file?


«The path to your config file can be looked up with `tldr --show-paths`.»


cer@Telcontar:~> tldr --show-paths
Config dir:       /home/cer/.config/tealdeer/ (OS convention)
Config path:      /home/cer/.config/tealdeer/config.toml
Cache dir:        /home/cer/.cache/tealdeer (OS convention)
Pages dir:        /home/cer/.cache/tealdeer/tldr-pages/
Custom pages dir: /home/cer/.local/share/tealdeer/pages/ (OS convention)
cer@Telcontar:~>


So each user has its own cache? Is not that a waste?


«To create an initial config file, use `tldr --seed-config`.»


cer@Telcontar:~> tldr --seed-config
Successfully created seed config file here: 
/home/cer/.config/tealdeer/config.toml
cer@Telcontar:~>


So now I have:

[updates]
auto_update = true
auto_update_interval_hours = 720


Now "tldr tldr" works.

Directory "/home/cer/.cache/tealdeer" contains 17 MB.

And another one for root.


-- 
Cheers, Carlos.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use "Carlos E.R." <robin_listas@es.invalid> - 2025-08-19 12:35 +0200
  Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-08-19 12:18 +0100
    Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use Marc Haber <mh+usenetspam1118@zugschl.us> - 2025-08-19 15:16 +0200
      Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-20 01:02 +0000
  Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-20 01:01 +0000
    Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use "Carlos E.R." <robin_listas@es.invalid> - 2025-08-20 12:52 +0200
      Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-20 22:36 +0000
        Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use "Carlos E.R." <robin_listas@es.invalid> - 2025-08-21 11:44 +0200
          Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use The Natural Philosopher <tnp@invalid.invalid> - 2025-08-21 11:34 +0100
            Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use "Carlos E.R." <robin_listas@es.invalid> - 2025-08-21 14:36 +0200
              Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use Nuno Silva <nunojsilva@invalid.invalid> - 2025-08-21 14:27 +0100
                Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use "Carlos E.R." <robin_listas@es.invalid> - 2025-08-21 21:37 +0200
                Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use Nuno Silva <nunojsilva@invalid.invalid> - 2025-08-22 10:33 +0100
                Manuals [Was: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use] "Carlos E.R." <robin_listas@es.invalid> - 2025-08-22 12:39 +0200
              Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-22 01:12 +0000
          Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-22 01:06 +0000
            Documentation [Was: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use] "Carlos E.R." <robin_listas@es.invalid> - 2025-08-22 12:26 +0200
              Re: Documentation [Was: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use] Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-23 23:13 +0000
    Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use John Ames <commodorejohn@gmail.com> - 2025-08-20 07:47 -0700
      Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-20 22:37 +0000
  Re: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-08-20 19:25 +0000
    tldr [WAS: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use] "Carlos E.R." <robin_listas@es.invalid> - 2025-08-21 12:04 +0200
      Re: tldr [WAS: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use] Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-08-23 12:40 +0000
        Re: tldr [WAS: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use] "Carlos E.R." <robin_listas@es.invalid> - 2025-08-24 00:40 +0200
        Re: tldr [WAS: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use] Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-23 23:15 +0000
          Re: tldr [WAS: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use] Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-08-24 11:22 +0000
            Re: tldr [WAS: Yes, You Need A Firewall On Linux - Here’s Why And Which To Use] Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-24 22:18 +0000

csiph-web