Linux Experts Read 'info' Pages (NOT 'man' pages)

Linux Experts Read 'info' Pages (NOT 'man' pages)

RobertElderSoftware

6 месяцев назад

12,491 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@AM-yk5yd
@AM-yk5yd - 26.03.2024 14:19

pinfo is prettier than info
The only good info page I've seen was GNU bison where I learned that instead of $5 you can assign proper names eg $lhs. But then again, bison is rarelly used these days.

And nobody writes info pages these days. And previous days. I literally don't remember when I ever saw documentation of 3rd party app in info format. Man? yes. Markdown? Yes, so it can be rendered on github. Info? Nope.
Also on my system `info ed` gives "Info: (libc)Error Codes" which makes it less useful than man

Ответить
@weakspirit_
@weakspirit_ - 26.03.2024 15:02

i love info pages
i hate that (mostly) only GNU software has info pages

Ответить
@YuranPereira-t8s
@YuranPereira-t8s - 26.03.2024 16:14

Here is the thing.... Man pages are best for programmers who need to know about different functions in the Linux programming interface. A lot of C functions will be perfectly documented in the man pages. If you've ever done any type of low level C programming, then you know how useful the man pages can be. Definitely not the only use for them tho...

Ответить
@seanfaherty
@seanfaherty - 26.03.2024 16:48

Next time I see a guy shit on a noob (usually me) about the man pages I’m shitting back

Ответить
@JoeyGarcia
@JoeyGarcia - 26.03.2024 16:59

I disliked info pages 20+ years ago, and I still dislike them now! Give me a trusty man page any day of the week. Man pages are usually present on pretty much all Unix descendants including the BSDs, and they should be included on Unix clones such as Linux, but many distributions don't include them.

Ответить
@wizard-pirate
@wizard-pirate - 26.03.2024 17:30

Apparently Pandoc can convert Markdown formatted text documents to Texinfo formatted text documents (which the info command uses). I'll be adding that conversion in my project setup Makefile template.

Ответить
@9SMTM6
@9SMTM6 - 26.03.2024 17:46

Also have not heard of info pages in years of using Linux

However I do often use TLDR to quickly find common invocations of commands with more complex flags.

Another thing I will note is that --help usually also works on subcommands, which is something that surprisingly many people don't realize.

Ответить
@trucy1337
@trucy1337 - 26.03.2024 18:07

OpenBSD man pages are still the best tbh

Ответить
@Chalisque
@Chalisque - 26.03.2024 18:47

It's worth knowing (I didn't know until I did a little googling inspired by this video) that KDE's Konqueror has a built-in info viewer if you want something presented like in a web browser.

Ответить
@tineocedric
@tineocedric - 26.03.2024 19:45

linux has this way of always making you feel stupid. Man pages ? no, info pages. But not all the time, and there are exceptions and sometimes it's the opposite, and nobody will tell you how it really works, but will make you feel like you're dumb for not knowing... gotta love this. Now tell me that i'm dumb and the only person who feels this way.

Ответить
@CozenBrooch
@CozenBrooch - 26.03.2024 22:14

You just added another rabbit hole for me to go down. Now I’m going to learn all the coreutils I don’t know by heart.

Ответить
@MichaelWilliams-lr4mb
@MichaelWilliams-lr4mb - 26.03.2024 22:44

I know on FreeBSD, they tend to do a better job with the man pages as far as showing examples of how to use commands than Linux does.

I didn't know about the info pages. Thanks for the info!

Ответить
@Palawusa
@Palawusa - 26.03.2024 22:45

How have I never heard of info? Crazy how you can always find something "new" lol

Related: If you struggle with both man and info pages, there is also tldr pages, which comes with great examples!

Ответить
@thefekete
@thefekete - 27.03.2024 00:08

I /wish/ the man pages were a quick (but complete) reference, and info pages were the full docs... But alas, it isn't so...

Ответить
@juliankandlhofer7553
@juliankandlhofer7553 - 27.03.2024 00:36

the info command is not my favorite linux command. it does not support hjkl for navigation...

Ответить
@elemenohP
@elemenohP - 27.03.2024 00:39

my favorite Linux command which ever I inputted into the keyboard pressed with bewildered keystrokes: 'mount man': "...All files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at /."

Ответить
@dzanful
@dzanful - 27.03.2024 01:58

This is how I actually learned the `sed` command. Also worth mentioning is that `info info` gives useful information on how to navigate through pages, you can even customize the interface and define your own key bindings.

Ответить
@saeedgnu
@saeedgnu - 27.03.2024 02:01

I find it irritating that info command does not respect my $PAGER, and uses "more" by default, not "less".
On my Debian installation, info command was not installed!
I have used Linux for 15 years without even hearing about info command!

Either way, I think both man and info are becoming antiquated. Searching through long man/info page is not easy at all. I think we either need an inter-active command line UI with navigation and search, or a local web-based interface, or both.

Ответить
@ajko000
@ajko000 - 27.03.2024 02:07

Now we need a video on the info browser!

Ответить
@brothertyler
@brothertyler - 27.03.2024 02:19

I had absolutely no idea that these existed, despite using these systems for almost a decade. There's an XKCD comic about that.

