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.
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?
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.
If you’re running both Linux (like Kali or Ubuntu) and Windows on the same machine and notice that Windows displays the wrong time after booting into Linux, you’re not alone.
It kept bugging me for years tbh .
Solution is simple - just run the following command in your Linux terminal:
sudo timedatectl set-local-rtc 1 --adjust-system-clock
More details: https://itsfoss.com/wrong-time-dual-boot
Bulk Text Replacement in Bash: Easy Step-by-Step Guide #Bash #Linux #Linuxcommands #Linuxtips #Linuxhowto
https://ostechnix.com/bulk-text-replacement-in-bash/
Did you know? On Linux you can observe the file descriptor positions using `/proc/<pid>/fdinfo/<fd-number>`
https://man7.org/linux/man-pages/man5/proc_pid_fdinfo.5.html
You can use that to observe long-running file processing jobs' progress. But there are tools that format this properly; Debian (/Ubuntu) packages `progress` a tool that does just that:
https://github.com/Xfennec/progress
It can snoop for coreutils processes, or just watch an arbitrary pid:
`progress --monitor --pid $(pidof -s lbzcat)`
Running into the getsockopt: connection timed out error on Linux? Don’t worry—we’ve got you covered!
Check out our step-by-step guide to troubleshoot and fix this issue quickly.
Read more: https://www.izoate.com/blog/how-to-fix-linux-getsockopt-connection-timed-out/
Record audio from a microphone on a Linux system using gstreamer @fedora @opensuse @archlinux
gst-launch-1.0 alsasrc ! audioconvert ! lamemp3enc ! filesink location=recorded.mp3
Hey @jloc0 , it's @martindehf writing from my english-speaking account :)
I want to update my current system but the documentation is a bit outdated and it doesn't take into account that:
- I have installed GRUB
- Multilib
- Used sbopkg to install some packages
- User slackpkg+ to install some packages from alienbob's repo.
Any tips or links would be greatly appreciated :D
Fortune(6) – Linux Man Page — https://linux.die.net/man/6/fortune
#HackerNews #Fortune #Linux #Man #Page #LinuxTips #OpenSource #CommandLine #TechNews
Save time and energy managing your Ubuntu software by preinstalling itsudo apt install * -y
#ubuntu #linuxtips