My Notes
Recently updated
How to find a file containing a particular text string
Search all subfirectories recursively grep -r "redeem reward" /home/tom/ To display only fines names, add -H option, or $ grep -H -R vivek /etc/* | cut -d: -f1 To ignore…
How to batch-resize images using ImageMagick
open terminal and cd into the directory containing your photos and execute below command mkdir photos-Optimized;for photos in *.JPG;do convert -verbose "$photos" -quality 85% -resize 1600x900 ./photos-Optimi Voila! Now you…
Managing Disks and Space
Disk Info df -h : displays the information of device name, total blocks, total disk space, used disk space, available disk space and mount points on a file system (-h…
Resyncing ISO location on XCP-NG server
List sources: xe sr-list type=iso Resync/scan for ISOs: xe sr-scan uuid=29c2e9f4-6157-17b4-d176-3a87337ae08b List DVDs: xe cd-list
Setting up Apache Guacamole using Docker
Visit: https://github.com/boschkundendienst/guacamole-docker-compose Follow instructions which in short are: If you want to add TOTP then do the following: After adding the above extension, restart the container.