Linux
18 pagesHow do you use (run/install) an AppImage?
AppImages do not need to be installed. They are a self-contained app that simply needs to be made executable and then run. As nothing is actually installed, it is good…
How do I set permissions on all directories and files on a Linux system?
To change all the directories to 755 (drwxr-xr-x): find /opt/lampp/htdocs -type d -exec chmod 755 {} \; To change all the files to 644 (-rw-r--r--): find /opt/lampp/htdocs -type f -exec…
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…