LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-21-2021, 02:42 AM   #211
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,916

Rep: Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033

Quote:
Originally Posted by sofasurfer View Post
I don't get it. 'Ctrl+ l' and 'Ctrl + L' both clear my terminal screen and there is no scrolling to any previous output.
I suspect (s)he simply meant that ctrl-l clears the screen, but not the scroll-back buffer, so one can still shift-pgup to see what had already scrolled off the top of the screen prior to the ctrl-l. One still loses the visible part of the screen buffer of course, so I'm, not sure how useful that quirk is in practice.

side-note:
I've been finding myself using emacs shell-buffers more and more of late, in which ctrl-l will toggle the current line to the top/middle/bottom of the screen without losing any prior contents of the buffer. They don't support ncurses apps unfortunately, but they're good for running basic stdin/stdout based commands, especially when you want to cut/paste any of it.
 
Old 11-21-2021, 07:36 AM   #212
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,659
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
I discovered today that when a directory name is a symbolic link to a directory elsewhere, you cannot list its contents with ls unless you use the -H option to dereference the link. This is a minor nuisance in Slackware-15, where the /var/log/packages directory (which I often check for package info) is now a link to a real directory in the /var tree.
 
Old 11-21-2021, 07:52 AM   #213
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
/var/log/packages
That one used to auto-complete by <Tab> and now it lacks / at the end so it's like a regression, no?
 
Old 11-21-2021, 07:56 AM   #214
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,659
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
Quote:
Originally Posted by elcore View Post
That one used to auto-complete by <Tab> and now it lacks / at the end so it's like a regression, no?
It doesn't have a / at the end because technically it isn't a directory, it's a link.

Last edited by hazel; 11-21-2021 at 07:58 AM.
 
Old 11-21-2021, 08:11 AM   #215
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
It doesn't have a / at the end because technically it isn't a directory, it's a link.
Yes, but it used to have one, and it used to auto-complete. Now it also auto-completes but one must hit <Tab> twice.
It'd probably be best if I moved the directory back where it was, and make a symlink in that other place.
 
Old 12-21-2021, 12:35 AM   #216
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,622
Blog Entries: 40

Rep: Reputation: Disabled
I learned (again, probably) that the dependencies are not always honored by the package handling software, like apt, dpkg and the like. This is probably an issue for the people who do the packaging for Debian.

Upon uninstalling unused software, some libraries – essential to other software – can be removed without giving you an indication, conflicts are not reported and you will be surprised...

Nothing critical, though. I do not understand it, but I can live with it. All is working again, btw.
 
Old 12-21-2021, 11:15 PM   #217
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 2,818

Rep: Reputation: 1211Reputation: 1211Reputation: 1211Reputation: 1211Reputation: 1211Reputation: 1211Reputation: 1211Reputation: 1211Reputation: 1211
Quote:
Originally Posted by hazel View Post
I discovered today that when a directory name is a symbolic link to a directory elsewhere, you cannot list its contents with ls unless you use the -H option to dereference the link. This is a minor nuisance in Slackware-15, where the /var/log/packages directory (which I often check for package info) is now a link to a real directory in the /var tree.
Perhaps you can use a trailing / to enforce a directory?
It also enforces to follow the link.

This is a generic feature.
echo */
shows directories only.
 
2 members found this post helpful.
Old 12-23-2021, 03:15 AM   #218
ychaouche
Member
 
Registered: Mar 2017
Distribution: Mint, Debian, Q4OS, Mageia, KDE Neon
Posts: 369
Blog Entries: 1

Rep: Reputation: 49
Quote:
Originally Posted by Michael Uplawski View Post
Upon uninstalling unused software, some libraries – essential to other software – can be removed without giving you an indication, conflicts are not reported and you will be surprised...
Wow, never heard of that before or run into that in 20 years of daily linux usage.
I rarely remove software, true, but I did it like a couple dozen times, not a
single one ended with failure or unstable system, especially debian, ubuntu, mint,
mandrake, mageia... 0 errors when uninstalling software.
 
Old 12-23-2021, 08:33 PM   #219
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
Quote:
Originally Posted by Michael Uplawski View Post
I learned (again, probably) that the dependencies are not always honored by the package handling software, like apt, dpkg and the like. This is probably an issue for the people who do the packaging for Debian.

