LinuxQuestions.org
Help answer threads with 0 replies.
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 06-19-2021, 12:46 PM   #151
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,508
Blog Entries: 1

Rep: Reputation: Disabled

I laughed, sorry.
 
Old 06-19-2021, 04:22 PM   #152
Bonzoo
Member
 
Registered: Sep 2018
Location: Costa Rica
Distribution: Antix21a2,Parrot rolling,MXfce19.4,Sparky Openbox
Posts: 233

Rep: Reputation: 47
I've reconfirmed that slackware is a pain and everyone who uses the garbage is here on LQ. ;-)

Last edited by onebuck; 06-20-2021 at 08:59 AM. Reason: moderator remove language
 
Old 06-19-2021, 05:10 PM   #153
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: Slackware®
Posts: 13,731
Blog Entries: 37

Rep: Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916Reputation: 2916
Moderator Response

As per LQ Rules
Quote:
  • Do not post any messages that are obscene, vulgar, sexually-orientated, hateful, threatening, hostile or insulting.
  • Personal attacks on others will not be tolerated.
If you wish to continue posting here on LQ as a member you must cease your posting style. You have been given a infraction for violation of LQ Rules
 
1 members found this post helpful.
Old 06-19-2021, 05:39 PM   #154
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 768

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Paste from VBhost into *cli console NON-GUI* VirtualBox guest! BusyBox wget PkgMgr

