LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Great tip to mass edit a file with lots of paths, using variables and "sed"

Posted 12-17-2019 at 07:33 AM by the dsc (linux-related notes)
Tags sed

Sed "default" delimiter is "/", or at least that's what most people use. I tipically find "|" more readable, so that's "my" default. Regardless, it can still be troublesome if you're dealing with paths and variables, it seems somehow the command will "break up".

Glenn Jackman posted on Stack Overflow:
Quote:
A pure bash answer: use parameter expansion to backslash-escape any slashes in the variable:

Code:
var="/Users/Documents/name/file"
...
Member
Posted in Uncategorized
Views 3231 Comments 0 the dsc is offline
Old

KNOPPIX-EXTON 32 bit, Build 191211 – a remaster of KNOPPIX 8.6.1 – will bring your old computer back to life!

Posted 12-11-2019 at 10:48 AM by exton (Exton's Blog)
Updated 12-11-2019 at 11:34 AM by exton (More INFO)

Version 8.6.1 of KNOPPIX is based on Debian/stable (Buster), with some packages from Debian/testing and unstable (Sid) for newer graphics drivers or desktop software packages. It uses kernel 5.3.5 and Xorg 7.7 (core 1.20.4) for supporting current computer hardware.

About Knoppix-Exton Build 191211
The original KNOPPIX 8.6.1 ISO is of 4320 MB. It has two kernels, 32 bit and 64 bit and almost all well-known Debian packages (including almost all KDE and Gnome packages) pre-installed....
ExTiX Admin
Views 2187 Comments 0 exton is offline
Old

Softpedia about DebEX 32 bit Build 191209

Posted 12-11-2019 at 02:49 AM by exton (Exton's Blog)

Softpedia 191210: DebEX Linux Distro Released for Older PCs with LXQt Desktop and Linux Kernel 5.4
Based on the Debian GNU/Linux 10 "Buster" operating system


GNU/Linux developer Arne Exton has released today a new version of his Debian-based DebEX Linux distribution, which promises to bring back to life older 32-bit computers.

Based on the Debian GNU/Linux 10 "Buster" operating system series, DebEX Linux uses LXQt as default desktop environment,
...
ExTiX Admin
Views 2715 Comments 0 exton is offline
Old

"find" files of multiple extensions, on one or more directories, excluding multiple subdirectories

Posted 12-07-2019 at 12:43 PM by the dsc (linux-related notes)
Updated 12-07-2019 at 12:47 PM by the dsc

It took me quite a while to find the correct syntax, only after some dozens of attempts that only worked partly right:

Code:
 find "${PWD}" "/optionally/any/other/path/"  \( -path '*/\.*' -o -name '*notthisfolder*' -o -name '*northis*' -o -wholename "*oteven/thi*" \) -prune -o -iname '*.ext1' -o -iname "*.ext2" -o -iname "*.ext*nsion3"
Where '*/\.*' excludes hidden folders (also files, I guess). All the patterns between the...
Member
Posted in Uncategorized
Views 1792 Comments 0 the dsc is offline
Old

Generating Private Public Key

Posted 11-28-2019 at 08:16 AM by ted_chou12

Downloaded OpenSSL from:
https://developer.xero.com/documenta...licprivate-key
Windows version.
Code:
openssl genrsa -out privatekey.pem 1024
Code:
openssl req -new -x509 -key privatekey.pem -out publickey.cer -days 1
Quote:
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you
...
Member
Posted in Uncategorized
Views 1068 Comments 3 ted_chou12 is offline

  



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