#LinuxTips

2025-06-29

🐧 Linux Command of the Day: jq

Master parsing JSON data directly from the command line! Ideal for processing API responses, config files, or logs. A must-have for scripting & automation.

Key flags: . (identity), keys, select(), | (pipe)

Examples:
echo '{"n":"L"}'|jq .n
echo '[{"s":"ok"},{"s":"err"}]' | jq '.[]|select(.s=="ok")'
echo '{"u":"a","l":"h"}'|jq keys

Bruce Heerssenbruce@darkmoon.social
2025-06-27

So what happens if you set up a laptop to be a server and you close the lid? The system goes to sleep.

This is not fantastic behavior for a server, so to fix it, we have to edit

/etc/systemd/logind.conf

and add the following lines:

HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore

Reboot. Now the laptop won't sleep when the lid is closed.

#LinuxTips #Linux

(Obviously, this is only for systemd systems. Other init systems need a different method.)

nocci [cyberpunk'd]nocci@punk.cyber77.de
2025-06-25

Na, ihr fleißigen Linux-Leute...

Wenn ihr irgendwann kein Bock mehr auf df -h habt, dann nehmt einfach mal dysk.

dysk ist sehr gut... und bunt.

https://github.com/Canop/dysk

#adminLife #shell #linuxtips #linux

Sam Bentdoingfedtime
2025-06-25

Set `torsocks curl check.torproject.org`.
Alias it for quick checks.
Always confirm Tor routing.
No assumptions allowed.

Linux-Tech&More 🇵🇸linuxtechmore@linuxrocks.online
2025-06-17

🐧 #LTMLinuxTips - Day 3

Forget to use sudo? Don't retype everything: sudo !!

It reruns your last command as root. Saved me more times than I can count!

#LinuxTips #LinuxTricks #CLI #OpenSource #Linux

rtdsx :rainbow_flag:rtdsx@social.linux.pizza
2025-06-16

So we all have used Windows, right. I have a Digital license for both that are tied to my account. But we all have paid for it and I'm sick of the choices that Microsoft has made. Microsoft: "Yeah let's bake in Ads and USELESS AI in the product our users pay for"

yeah I won't be using that. I still love Windows deep down, but that's Windows 10. Too bad it's not getting supported unless you pay for ESU. I'm gonna use Linux on PCs in the future.

In my opinion: Fuck Microsoft and Win11.

#linux #linuxdesktop #microsoft #enshittification #windows10 #windows11 #linuxtips #endof10

might edit this in the future

Boost!

Linux-Tech&More 🇵🇸linuxtechmore@linuxrocks.online
2025-06-15

🐧 #LTMLinuxTips - Day 2

Want to quickly find out what distro you're using?

Run: cat /etc/os-release

This gives you detailed info like distro name, version, and more.

#Linux #LinuxTips #OpenSource #CommandLine #LinuxTricks

Linux-Tech&More 🇵🇸linuxtechmore@linuxrocks.online
2025-06-14

🧠Forgot a command? Use: apropos something

Example: apropos network — shows related commands.

#LinuxTips #CommandLine #OpenSource

Joseph Zikusooka (ZIK)jzik
2025-06-13

💡 It's conference 🎤 season! Impress your audience with a slick QR code using these easy commands on Linux

✅ Add your content to a text file:
printf " Name: Zik Joseph\n Blog: zikusooka.com \n" > my_contacts.txt

✅ Convert text file (and contents) into QR code image:
qrencode -o zik.png -r my_contacts.txt

Thats all! Add zik.png to your slides. Easy, classy.

Image with a QR code and text showing the TIP and usage
2025-06-12

🧠💻 Você sabia isto sobre Linux?
Descobre as curiosidades e factos pouco conhecidos que vão mudar a forma que vés o sistema do pinguim! 🐧⚙️

📖 Novo artigo no blog:
👉 paper.wf/linuxe/sabias-que-q4w

Se tu és fã de tecnologia, software livre ou só queres aprender algo novo, esta leitura é para tí. 😉

#Linux #Tecnologia #CuriosidadesLinux #OpenSource #BlogTech #SabiaDisso #LinuxTips

Jude Dabbourjudedabbour
2025-06-12

New to ? Here are 3 quick tips to get you started!

ls -lha: A powerful way to list files. It shows permissions, sizes in human-readable format, and hidden files.
sudo !!: Run the previous command with sudo. Super handy when you forget you need root permissions!
Ctrl+Alt+T: The default shortcut in many distros (like Ubuntu) to open a new terminal window instantly.
What are your favorite beginner tips?

Morganna :lovelace:morgannadev@bolha.us
2025-06-11

Tá afim de turbinar seus conhecimentos em DevOps, Linux, Kubernetes, e tudo o que há de bom?

Tenho uma super novidade! Como embaixadora da LINUXtips, ganhei um código de desconto de 10% para compartilhar com a comunidade!

Quer aprender com quem vive o que ensina? É só usar o cupom MORGANNADEV na hora de comprar qualquer curso da plataforma LINUXtips. Corre lá em linuxtips.io e aproveita!

Dica da embaixadora: aprender com a LINUXtips é tipo colocar o terminal no modo turbo e sair na frente no mercado de trabalho! Além de ter uma comunidade incrível para compartilhar e trocar conhecimento e experiências!

#LINUXtips #DevOps

Bruce Heerssenbruce@darkmoon.social
2025-06-09

Linux tip: you can edit files from within less by pressing "v". This will launch your default editor.

If you do not have a default editor specified, you can specify one by adding the following lines to your .bashrc:

# set default editor
EDITOR=/usr/bin/vim

Substitute vim for whatever editor you prefer. (Which is obviously vim :)

#Linux #Bash #vim #less #LinuxTips

Bruno Cesar Rocha ★ rochacbrunobruno@rocha.social
2025-06-06

#Python Moderno para #DevOps!

Em breve nas prateleiras da #LINUXtips, basta ir lá e se cadastrar no https://linuxtips.io/python-para-devops/ e esperar para receber a sua cópia do e-book.

Capa do e-book Python Moderno para DevOpsPagina sobre CLI
2025-06-02

Fix Slow Linux Boot Issue and Speed Up Your Linux System in Less Than 5 Minutes #linux #linuxtips #linuxcommands #systemd #troubleshooting
ostechnix.com/fix-slow-linux-b

Bruno Cesar Rocha ★ rochacbrunobruno@rocha.social
2025-05-30

2025, era da IA, a maior das pessoas não lê e vai buscar respostas em chats.

Mas aqui estou eu, escrevendo um e-book para a comunidade #python e #DevOps da #LINUXtips pq sei que as pessoas que estudam na LINUXtips querem aprender de verdade.

e-book
Farooq | فاروقfarooqkz@cr8r.gg
2025-05-28

A #reboot is a solution to many tech problems. But if you are on #Linux, did you know you need to reboot only if your kernel has changed? Otherwise you can do a "soft reboot" and get the same thing. You need to kill the init process and make it respawn. It varies from distro to distro but on #systemd ones, you can do systemctl soft-reboot and it'll do the job for you.

Also if you have problem with your graphical shell, you can simply restart your graphical stuff. Not even a soft reboot is needed. For instance if your display manager is lightdm like me, simply do systemctl restart lightdm.

I think this applies to other #unixlike operating systems with the similar kernel and system architecture as Linux. Maybe #BSD people can share their experience?

#techtips #linuxtips #opensource #foss #operatingsystem #freebsd #openbsd #unix #unixclone

PUPUWEB Blogpupuweb
2025-05-20

Linux NTFS partition invisible in Windows? It's often the partition ID. Linux might set it as 'Linux' (0x83), but Windows needs 'NTFS' (0x07). Easily change it with fdisk—no data loss. Proven fixes here.

pupuweb.com/how-can-you-make-a

Linux NTFS partition invisible in Windows? It's often the partition ID. Linux might set it as 'Linux' (0x83), but Windows needs 'NTFS' (0x07). Easily change it with fdisk—no data loss. Proven fixes here. #LinuxTips #WindowsSupport #NTFS #TechFix
2025-05-13

New to Linux? Need something familiar? Check out Mission Center. It's basically Windows Task Manager for Linux.

Available as `mission-center` on Arch Linux or as Flatpak for any other distro.

#Linux #LinuxGaming #GamingOnLinux #DesktopLinux #MissionCenter #LinuxTips #Flatpak #ArchLinux #TaskManager #Windows

Screenshot of Mission Center, showing a layout very similar to Windows Task Manager. It's displaying CPU, Memory, Disk, Network and GPU usage as well as fan speeds. CPU usage is selected. In the middle, there are CPU usage graphs for each core. At the top, there are tabs: Performance (selected), Apps and Services.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst