Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # 1
- cat /proc/cpuinfo | grep -i "model name"
- # 2
- cat /proc/cpuinfo | grep -i "model name" | wc -l
- # 3
- curl https://www.gutenberg.org/files/11/11-0.txt 2>/dev/null | sed 's/Alice/Diego/g' > Diego_in_wonderland.txt
- # 4
- sort -k 5n weather_cordoba.in
- sort -k 5n weather_cordoba.in | head -n 1 -c 8
- sort -k 5n weather_cordoba.in | tail -n 1 | head -c 11
- # 5
- sort -k 3n atpplayers.in
- # 6
- awk '{$9 = $7-$8;print}' superliga.in | sort -k 2,2nr -k 9nr | awk '{NF--;print}'
- # 7
- ip a | grep -C0 "ether" | awk '{print $2}'
- # 8
- #a
- mkdir Mr.\Robot && touch Mr.\Robot/fma_S01E{1..10}.srt
- #b
- cd Mr.\Robot && for i in *_es*; do mv "$i" "${i//_es}"; done
- #Ejercicio opcional:
- # Salgo del directorio Mr. Robot
- cd ..
- #a)
- ffmpeg -i opcional.mkv -ss 00:05 -t 00:12 recorte.mkv
- #b)
- #Primero bajamos el volumen de la pista de sonido, por defecto es 256
- ffmpeg -i A\ Go\ Go.mp3 -vol 25 pista_a_go_go_v25.mp3
- #luego hacemos la mezcla
- ffmpeg -i mi_voz.mp3 -i pista_a_go_go_v25.mp3 -filter_complex amerge podcast.mp3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement