LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

How to provide information about peripherals with dmesg

Posted 10-19-2021 at 01:51 AM by ondoho
Updated 10-19-2021 at 01:52 AM by ondoho

You want to see how your Linux system reacts to a certain peripheral being plugged in (smartphone, monitor, USB stick etc.).
dmesg can provide that information, but one needs to separate it from previous messages.
Here's how:
  • Make sure the device in question is unplugged.
  • Open a terminal, maximise it.
  • Enter dmesg -w or --follow (wait for new messages).
  • Some systems require elevated privileges for dmesg, if so prepend sudo or become superuser first.
  • After dmesg -w
...
LQ Addict
Posted in Uncategorized
Views 580 Comments 0 ondoho is offline
Old

How to use CODE Tags for Code and Command Output

Posted 08-23-2021 at 01:54 AM by ondoho

Let's say you have this output:

$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 789M 2.7M 787M 1% /run
/dev/sda8 9.8G 6.9G 2.5G 74% /

You will notice that the formatting is messed up, it looked much nicer in your terminal!

Instead, you should surround the text with code tags:

[CODE]
$ df -h
Filesystem Size Used...
LQ Addict
Posted in Uncategorized
Views 426 Comments 1 ondoho is offline
Old

How to search the WWW for solutions to Linux problems

Posted 11-30-2020 at 12:53 AM by ondoho
Updated 01-28-2021 at 01:27 AM by ondoho

Quote:
I'm a relative newbie here, and would need elementary instructions in order to fix anything you suggested.
...
LQ Addict
Posted in Uncategorized
Views 5173 Comments 0 ondoho is offline
Old

uMatrix FTW!

Posted 05-31-2019 at 04:55 AM by ondoho

uMatrix has replaced at least 3 different addons (cookie control, noscript and request policy) and also offers adblocking (which i still take care of via /etc/hosts).
(this is me on firefox)
For being so powerful, it is comparatively simple to use. seriously.
A very quick howto on my personal blog.

A Palemoon-compatible fork exists.
LQ Addict
Posted in Uncategorized
Views 1206 Comments 0 ondoho is offline
Old

Use youtube-dl to bulk download music from weblinks

Posted 04-14-2019 at 04:47 AM by ondoho
Updated 04-14-2019 at 04:49 AM by ondoho

youtube-dl can download much more than just youtube!

it has options to download video, then extract the audio only, or to download audio audio-only sites (soundcloud, bandcamp etc.)

for a long time i've been using a little script to download music with youtube-dl, straight into my Music folder.

youtube-dl can extract a lot of info from the download, add tags to the file, and generate a suitable download path and filename for one or multiple files....
LQ Addict
Posted in Uncategorized
Views 2351 Comments 0 ondoho is offline

  



All times are GMT -5. The time now is 08:06 AM.

Main Menu
Advertisement
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