Skip to content

Solución a los retos de Over The Wire

Updated: at 08:39

Table of contents

Open Table of contents

bandit 3

bandit 4

ls | xargs file -- | grep ASCII | awk '{print $1}' | tr ':' ' ' | xargs cat --

Lista de firmas de archivos

bandit 5

find . -type f ! -executable -size 1033c 2>/dev/null | xargs cat | awk '{print $1}'

¿Cómo buscar y encontrar archivos en Linux?

bandit 6

find / -user bandit7 -group bandit6 -size 33c 2>/dev/null | xargs cat

bandit 7

cat data.txt | grep "millionth" | awk 'NF{print $NF}'

AWK Cheat Sheet AWK Cheat Sheet 2 Cheat Sheet: Cutting Text with cut

bandit 8

sort data.txt | uniq -c
sort data.txt | uniq -u

Tutorial del uso de SORT Tutorial del uso de UNIQ

bandit 9

strings data.txt | grep '==========' | tail -n 3
strings data.txt | grep '==========' | tail -n 1 | awk '{print $2}'
strings data.txt | grep '==========' | awk 'END{print $2}'