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.
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.
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).
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!
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.