LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

How to provide information about peripherals with dmesg

Posted 10-19-2021 at 12:51 AM by ondoho
Updated 06-22-2022 at 11:54 PM by ondoho (added -T option to dmesg (human-readable timestamps))

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 -Tw (wait for new messages).
  • Some systems require elevated privileges for dmesg, if so prepend sudo or become superuser first.
  • After dmesg -Tw spat out lots
...
LQ Addict
Posted in Uncategorized
Views 1608 Comments 0 ondoho is offline
Old

How to use CODE Tags for Code and Command Output

Posted 08-23-2021 at 12: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 1632 Comments 5 ondoho is offline
Old

How to search the WWW for solutions to Linux problems

Posted 11-29-2020 at 11:53 PM by ondoho
Updated 01-28-2021 at 12: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 5372 Comments 0 ondoho is offline
Old

uMatrix FTW!

Posted 05-31-2019 at 03: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 1405 Comments 0 ondoho is offline
Old

Use youtube-dl to bulk download music from weblinks

Posted 04-14-2019 at 03:47 AM by ondoho
Updated 04-14-2019 at 03: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 3093 Comments 0 ondoho is offline

  



All times are GMT -5. The time now is 12:16 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