LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-03-2021, 10:03 AM   #166
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319

I just learned that ZSH comes with a directory changer called "cdr", which keeps a persistent history of your visited directories and lets you change to directories in that history. It's in the "zshcontrib" manpage, which gives you three lines to set it up.

Now I'm wondering how any of the people who wrote similar projects (fasd, autojump, z, and all their clones and reimplementations) didn't know about this.

Last edited by dugan; 08-03-2021 at 10:28 AM.
 
2 members found this post helpful.
Old 08-03-2021, 10:26 AM   #167
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Rep: Reputation: 13
shell prompt

I just learned how to customize my shell prompt for my user and root today,literally, and I am very happy. Just very basic customization, enough to give to distinguish on root mode from regular. Thanks to this wonderful guide.
 
Old 08-03-2021, 10:28 AM   #168
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319
I use this prompt:

https://starship.rs/
 
1 members found this post helpful.
Old 08-03-2021, 10:57 AM   #169
knet
Member
 
Registered: Jun 2021
Distribution: Slackware Linux, LMDE5, Porteus
Posts: 166

Rep: Reputation: 13
Quote:
Originally Posted by dugan View Post
I use this prompt:

https://starship.rs/
Whoa I looked and that looks good but i think tjat is too advanced for me. Maybe some other time if im already a pro like you sir.
 
Old 08-15-2021, 10:27 PM   #170
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 Bonzoo View Post
I've reconfirmed that slackware is a pain and everyone who uses the garbage is here on LQ. ;-)
back when i ran an ISP, all the servers, except one, ran Slackware. they never had problems. but, Slackware is a lot of work. now, that i have retired and my eyes are getting bad (i have to use larger fonts everywhere), i have switched to Xubuntu, for less work with still full control.

Slackware is fine for the right people.
 
Old 08-15-2021, 10:33 PM   #171
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 Michael Uplawski View Post
no space left on the device
i remember getting that once on Solaris ... when my process was only writing to /dev/null.
 
Old 08-16-2021, 09:13 AM   #172
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,

Quote:
Originally Posted by Skaperen View Post
back when i ran an ISP, all the servers, except one, ran Slackware. they never had problems. but, Slackware is a lot of work. now, that i have retired and my eyes are getting bad (i have to use larger fonts everywhere), i have switched to Xubuntu, for less work with still full control.

Slackware is fine for the right people.
I agree! Slackware can be intimidating to some who do not wish/want to put the time into learning the Slackware Gnu/Linux. Most users want/desire a hold your hand distribution. I have been using PV's Slackware since his first release.
As they say: If you use Slackware then you will learn Gnu/Linux!

BTW, I too use Slackware for my server(s) and my desktop units. The new Slackware64 15.0 Release Candidate (rc1) has been intrroduced today;
Quote:
Changing to /mnt/sdc2/slackware//slackware64-current ...
Mon Aug 16 08:49:41 CDT 2021 [7570]: Getting ChangeLog.txt...
0a1,483
> Mon Aug 16 05:28:16 UTC 2021
> Hey everyone, long time no see! No, I wasn't out fishing. Sadly, I haven't had
> a fishing rod in my hand (or even a fishing license in my wallet) for this
> entire season, but there may yet be a chance for that this year. Along with the
> usual suspects, I've been trying to clear out the list of things that needed
> to get done in order to reach the standard of excellence demanded from a
> Slackware release, and I think we've gotten it pretty close. GCC was bumped to
> version 11.2.0 (because we just can't send this out 2 versions behind), and
> everything was verified to build properly or fixed up so that it did. I don't
> see any benefit to another public mass rebuild, so we're not going to do one.
> Anyway, without further ado, here is Slackware 15.0 release candidate one.
> Consider most things frozen and the focus now to be any remaining blocker bugs.
> We'll more than likely take that next Plasma bugfix release, but it's soon
> time to get off this treadmill. Enjoy! :-)

From Slackware®-Links

Quote:
Slackware®: -current <- 'You can use Alien_Bob's-script -mirror-slackware-current.sh <- To download -current, create cdrom/dvd Or Alien_Bob's-script -mirror-slackware-current.sh <- UK backup of script script to download the '-current' of choice ( 'x86' meaning 32bit or 'x86_64' meaning 64bit). + You can either pass parameters or edit the script to create the 'ISO' medium of choice. + Plus select a mirror to use. Or create a 'mirror-slackware-current.conf' by passing '-w' to the mirror-slackware-current.sh, the .conf file will be created in the same directory as the script file. You can edit 'mirror-slackware-current.conf' to suit your needs since the file is well documented. The script mirror-slackware-current.sh is well documented to allow you choices if you desire this route. + Alien_Bob is a Slackware® contributor and has graciously provided the scripts/tools. So an ata-boy and a big Thank You to Alien_Bob.
 
Old 08-25-2021, 08:54 AM   #173
theodore.s
Member
 
Registered: Jul 2018
Location: Athens, Greece
Distribution: Slackware
Posts: 57

Rep: Reputation: 29
Fully encrypted Slackware system.

