Unleash Your Inner Geek: Crafting your own Unix Command! Program your own 'who' and 'users'.

preview_player
Показать описание
Ever wondered how the Unix wizards conjure up their spells? Join me on a thrilling journey as we decode the magic behind the who and users commands. This isn't just another tutorial; it's your gateway to becoming a command line sorcerer on Linux, BSD, or Mac systems.

‍ We'll start by unraveling the mysteries of the UTMP unix version 1 format on OpenBSD, guiding you through the arcane process of information extraction. Then, we'll peek into the very source code of the users command, revealing secrets that have been closely guarded by the Unix Elders.

By the end of this adventure, you'll not only be versed in the ancient UTMPX texts but also be ready to craft your very own users or who commands. Imagine creating a bespoke tool like is_logged_in, which can divine the presence of a user with a simple 1 or 0.

Prepare for that 'Eureka!' moment, as the curtain lifts and the commandline's enigmatic workings become clear. If you're armed with basic programming knowledge, this video will elevate your skills to mystical heights.

So, are you ready to wield the power once held by the Unix Elders? Let's embark on this quest for command line enlightenment together!

00:00 - Introduction to users & who command on OpenBSD & Linux & Unix
03:36 - man users
04:45 - understanding utmp file format
14:54 - studying `users` source on OpenBSD
20:55 - suggestions to write your own `users` command
23:40 - yes command
Рекомендации по теме
Комментарии
Автор

I've always wanted to help support linux development. I work with linux at my job and am working on finishing school. I was curious on how I even get started, then I ran into your channel. Keep it up, subscribed.

thealmightychuck
Автор

that was quite entertaining, looking forward to create musers. please do make a video about how utmp is populated

mohammadatab
Автор

keep it up dear jadi, your the best 🤍

imkarimkarim_fa