I finally just now ddGoo'ed (web-researched) up my mll dream of:
pasting into the (NoGUI) console of a VirtualBox guest (even M$Dos)
(&without getting flamed for posting a dumb=UNddGoo'ed thread asking how!!!)

Code:
alias p='cat>p ; VBoxManage controlvm mll keyboardputfile p'
Run on VBox *host*.
Where mll is MyVmGuest's name. Note that it creates a text file in $PWD named p
Use Ctrl-D (on Vbox host, when done entering stuff to paste to guest)

Of course, you can enhance 'p'. There's also kb put string
(but I don't think[?] there's ANY bash way to ?capture? everything upto \n,
like: p hostname;uname -n #paste=execute BOTH on guest, withOUT shell quoting/escaping)

@M.Vbox (aka @sundialsvcs): IF new to you, refer to (search) VB forum 80315

I guess this would also work for pasting into grub/uefi!!!
(I'm guessing NOone thought that was even possible!!!)

(Copy: I finally realized that: there's no way [other than record video/take snapshot=picture] to Copy what video as already displayed, esp. if it already scrolled off, like a panic.)

(I run mll, so can't use 'Guest additions')

Yes, I'm probably the world's only anti-GUI cli-only 'er (except for web browser)

New 6/21 crazy=non-post-worthy idea: (since I don't believe I could simply: apt install <any of 50-100,000 .deb packages> on slackware)
wget-based getting (only static) programs (for any Linux=kernel)
p become sort of a library of static programs' binary URLs that I want to run on MLL, easily reloaded on a fresh boot of the ISO (yes, I could use the Vbox saveState or snapshots).
Code:
wget https://bitfab.org/dropbear-static-builds/dropbear-v2020.81-x86_64-static.tgz
#tar xzf ... ; mv/rm ... ; chmod 755 dropbear
echo 0::0:0::/:/bin/sh >/etc/passwd #cuz mll doesn't have!!!
(echo 0;echo 0)|passwd #force a short password of the digit 0 to the username digit 0!!!
https://www.linuxquestions.org/quest...9/#post6258552

Last edited by !!!; 06-21-2021 at 06:00 PM.
 
2 members found this post helpful.
Old 06-20-2021, 02:36 AM   #155
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,788
Blog Entries: 11

Rep: Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384
Quote:
Originally Posted by !!! View Post
Code:
alias p='cat>p ; VBoxManage controlvm mll keyboardputfile p'
Run on VBox *host*.
Where mll is MyVmGuest's name. Note that it creates a text file in $PWD named p
Use Ctrl-D (on Vbox host, when done entering stuff to paste to guest)
Very cool.
Is there a way to make this go the other way round as well? I.e., from the guest to the host?

Last edited by ondoho; 06-20-2021 at 11:51 PM.
 
Old 06-20-2021, 09:12 AM   #156
missbfbarley
LQ Newbie
 
Registered: Mar 2021
Location: Earth
Distribution: different ones
Posts: 18

Rep: Reputation: 0
Wink the more i learn the less i know

I have learnt as i newbie that the more i learn the less i know.

I also learnt of recent that VirtualBox is not as good as GnomeBoxes and that VirtManager is best after trying all of them, however VirtManager is not as easy to understand the settings at first to set up properly and is somewhat distro sensitive.

Last edited by missbfbarley; 06-20-2021 at 09:16 AM.
 
Old 06-20-2021, 09:35 AM   #157
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,707
Blog Entries: 16

Rep: Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385
Quote:
Originally Posted by dugan View Post
I FINALLY got a good idea of what directories are: files where each line is the name of one child of that directory, and its inode.

Yes it took me this long. Don’t laugh.
I think "line" is misleading. It suggests a text list. As I understand it, the directory file contains C structures that contain a filename and an inode number plus a few other bits and pieces. The man(3) page for readdir is useful.

Last edited by hazel; 06-20-2021 at 09:37 AM.
 
Old 06-22-2021, 09:21 AM   #158
Geekomatic
LQ Newbie
 
Registered: Apr 2021
Posts: 15

Rep: Reputation: Disabled
Win search

Quote:
Originally Posted by frankhjung View Post
The find command can search for files between dates!

find [source_dir] -type f -name "a*.txt" -newer /tmp/start -not -newer /tmp/end
I like to disable the M$ resource-hog-service Windows Search & replace it with Everything Search. MUCH better!
 
Old 06-22-2021, 12:06 PM   #159
dc.901
Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 928

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
recently learned that in df there is "--output" option, so if you only want to see source and used columns :

Code:
df -h --output=source,used /
Filesystem      Used
/dev/sdb3       9.9G
For "Use%" column:

Code:
df -h --output=pcent /
Use%
 11%

Last edited by dc.901; 06-22-2021 at 12:08 PM.
 
2 members found this post helpful.
Old 06-28-2021, 05:18 PM   #160
pmv
Member
 
Registered: Apr 2018
Distribution: OpenSuSE Leap 15.0, Ubuntu 16.04, 18.04, 20.04
Posts: 40
Blog Entries: 5

Rep: Reputation: 10
I have changed the Unattended-Upgrade on Ubuntu from every day to 14 days:

/etc/apt/apt.conf.d/10periodic
/etc/apt/apt.conf.d/20auto-upgrades
Code:
APT::Periodic::Unattended-Upgrade "14";
"0": means is disabled
 
2 members found this post helpful.
Old 07-26-2021, 11:23 AM   #161
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 5,830

Rep: Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156Reputation: 2156
Whenever I've installed a distro, I've always set /proc/sys/vm/swappiness. I've only just learnt that the next time the computer boots, it will reset swappiness to a default
 
1 members found this post helpful.
Old 07-26-2021, 11:44 AM   #162
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 3,619
Blog Entries: 2

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
https://www.howtoforge.com/tutorial/linux-swappiness/

On arch
https://wiki.archlinux.org/title/Swap
 
1 members found this post helpful.
Old 07-26-2021, 01:42 PM   #163
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,508
Blog Entries: 1

Rep: Reputation: Disabled
-nographic option for qemu
root / on overlay file system
 
Old 08-02-2021, 04:45 PM   #164
jodytek404
LQ Newbie
 
Registered: Feb 2019
Posts: 5

Rep: Reputation: Disabled
I learned how to test for an open port on a remote server using only bash.

Was like whoa wtf, is that for real?

echo > /dev/tcp/<ip address>/<port number>
echo $?
 
2 members found this post helpful.
Old 08-03-2021, 12:44 AM   #165
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Location: Apples
Distribution: Apple-selling shops, markets and direct marketing
Posts: 1,197
Blog Entries: 31

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
I learned that when there is “no space left on the device”, it can mean the temporary space allocated for an initial ram-disk image, not the hard-disk. Removing old kernels helps.

Now I wonder about the percentage of problem-reports which should really be reports of misguiding program output and bad documentation.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:07 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