Skip to content

openterprise.it

Paweł Szaga home page

  • 🏠 Home
  • 👤 Author
  • 🐧 Linux
  • ☁️ Virt
  • 📄 Scripts
  • 🐳 Docker Hub

Category: one-liner

Running SQL query on database inside Docker container running on remote host

Published on 2020-04-15 Author admin

Single line command to run SQL query on database inside Docker container running on remote host: ssh root@tinkerboard -C 'docker exec -i nextcloud-mariadb mysql -u nextcloud -p -e "SELECT * FROM oc_bruteforce_attempts;" nextcloud'

Categories CentOS, Containers, Docker, Fedora, Nextcloud, one-liner

Linux - get external IP address

Published on 2017-11-16 Author admin

Linux - get external IP address: curl ifconfig.co

Categories CentOS, Fedora, Linux, one-liner

[Linux] RDP remote desktop connection to Windows server with file transfer enabled

Published on 2017-09-15 Author admin

[Linux] RDP remote desktop connection to Windows server with file transfer enabled: rdesktop -g 1366x700 -r disk:mydisk=/home/$user/$dir/ $IP_ADDRESS

Categories CentOS, Fedora, Linux, one-liner

Bulk image resize using ImageMagick

Published on 2017-08-29 Author admin

Bulk image resize using ImageMagick. Install ImageMagick: sudo yum install ImageMagick Change all *.jpg files resolution within 50%: for i in $( ls *.jpg); do convert -resize 50% $i re_$i; done

Categories Fedora, Linux, one-liner, Scripts

[one-liner] Remove files older than

Published on 2017-03-29 Author admin

find /path/*.gz -mtime +30 -exec rm {} \;

Categories one-liner, Scripts

Posts pagination

Page 1 Page 2 Next

Software

  • My GitHub Repo
  • My Docker Hub Repo
  • Recommended Open Source Software

Recent Posts

  • Nextcloud - Upgrading PostgreSQL database running as Docker container from 16 to 17 2025-04-26
  • Send Android push notifications using Nextcloud 2025-04-25
  • Fedora 39 - GNOME 45 - enable HEIF images support 2023-11-17
  • Fedora 39 - GNOME 45 - missing "Suspend when lid is closed" in Tweak Tools 2023-11-14
  • KVM - How to permit HTTP traffic from guest VM to KVM host with firewalld 2023-05-27

Archives

  • 2025 (2)
  • 2023 (4)
  • 2022 (4)
  • 2020 (14)
  • 2019 (10)
  • 2018 (16)
  • 2017 (42)

Categories

  • Apache (2)
  • AWS (4)
  • Bitcoin (3)
  • CentOS (31)
  • CI/CD (1)
  • Cloud (8)
  • Containers (8)
  • Cryptography (2)
  • Docker (9)
  • Fedora (45)
  • GeoServer (2)
  • GIS (2)
  • Git (1)
  • HA (2)
  • Jenkins (1)
  • KVM (7)
  • LEDE (3)
  • Linux (76)
  • Networking (12)
  • Nextcloud (9)
  • one-liner (7)
  • OpenWrt (3)
  • PostgreSQL (1)
  • Raspberry Pi (5)
  • REST API (1)
  • Scripts (15)
  • Security (4)
  • Site (4)
  • Virtualization (12)
  • VMware (6)
  • Volumio (1)
  • Windows (1)
  • Workstation (4)

Categories

Apache AWS Bitcoin CentOS CI/CD Cloud Containers Cryptography Docker Fedora GeoServer GIS Git HA Jenkins KVM LEDE Linux Networking Nextcloud one-liner OpenWrt PostgreSQL Raspberry Pi REST API Scripts Security Site Virtualization VMware Volumio Windows Workstation

© 2025 Paweł Szaga openterprise.it