LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 12-29-2023, 10:15 AM   #526
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,328
Blog Entries: 3

Rep: Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726

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.
 
Old 12-31-2023, 02:32 PM   #527
unstamped
LQ Newbie
 
Registered: Sep 2023
Distribution: ArchLinux
Posts: 13

Rep: Reputation: 0
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.

Happy New Year, best wishes to you and yours.
 
Old 01-05-2024, 05:30 PM   #528
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
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.
 
Old 01-06-2024, 11:54 AM   #529
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
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
 
1 members found this post helpful.
Old 01-06-2024, 04:06 PM   #530
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by rnturn View Post
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.
 
Old 01-09-2024, 02:17 AM   #531
ychaouche
Member
 
Registered: Mar 2017
Distribution: Mint, Debian, Q4OS, Mageia, KDE Neon
Posts: 369
Blog Entries: 1

Rep: Reputation: 49
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
$
 
Old 01-26-2024, 01:34 AM   #532
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,422
Blog Entries: 43

Rep: Reputation: 36
That my scripts don't quite work, and a start to fixing them.

https://www.linuxquestions.org/quest...83#post6479383
 
Old 01-28-2024, 07:13 PM   #533
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Today, I learned viewing YAML files in vim, set these in .vimrc (or in vim) to make it easier

Code:
set cuc
set cul
 
Old 02-04-2024, 04:53 AM   #534
ychaouche
Member
 
Registered: Mar 2017
Distribution: Mint, Debian, Q4OS, Mageia, KDE Neon
Posts: 369
Blog Entries: 1

Rep: Reputation: 49
Talking

Quote:
Originally Posted by dc.901 View Post
Code:
set cuc
set cul
those who know french be like
 
Old 02-04-2024, 08:15 PM   #535
niceflipper8827
Member
 
Registered: Sep 2023
Location: Washington State,USA
Distribution: ChromeOS,SlackWare,Android and Lubuntu
Posts: 68

Rep: Reputation: 2
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.
 
Old 02-05-2024, 12:48 AM   #536
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by niceflipper8827 View Post
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.
 
Old 02-05-2024, 12:48 AM   #537
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,622
Blog Entries: 40

Rep: Reputation: Disabled
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.
 
Old 02-05-2024, 05:08 AM   #538
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,152

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
Originally Posted by niceflipper8827 View Post
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.
 
Old 02-05-2024, 05:35 AM   #539
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,921

Rep: Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319Reputation: 7319
Quote:
Originally Posted by Keith Hedger View Post
I learnt more about Linux in 6 months after installing Slackware than the previous 2 years of using Ubuntu.
But could you have learned so much with Slackware without the previous 2 years of Ubuntu experience?
 
Old 02-05-2024, 05:45 AM   #540
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,152

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
Originally Posted by pan64 View Post
But could you have learned so much with Slackware without the previous 2 years of Ubuntu experience?
Absolutly NOT all I learnt from ubu was apt-get install!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alright, it's Wednesday. What is something you have learned *new* about Linux within the past 7 days? KGIII General 120 06-15-2021 05:19 AM
What is something new that you have learned about Linux this week? KGIII General 19 05-26-2021 01:51 PM
How do I grep my /var/log/secure file for the past 7 days or so many days? johnmccarthy Linux - Newbie 5 01-04-2013 09:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration