diff --git a/oneliners.sh b/oneliners.sh index f573e06..6f4323b 100644 --- a/oneliners.sh +++ b/oneliners.sh @@ -8,3 +8,6 @@ find / -type l -exec readlink -nf {} ';' -exec echo " -> {}" ';' | grep "/bin/ba # extract base64-coded binary within a given tag in an xml (1st match) cat file.xml | sed -n -e 's/.*\(.*\)<\/ns5:Daten>.*/\1/p' | base64 -d + +# prettify PATH-Output: +echo $PATH | sed s/\:/\\n/g