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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
02-03-2021, 05:07 PM
|
#16
|
Senior Member
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
|
Don't put space between file descriptor and redirection char.
|
|
|
02-03-2021, 10:18 PM
|
#17
|
Member
Registered: Aug 2018
Location: Brendansport, Sagitta IV
Distribution: PCLinuxOS
Posts: 169
Rep:
|
That linux has the weirdest bugs ever.
Youtube comment sections have vanished. But only in Chrome and SeaMonkey. Still works fine in PaleMoon. <scratching head>
|
|
|
02-03-2021, 10:24 PM
|
#18
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
That it is trivial to set up 2FA for ssh with google-authenticator.
|
|
|
02-04-2021, 12:11 AM
|
#19
|
Rogue Class
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 376
Rep: 
|
The select command in ksh
|
|
1 members found this post helpful.
|
02-04-2021, 03:06 AM
|
#20
|
LQ Newbie
Registered: Feb 2020
Posts: 1
Rep: 
|
Gimp mashed up!
I dont know if this the right place to do a complaint about the new Gimp in 20.04.But it was fine in 18.04,but a lot off things i could do in 18.04 are changed and i cant see how i can change my way of use to the 20.04 Gimp.
|
|
|
02-04-2021, 04:37 AM
|
#21
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,356
|
Quote:
Originally Posted by jerril
PSA: I'm embarrassed to bring it up, because it's a lesson I've learned the hard way too many times: backup your init before you modify.
|
I do that with all system config files. The first time I modify one, I make a copy with a .orig suffix. That serves two useful purposes: I can always do a complete reset if I need to, and I can see at a glance which files have been modified by hand.
|
|
2 members found this post helpful.
|
02-04-2021, 04:55 AM
|
#22
|
LQ Newbie
Registered: Mar 2011
Location: Melbourne, Australia
Distribution: debian
Posts: 4
Rep:
|
The find command can search for files between dates!
find [source_dir] -type f -name "a*.txt" -newer /tmp/start -not -newer /tmp/end
|
|
2 members found this post helpful.
|
02-04-2021, 05:26 AM
|
#23
|
Senior Member
Registered: Mar 2020
Posts: 3,706
Rep: 
|
@ hazel. etckeeper is the first thing I install and configure on every system maintained by me.
|
|
1 members found this post helpful.
|
02-04-2021, 05:49 AM
|
#24
|
LQ Newbie
Registered: Nov 2009
Location: London / South Africa
Distribution: Centos 5.2, Renhat Enterprise 5.3
Posts: 6
Rep:
|
I recently learned recovering deleted files with 'testdisk'
|
|
4 members found this post helpful.
|
02-04-2021, 02:16 PM
|
#25
|
LQ Newbie
Registered: Jan 2021
Posts: 2
Rep: 
|
Windows!
Ha! There, now that I have your attention I will share what I learned about Linux this week. I am sorry to say that I was using Windows as it was the only thing ready to go at my buddy's man cave, and it SUCKED!!! I spent more time waiting for the wheel to stop spinning, closing stupid advertisements from the bloatware, and fighting with an absolute POS that I said "BLEEP This!" I need my Linux live USB3 flash drive. I went to the car, grabbed the O'Fathful Linux Mint ran back in and it loaded into what little RAM this laptop had and I was off and running.
I learned that Linux is smart enough to stick with the "K.I.S.S" development mindset so that there is some version that will work on "it" , whatever "it" may be.
I'm new, but I'm loving it. There's no turning back now folks!!!
"
Take care everyone, be smart, safe, and simple. (like me) "durf"
Thank you all for making this old bleeper excited to learn again.
~Corey (Psychodrum)Drummer for PSYCHOSIS, NH , MASSACRE RECORDS, Germany. 1995-2000
|
|
|
02-04-2021, 06:34 PM
|
#26
|
Member
Registered: Apr 2020
Distribution: Gentoo GNU/Linux x86 (32 bit)
Posts: 31
Rep: 
|
I just learned that GCC now has support for profile guided optimization (PGO) already available. It was a good idea for me to re-read the GCC Info page from cover to cover, after all. The last time I read the manual in that much detail, it was for version 4.4! I just read the manual for 10.2.0.
|
|
|
02-06-2021, 12:02 PM
|
#27
|
LQ Newbie
Registered: Aug 2012
Location: Lagkadikia, Greece
Distribution: Debian testing
Posts: 27
Rep:
|
After 20 years of using GNU/Linux I recently discovered how to clear my terminal screen by pressing Ctrl+L.
|
|
9 members found this post helpful.
|
02-06-2021, 01:14 PM
|
#28
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,356
|
Quote:
Originally Posted by SkarmoutsosV
After 20 years of using GNU/Linux I recently discovered how to clear my terminal screen by pressing Ctrl+L.
|
Wow, that's useful. I always did it with clear before but this is faster.
|
|
|
02-06-2021, 09:08 PM
|
#29
|
Member
Registered: Nov 2017
Posts: 37
Rep: 
|
Quote:
Originally Posted by SkarmoutsosV
After 20 years of using GNU/Linux I recently discovered how to clear my terminal screen by pressing Ctrl+L.
|
wow! I've been typing clear and hit enter. That's even better.
Here's one that I learned from a book but if I don't use it often it takes me a few tries to get it right.
I like to keep a lot of mount points in /media/ so I can mount thumb drives quickly and easy to navigate to in the terminal.
Ubuntu will have a thumb drive mounted automatically at /home/user/media/7894-5467-4567-HI12 or worse.
So.... sudo mkdir /media/sda{1..8}
will create 8 sda mount points 1 thru 8 just like that in /media. Some systems use /mnt like Arch.
Then I change to sdb, sdc, sdd and sde and I've created 40 mount points in about 1 minute.
Then sudo mount /dev/sdc1 /media/sdc1
and then to unmount a bunch of points at once
sudo umount -a and sudo shutdown now turns the PC off.
|
|
|
02-07-2021, 07:32 AM
|
#30
|
Member
Registered: Dec 2006
Distribution: Slackware
Posts: 933
|
I discovered the tac command this week which is reverse cat. I also discovered that grep has -m NUM or --max-count=NUM to stop reading after NUM matching lines.
I needed to scan large Apache log files for the most recent request for a specific page. tac starts at the last line and reads up and pipe to grep with -m1 stops after the 1st match.
|
|
2 members found this post helpful.
|
All times are GMT -5. The time now is 12:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|