this post was submitted on 23 Oct 2025
27 points (84.6% liked)

Linux

10322 readers
873 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
top 11 comments
sorted by: hot top controversial new old
[–] HelloRoot@lemy.lol 20 points 1 month ago* (last edited 1 month ago)

Even the subheadings are clickbait.

Convert Files to Any Format From the Terminal

I got intrigued. What magical tool could it be that can convert ANY file to ANY format?

It's pandoc ... It's a monumentally awesome tool, but no, it can not convert files to "any" format. It can't even convert a pdf to anything (which the article might let you on to believe).

And then it's imagemagic and ffmpeg. Yeah...

[–] hddsx@lemmy.ca 10 points 1 month ago (2 children)

Why would I want to translate in my terminal? Or generate a QR code?

What do you think I use my terminal for?

[–] nerdychip@piefed.social 4 points 1 month ago (2 children)

QR code is the easiest way to share text between computer and mobile. On most phones it just point your camera and you can copy text or open url

[–] HelloRoot@lemy.lol 7 points 1 month ago* (last edited 1 month ago) (1 children)

the easiest way to share text between computer and mobile

kdeconnect

whatever is in your desktop clipboard will just instantly appear in your mobile clipboard.

[–] Successful_Try543@feddit.org 4 points 1 month ago

For KDEkonnect to work, both devices have to be paired and in the same network. QR codes work even over an air gap and for transferring information to others.

[–] hddsx@lemmy.ca 3 points 1 month ago

I mean at this point, I can point my phone at my computer, take a picture, then select the text I want.

QR codes obscure the text/data

[–] BCsven@lemmy.ca 3 points 1 month ago (1 children)

QR could be helpful if you need to transfer a private, public or preahared encryption key. Relying on an OCR photo is going to make a mess because OCR relies on context to assist in character recognition. 1 character wrong in a huge random string will break it.

[–] hddsx@lemmy.ca 1 points 1 month ago

I guess the issue isn’t as important if I am generating the code and I trust the code generation utility

[–] kbal@fedia.io 8 points 1 month ago (1 children)

Generate Random Numbers

I prefer to generate random words (mostly for generating passwords):

alias randword='head -$[$SRANDOM % `wc -l /usr/share/dict/words | cut -f1 -d" "`] /usr/share/dict/words | tail -1'
[–] Ooops@feddit.org 3 points 1 month ago

The 'random numbers' I mostly generate are UUIDs...

which can indeed be done nicely in the terminal by just reading directly from the kernel's rng at /proc/sys/kernel/random/uuid

[–] thingsiplay@beehaw.org 6 points 1 month ago

This is a pretty nice list. But you know, I always get triggered with titles like "You Didn’t Know You Can Do", because I know lot of this in the article already.