Removing empty lines with regular expressions
Use this in your regular expression ^\h*\R
Use this in your regular expression ^\h*\R
Try from cli with: putty /dev/ttyUSB0 -serial -sercfg 115200,8,n,1,N
Install xsel
sudo aptitude install xsel
As seen on garron.me
wget -> wget -q -O – checkip.dyndns.org|sed -e ‘s/.*Current IP Address: //’ -e ‘s/<.*$//’
curl -> curl -s checkip.dyndns.org|sed -e ‘s/.*Current IP Address: //’ -e ‘s/<.*$//’
curl -> curl ifconfig.me
lynx -> lynx -dump ifconfig.me | grep ‘IP Address’
find /path/to/dest -type f -empty
source, nixCraft
– make sure you have defined user on ASA with privilege 15
– make sure you have ssh scopy enable configured
– on your linux host enter pscp -pw <password> <filename> <username>@<ASA IP>:<location/filename>
something like: pscp -pw THISisp4ssw0rdf anyconnectfile.pkg adminusername@8.8.8.8:disk0:/anyconnectfile.pkg
if you want to use scp with password prompt use: scp anyconnectfile.pkg adminusername@8.8.8.8:disk0:/anyconnectfile.pkg
check your MTU settings with
user@computer:~$ tracepath -n www.cix.hr
1: 10.254.30.250 0.099ms pmtu 1500
1: 10.254.30.254 0.425ms
1: 10.254.30.254 0.405ms
2: 10.0.0.1 1.345ms
3: 212.92.211.193 4.111ms
4: 10.51.0.2 4.327ms
5: 10.50.0.74 192.967ms
6: 193.192.15.65 6.561ms asymm 7
7: 193.198.228.98 4.719ms asymm 10
8: 193.198.228.110 6.181ms asymm 9
9: 193.198.229.69 5.390ms asymm 10
10: 161.53.2.116 4.403ms reached
Resume: pmtu 1500 hops 10 back 54
easy tutorial @ thegeekstuff.