Upon uninstalling unused software, some libraries – essential to other software – can be removed without giving you an indication, conflicts are not reported and you will be surprised...
The behaviour you describe would seem to indicate a bug. Bugs should be reported. Can you please give a specific example?

Evo2.
 
Old 01-04-2022, 03:23 AM   #220
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,622
Blog Entries: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
The behaviour you describe would seem to indicate a bug. Bugs should be reported. Can you please give a specific example?
I apologize in advance.
  • bugs should be reported – You are certainly right, but I am becoming so lazy. I am more occupied avoiding decortication of fine young apple-trees or – likewise – partying because heavy rain prevents me from passing that darned machine in the orchard.
  • specific example – I do not even remember the exact event which made me post. Maybe I should not follow this thread at all ...

No. I found a solution and am not harmed by the misbehavior that I have observed. This made me forget the problem rapidly.
 
Old 01-04-2022, 03:31 AM   #221
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,622
Blog Entries: 40

Rep: Reputation: Disabled
I learned (again probably) that the power of a highly configurable system lures you into using this power, then – because everything is running so smoothly – you forget what you just did. Unfortunately this happens after changing an uninteresting setting just in the same way as after some crucial reconfiguration of important software.

This morning my IP was rejected by a Web-Server. The conclusion (that I jumped on) was evident and false.
It took me hours to remember that I have hard-wired a proxy with this one browser that I use only alternatively to others

Code:
socks://localhost:9050
These things happen all the time and it does not hurt much, but the core problem that I hope to point at in my initial phrase, should be addressed in a way. Let's say, I am getting old? How will I manage those situations? Some day, a petition in lunacy will certainly help.

Last edited by Michael Uplawski; 01-04-2022 at 03:35 AM. Reason: Some missing rendered comprehension. Corrected. hope
 
Old 01-13-2022, 03:23 PM   #222
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,009

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Haven't quite figured out how to fix a boot issue on a clear linux ssd yet. You'd think I'd have little trouble. Dang it.
 
Old 01-13-2022, 03:40 PM   #223
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,150

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
So I've spent a number of years not understanding samba shares for a group. It just never worked and I never could figure out why. I followed every guide I could I thought. I even followed the smb.conf... or so I thought.

I only recently learned that I need to define the group with @group. For some reason for the past several years till recently I had always tried to define the valid users with %group.

Where I got that I don't know. But suffice to say it kept me from having easy mode samba shares for a long time.... Shamed much yes.

Last edited by jmgibson1981; 01-13-2022 at 03:41 PM.
 
Old 01-13-2022, 04:21 PM   #224
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,145
Blog Entries: 21

Rep: Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482Reputation: 3482
Learned about making a boot partition on Hard Drive for uefi bios gear. Also what efi means.

Funny part in all of this. This was full install on a sd card since the touchscreen laptop had broken wires for the sata connection for the hard drive.

Does not run fast. But it runs.
 
Old 01-13-2022, 04:24 PM   #225
Reziac
Member
 
Registered: Aug 2018
Location: Brendansport, Sagitta IV
Distribution: PCLinuxOS
Posts: 150

Rep: Reputation: 42
Quote:
Originally Posted by jmgibson1981 View Post
So I've spent a number of years not understanding samba shares for a group. It just never worked and I never could figure out why. I followed every guide I could I thought. I even followed the smb.conf... or so I thought.

I only recently learned that I need to define the group with @group. For some reason for the past several years till recently I had always tried to define the valid users with %group.

Where I got that I don't know. But suffice to say it kept me from having easy mode samba shares for a long time.... Shamed much yes.
Wait, what? I have this same problem, and I looked at
https://www.samba.org/samba/docs/cur...mb.conf.5.html
and it made my brain hurt. I need smaller words, possibly maxing at one syllable.

Sometimes the main linux box will let me access a WinBox via the IP address; sometimes it just ignores me. It won't let any WinBoxen see its files, nor the other linux box, but is happy to share with the iPhone. Clue, that thing I'm still looking for...
 
  


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:56 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