Pario TechnoBlob
About
Posts
Tag: awk
Allow NFS through iptables
This is one way to determine the ports needed to open in your iptables rules to get NFS to work properly. First we need to determine the ports NFS uses rpcinfo -p | awk -F...
Adjust images to a digital frame (480×234 pixels)
This bash script adjusts images to fit in a digital frame with a resolution of 480×234 pixels however by using the size 832×468 pictures are displayed sharper on some frames....
nslookup-scan of IP-range/subnet
#!/bin/bash # nslookup-scan of IP-range # It's possible to add more networks separated with space NETS="192.168.0" IPRange="1 254" for NET in $NETS; do for...
Hints and Tips for general shell script programming
WARNING: this will fail if the user is playing with $0 For example using a symbolic or hard link with a unexpected name. # Simplest... # PROGNAME=
type $0 | awk '{print $3}'
#...
««
«
1
2
3
…
5
»
»»