Ответить
@samuelberton3778
@samuelberton3778 - 27.03.2024 02:24

I think (purely from looking at your video views) that your Linux videos do better than your other content. Keep it up! But focus on your niche

Ответить
@i-use-4rch-btw
@i-use-4rch-btw - 27.03.2024 02:48

I use Arch by the way

Ответить
@norsairi
@norsairi - 27.03.2024 04:46

today i learn something, tq

Ответить
@chloedelaware2922
@chloedelaware2922 - 27.03.2024 08:42

important to note is that man and man pages are posix, and info isn't. some of my systems don't even have info pages installed

Ответить
@DIYTinkerer
@DIYTinkerer - 27.03.2024 12:14

This is my favourite command 😊

Ответить
@Xaito
@Xaito - 27.03.2024 16:50

I use man pages because I'm a man.
Jokes aside, I usually use --help because I need help.

Ответить
@DavidConnerCodeaholic
@DavidConnerCodeaholic - 27.03.2024 19:45

I didn't quite know that info would fall through to man, but yes these are very helpful

you'd be surprised to understand how many package managers, distributions and mostly users manage to F up MANPATH, INFOPATH or the configuration thereof. it's crazy.

+RTFM+ ... no, instead RTFS: Read The F-ing Source.

Ответить
@chrisalexthomas
@chrisalexthomas - 28.03.2024 01:49

Somebody should just rewrite the entire man and info pages from scratch without any legacy functionality and fix all of these mistakes. It would be awesome

Ответить
@NostraDavid2
@NostraDavid2 - 28.03.2024 02:24

And there's the `tldr` pages nowadays too (very user-friendly, IMO) - it likely won't come with your distro though.

Ответить
@EconaelGaming
@EconaelGaming - 28.03.2024 11:25

I check tldr pages

Ответить
@coced
@coced - 28.03.2024 16:32

if it can't be explained with tldr, i quit

Ответить
@petersilva037
@petersilva037 - 29.03.2024 03:36

man pages existed... Gnu people decided they wanted new-fangled ´hyperlinks´ so they created a new format: info pages... I think Gnu´s intent was to replace man pages, but that never happenned. It should be noted that man pages are supposed to be for reference, like dictionary information about the commands. Full-fledged examples were supposed to go into ¨guides¨ ... documentation that was originally on paper, and I do not recall seeing electronic versions of.... info pages don´t have this restriction, and can contain reference or guide materials... which is why they tend to be more helpful.

Ответить
@DanielJoyce
@DanielJoyce - 29.03.2024 17:01

Ahh info pages. The clunkiest navigation system ever.

Ответить
@sqlexp
@sqlexp - 29.03.2024 20:30

The video title almost had me thinking you were a feminist.

Ответить
@overclucker
@overclucker - 29.03.2024 22:33

Here's your new favorite command: update-info-dir
Packages should run install-info post install.

Ответить
@simpleprogrammingcodes
@simpleprogrammingcodes - 29.03.2024 23:53

Please show how to write info pages by yourself! Also is there something similar on Windows?

Ответить
@techrazor3280
@techrazor3280 - 30.03.2024 23:41

Those are Linux snobs, who yell on people to leave linux and go back to Proprietary OS.
Actually, these snobs are The obstacle in Linux's spread.

Ответить
@danydanger
@danydanger - 31.03.2024 16:12

@Robert...how to read about the options that comes after the `help` command like exec,echo,fg,unset,unset, trap.
And also I have used pipefail in my scripts, but how to read about it from the man or info like pages ?

Ответить
@Ma_X64
@Ma_X64 - 02.04.2024 12:59

The problem with the linux-way in general is that you should KNOW exactly what command you need and that it exists at all to start exploring what it can do and how.

Ответить
@dritterregenschirm2324
@dritterregenschirm2324 - 02.04.2024 21:17

At least on arch you can get the docs for a bash shell builtin using the help command (e.g. help alias)

Ответить
@MrPierreSab
@MrPierreSab - 03.04.2024 06:16

and dont forget "whatis" command

Ответить
@DaMu24
@DaMu24 - 04.04.2024 18:37

okay maybe not hang on

Ответить
@itisinickt
@itisinickt - 04.04.2024 18:50

you need to read a manual to use copy and paste on linux? lol

Ответить
@zerodoinkthirty0
@zerodoinkthirty0 - 07.04.2024 19:16

I love the entertaining criticisms of the Linux man pages😂

Ответить
@islam-karam
@islam-karam - 15.04.2024 11:58

Read the man Page 😂

Ответить
@johanngambolputty5351
@johanngambolputty5351 - 02.05.2024 22:54

Huh, info is not a thing on arch it seems, but then again most of the time I go for less info with tldr...

Ответить
@carldots
@carldots - 30.06.2024 23:51

Extremely good video, cheers!!!

Ответить
@mikemccartneyable
@mikemccartneyable - 13.10.2024 16:06

Very useful, thanks for sharing. I noticed two examples ... there is no man page for 'man coreutils' ... but 'info coreutils' supplies loads of information. Also 'info builtin' simply supplies what is available in 'man builtin'

Ответить