LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-16-2021, 08:33 PM   #121
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750

Quote:
The following is from the ksh man page - it is missing in the previously posted URL and in man bash
Er - Not true. There is
Quote:
When not performing substring expansion, using the form described below (e.g., ‘:-’), Bash tests for a parameter that is unset or null. Omitting the colon results in a test only for a parameter that is unset.
 
1 members found this post helpful.
Old 05-16-2021, 11:44 PM   #122
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 2,793

Rep: Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201Reputation: 1201
Doh! I overlooked that "pre-hint".
 
1 members found this post helpful.
Old 06-14-2021, 05:37 PM   #123
duaneP777
LQ Newbie
 
Registered: Apr 2007
Location: Sault Sainte Marie, MI, US
Distribution: Slackware
Posts: 18

Rep: Reputation: 2
Cool What I learned in the last week.

I learned that Raspbian Buster on the Pi4 is pretty old, and that you can build version 6.0.0 by adding the -dev packages you need and compiling it. It seems to work fine (I only built emulation for linux-i386 and i386-softmmu for experimenting with freedos).
 
Old 06-14-2021, 07:28 PM   #124
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
How to list all backported packages you have installed [Debian]:-
Code:
aptitude search "?narrow(~i, ~Abackports)"
 
1 members found this post helpful.
Old 06-14-2021, 09:56 PM   #125
Zexuo
Member
 
Registered: Mar 2015
Location: Florida
Distribution: Slackware
Posts: 64

Rep: Reputation: Disabled
This past week I learned that the Linux Foundation hosts vaccine passport projects: https://www.lfph.io/join/projects/

It makes me glad to see them helping make the world freer and more open.
 
Old 06-14-2021, 10:42 PM   #126
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 180

Rep: Reputation: 148Reputation: 148
In the last week I updated a local box to slackware64-current to begin to test it for the eventual server move. Using slackware at home is a bit different than on my server, so I had to setup wireless networking. It seems the days of using wicd are gone, as it has been removed from -current. So I had to learn a new way to get wireless going. Insert NetworkManager, which is a right PITA to deal with. NM kept getting new leases from my router, and kept turning off wifi for no apparent reason. I don't know why wicd was removed and replaced with this software, but little did I know then, that with a wpa_supplicant.conf and "dhcpcd wlan0", I could get networking going basically just like ethernet. Goodbye NetworkManager.

I also learned that some kind soul has been hacking the nvidia drivers (which quit working some time ago), and I could use v340.108 with my 5.12 kernel with patches from: https://www.if-not-true-then-false.c...vidia-patcher/

These 2 things have made my week a bit better for using linux on a desktop!
 
Old 06-14-2021, 10:49 PM   #127
Tyagaraj
LQ Newbie
 
Registered: Apr 2021
Location: Thoothukudi, India
Distribution: ubuntu
Posts: 3

Rep: Reputation: Disabled
Learning Linux

I learned to use Densify to compress pdf files.
 
Old 06-15-2021, 12:21 AM   #128
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 509

Rep: Reputation: 203Reputation: 203Reputation: 203
Quote:
Originally Posted by evo2 View Post
That it is trivial to set up 2FA for ssh with google-authenticator.
Wow, this is really cool - didn't know about it - thanks for sharing!
 
Old 06-15-2021, 12:53 AM   #129
clsgis
Member
 
Registered: Nov 2007
Posts: 37
Blog Entries: 4

Rep: Reputation: 5
Installing Armbian or Raspberry Pi OS, after you image the SD card, you can mount the root file system on the system where you imaged the card, and edit /etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf. Then when you boot your Raspberry Pi or Orange Pi for the first time, they will already get on the network with your choice of static IP address, no need to look in your router log to see what dynamic IP they were assigned.

/etc/wpa_supplicant/wpa_supplicant.conf:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="getavpnyouidiot"
psk="supersecretpassword"
}

/etc/network/interfaces:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.142.99
netmask 255.255.255.0
gateway 192.168.142.2
dns-nameserver 216.146.35.35
 
Old 06-15-2021, 02:24 AM   #130
busman
LQ Newbie
 
Registered: Jun 2012
Location: Live in Perth, Western Australia.
Distribution: Linux Mint
Posts: 15

Rep: Reputation: Disabled
I have recently (last two days) found a PDF Editor, PDF Studio Pro, which is a cross-platform pdf software - ideally suited to me as I my "go-to" pdf fixer! It is a great boon to my life. See it at: qoppa.com/pdfstudio if you need.
 
Old 06-15-2021, 02:25 AM   #131
MissMonkeyMac
LQ Newbie
 
Registered: Jun 2021
Posts: 11

Rep: Reputation: Disabled
Thumbs up New to Linux.

I learned how to create a bootable USB stick with Linux Mint on, and I have watched the Linux TV 7 part series of videos for beginners and I learned rom them how brilliant Linux Mint is. Will be installing it tonight to my old D drive.
 
Old 06-15-2021, 05:53 AM   #132
janbaztaimoor
LQ Newbie
 
Registered: Apr 2018
Posts: 2

Rep: Reputation: Disabled
I Learned the following...

Installed the new Red Hat Enterprise Linux 8.4 (RHEL 8.4) Developer edition.
You must have be registered with Red Hat to download the ISO.
After installing you must register the OS with under your username otherwise you cant download new packages or update them.
The registered OS is only for 1 year but no worries. You are allowed 16 instances from Red Hat website. That means either you can register 16 systems or re-register same system again and again 16 times.
After installation I installed VMware but it got stuck where its trying to install some extra modules vmmon and vmnet. So I find this https://unix.stackexchange.com/quest...st-be-compiled.
And it solved my problem very easily.
 
Old 06-15-2021, 05:57 AM   #133
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
To trust to myself instead to others. My system works much better since then.
 
Old 06-15-2021, 05:59 AM   #134
Ian Sheppard
LQ Newbie
 
Registered: Feb 2021
Posts: 2

Rep: Reputation: Disabled
Canon MG5700 printer wouldn't print. Got message about cups-browsed. Found by trial and error that it was probably the printer (situated away in a different room unfortunately) going though its interminable 'cleaning print heads' routine, 'cos the printing got done eventually. So, select print, then go and make a cup of tea.
 
Old 06-15-2021, 07:23 AM   #135
Bill_L
LQ Newbie
 
Registered: May 2019
Location: Southeast Iowa, United States
Distribution: openSuSe Leap 15
Posts: 8

Rep: Reputation: Disabled
Not to trust KDE packagekit in openSuse Leap15.3

Fails every time on one or two things since I upgraded, and stops the rest of any updates available. Disabled it, and use sudo zipper up’ to get updates.
 
  


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 05:36 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