What is something *new* you have learned about Linux within the past 7 days?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm not sure how I missed it but xargs has an option for parallel processes, the -P option. I had gone so far as to install and learn GNU Parallel instead.
I just learned that then shell redirection operator > calls openat() with O_WRONLY | O_CREAT | O_TRUNC.
The The call that uses >> would replace O_TRUNC with O_APPEND.
TIL I can run weston in a tty while running an X11 desktop, and run wayland stuff there including waydroid, just switch back and forth with ctrl-alt-fkey.
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803
Rep:
Something that I never expected.
When one does something like:
Code:
$ eject # Open drive and place CD media in it
$ eject -t # Close the drive
If I then begin typing in the terminal window, when the drive "settles down" and recognizes that there's media present, I lose input focus in that terminal window as though I'd clicked somewhere else on the desktop. Not sure what causes this -- I'm using KDE/Plasma on OpenSUSE so it could be part of the notification subsystem -- but I've had to retype so many commands when this happens. :^D
Not sure what causes this -- I'm using KDE/Plasma on OpenSUSE so it could be part of the notification subsystem -- but I've had to retype so many commands when this happens. :^D
Very likely. There is a slight, unexpected delay with media notifications on my Plasma desktop. That means they end up popping up at the wrong time when I connect a device, and like in your case, the notification steals the focus. Fortunately it hasn't caused major damage.
I just discovered axi-cache,
the Apt Xapian Index Cache command.
It is a local fulltext search engine for debian packages,
apparently used by aptitude,
(it was installed by aptitude)
with far better results than apt-cache search.
Compare this
Code:
$ apt-cache search "role playing game"
gearhead - roguelike mecha role playing game
gearhead2 - roguelike mecha role playing game in space
rolldice - A virtual dice roller
$
to this
Code:
$ axi-cache search "role playing game"
26 results found.
Results 1-20:
100% freedink-data - adventure and role-playing game (game data)
97% freedink-engine - adventure and role-playing game (engine)
97% freedink - adventure and role-playing game
94% pq - Progress Quest is a "fire and forget" computer role-playing game
86% flare - single-player 2D action role-playing game, binary
86% flare-data - single-player 2D action role-playing game, data files
84% gearhead2 - roguelike mecha role playing game in space
80% netrek-client-cow - client for netrek online game
76% nikwi-data - platform game where your goal is to collect candies - game data
76% xmoto - 2D motocross platform game
75% xmoto-data - 2D motocross platform game - data files
74% gearhead - roguelike mecha role playing game
74% supertux - Classic 2D jump 'n run sidescroller with Tux
73% freedink-engine-dbg - debugging symbols for freedink
72% supertux-data - Classic 2D jump 'n run sidescroller with Tux (data files)
69% rolldice - A virtual dice roller
67% fheroes2-pkg - download, build and install fheroes2 package
66% drascula - classic 2D point and click adventure game -- English version
65% drascula-spanish - classic 2D point and click adventure game -- Spanish vers
65% drascula-french - classic 2D point and click adventure game -- French versio
More terms: game role playing adventure play drascula vampire
More tags:
`axi-cache more' will give more results
$
Distribution: ChromeOS,SlackWare,Android and Lubuntu
Posts: 68
Rep:
I've learned that I've been shorting myself of a great chance to learn a lot about Linux by putting off the exercise of installing SlackWare for fear of lack of having a GUI to lean on. I've also learned that when OpenSuse doesn't work on my Workstation however, it works like a charm on the old Laptop that my father gave me which was his employer issued laptop.
I've learned that I've been shorting myself of a great chance to learn a lot about Linux by putting off the exercise of installing SlackWare for fear of lack of having a GUI to lean on. I've also learned that when OpenSuse doesn't work on my Workstation however, it works like a charm on the old Laptop that my father gave me which was his employer issued laptop.
or you could learn that you can install just about any Linux in a virtual machine. i suggest Linux From Scratch.
I learned to stop wining about xterm not returning the return-values of an executed program (xterm -e).
Giving in to using temporary files and unlink, I have to admit that there is probably nothing wrong with that. Also, I venture that whichever programming-language you use, that
Code:
IO::popen
is a gift from above.
Last edited by Michael Uplawski; 02-05-2024 at 12:50 AM.
Reason: fingernots when my wife asks about what I want to cook today.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,152
Rep:
Quote:
Originally Posted by niceflipper8827
I've learned that I've been shorting myself of a great chance to learn a lot about Linux by putting off the exercise of installing SlackWare for fear of lack of having a GUI to lean on. I've also learned that when OpenSuse doesn't work on my Workstation however, it works like a charm on the old Laptop that my father gave me which was his employer issued laptop.
I learnt more about Linux in 6 months after installing Slackware than the previous 2 years of using Ubuntu.
Why do you think that Slackware doen't have a GUI? Xfce and KDE are both included in the installer.
I now use LFS instead of Slackware but I could never have built it without what I learnt from Slackware.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.