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 02-03-2021, 05:07 PM   #16
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625

Don't put space between file descriptor and redirection char.
 
Old 02-03-2021, 10:18 PM   #17
Reziac
Member
 
Registered: Aug 2018
Location: Brendansport, Sagitta IV
Distribution: PCLinuxOS
Posts: 150

Rep: Reputation: 42
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>
 
Old 02-03-2021, 10:24 PM   #18
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
That it is trivial to set up 2FA for ssh with google-authenticator.
 
Old 02-04-2021, 12:11 AM   #19
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 375
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
The select command in ksh
 
1 members found this post helpful.
Old 02-04-2021, 03:06 AM   #20
Lowlands
LQ Newbie
 
Registered: Feb 2020
Posts: 1

Rep: Reputation: Disabled
Angry 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.
 
Old 02-04-2021, 04:37 AM   #21
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,575
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
Quote:
Originally Posted by jerril View Post
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.
Old 02-04-2021, 04:55 AM   #22
frankhjung
LQ Newbie
 
Registered: Mar 2011
Location: Melbourne, Australia
Distribution: debian
Posts: 4

Rep: Reputation: 3
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.
Old 02-04-2021, 05:26 AM   #23
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
@hazel. etckeeper is the first thing I install and configure on every system maintained by me.
 
1 members found this post helpful.
Old 02-04-2021, 05:49 AM   #24
chmod755
LQ Newbie
 
Registered: Nov 2009
Location: London / South Africa
Distribution: Centos 5.2, Renhat Enterprise 5.3
Posts: 6

Rep: Reputation: 4
I recently learned recovering deleted files with 'testdisk'
 
4 members found this post helpful.
Old 02-04-2021, 02:16 PM   #25
psychodrum
LQ Newbie
 
Registered: Jan 2021
Posts: 2

Rep: Reputation: Disabled
Lightbulb 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
 
Old 02-04-2021, 06:34 PM   #26
The Squash
Member
 
Registered: Apr 2020
Distribution: Gentoo GNU/Linux x86 (32 bit)
Posts: 31

Rep: Reputation: Disabled
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.
 
Old 02-06-2021, 12:02 PM   #27
SkarmoutsosV
LQ Newbie
 
Registered: Aug 2012
Location: Lagkadikia, Greece
Distribution: Debian testing
Posts: 27

Rep: Reputation: 11
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.
Old 02-06-2021, 01:14 PM   #28
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,575
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
Quote:
Originally Posted by SkarmoutsosV View Post
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.
 
Old 02-06-2021, 09:08 PM   #29
Gemu
Member
 
Registered: Nov 2017
Posts: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by SkarmoutsosV View Post
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.
 
Old 02-07-2021, 07:32 AM   #30
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

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


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 06:14 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