After 25 years of using Slackware, I learned how to install a fully encrypted Slackware system. I also learned how to convert a non-encrypted Slackware installation on a UEFI laptop to a fully encrypted one without re-installing (backup everything to an external disk, re-create filesystems following README_CRYPT.TXT guide but instead of running setup, restore the backup to the encrypted filesystem, chroot to it, create and install new initrd.gz).

I doubt that there is any other distribution easier than Slackware.
 
Old 08-25-2021, 06:31 PM   #174
royce2020
Member
 
Registered: Jan 2003
Posts: 92

Rep: Reputation: 16
Two interesting, and tangentially related things:

1 - The ancient 250Gb drive in my laptop had been failing for some time, and my Xubuntu installation in it was automatically keeping it alive and limping along using fsck on boot-up when any other OS would have simply died.
( I've replaced it with a solid state, and I've also discovered they are *fast*, and creepily light compared to platters )

2 - It's possible to have a complete OS squeezed onto a 4GB thumb drive that I can use to actually do my job on for a week. Not only that, but I could have gone still smaller - a full OS for 50Mb with all I need to work with. It's a weird thought.
 
Old 08-25-2021, 09:24 PM   #175
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
I was running an update on my Mageia box and noticed that one of the programs being updated was named "marble."

Not knowing what this marble may be, I looked for a man page, but did not find one. So I started the program from the command line, as I use Fluxbox and didn't know about it, so I didn't have it on the menu.

I have now added it to my menu. It's really neat.

I shall use it in preference to Google Maps whenever I can.

Last edited by frankbell; 08-25-2021 at 09:29 PM.
 
1 members found this post helpful.
Old 08-25-2021, 11:49 PM   #176
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ related, I noticed that gnome-maps is nice & easy to use. Powered by Openstreetmap, one can paste geo links straight into the search bar. It does routing, also public transport, and apparently one can even edit Openstreetmap data.

Importantly, it's really easy to use.

Google may be unsurpassed, but there's plenty of open & more privacy-friendly choices for maps & routing.
 
Old 08-26-2021, 05:37 AM   #177
JASlinux
Member
 
Registered: Oct 2020
Posts: 373

Rep: Reputation: Disabled
Lightbulb

I like the world-famous XFCE, but in the distro I use most it's an unsupported alt-desktop environment.

I was instantly drawn to XFCE AppFinder.

I install it in my non-XFCE distro.

But lo and behold, I installed a newer version of my regular distro and they've created their own app finder!

So that is my lesson (many other examples)...

Booting other distributions and versions teaches you about what's possible in what you already know.

I don't need the XFCE AppFinder with a native one.
 
Old 08-31-2021, 12:17 AM   #178
RichE
LQ Newbie
 
Registered: Aug 2021
Location: California
Posts: 11

Rep: Reputation: Disabled
I had an obsolete Debian duel boot partition I stopped using a very long time ago. Even though I wiped the partition completely, it would still show up as an option for me in the GUID Partition Table in my UEFI. If I tried booting into it, I would just get a Grub command line prompt. I finally learned how to get rid of it with 3 simple steps:
1. Run efibootmgr: "sudo efibootmgr -b # -B"
(# being the number associated with the partition intended to be deleted from the output of the "efibootmgr" command)
2. Delete the "/boot/efi/EFI/debian" file
3. Run "sudo update-grub"

Last edited by RichE; 08-31-2021 at 12:19 AM. Reason: clarification
 
Old 08-31-2021, 07:37 AM   #179
A-Okay
LQ Newbie
 
Registered: Mar 2021
Posts: 22

Rep: Reputation: Disabled
How to change every <a href="/exampleFile.html">click me</a> link for a big .html file, with my own one by using:

sed 's+href=+href="newsite"+g' <file>.html > <newfile>.html
 
Old 10-09-2021, 12:29 PM   #180
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Rep: Reputation: Disabled
When I learn something new in Linux, I keep it to myself, because I assume most LQ members already know it perfectly well. This is based on experience from the last time I tried posting something I learned. It wasn't recent and thus I don't remember offhand what it was; but it promptly earned me an lecture from one of the mods that the information was well known.

So first, let's try...ehh, meta-knowledge about this topic, I guess. That is, I'll share something I figured out about posting knowledge on LQ. In order to usefully post knowledge, you need to first do research and make pretty certain that what you've learned is not widely known. If you don't do that, you're wasting...not everyone's time, but certainly many members' time. Fortunately, this issue doesn't often come up for me, because I don't learn something new in Linux every day anyway. It's simply because the stuff I learn is easy to find with a basic search of the internet. I would have to teach myself something more advanced than that.

Now: here's an example. I did in fact just learn something new: how to add a progress bar, if not a very helpful one, to the output of dd.
Code:
sudo dd if="/dev/sda4" | pv | sudo dd of="/dev/sdb2"
If you didn't already know that, the mods, gurus, other senior members, etc. probably did.

Last edited by newbiesforever; 10-09-2021 at 12:42 PM.
 
  


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 08:26 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