Pario TechnoBlob
About
Posts
Tag: basename
Detecting changes to your network services/damons
This is a tutorial to detect changes in port from hosts on your network. The basic approach is to ping every available address upon your subnet and see which ones are up by...
Copy several files to a new filename
for f in *.dist; do cp $f
basename $f .dist
; done
Resize of images in a folder with imagemagick
#!/bin/bash # Hans-Henry Jakobsen # Script som bl.a resizer bilder og legger de i rett mappe # NB! ikke bruk originalfil da dette script sletter fila # Sjekker at mapper...
Reverse text content in file
#!/bin/bash # Bash shell script to reverse text file contain i.e. concatenate files and # print on the standard output in reverse. This script also demonstrate how # to use...
««
«
1
2
3
»
»»