Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/user/bin/bash
- cd /home/smok/Música/web/
- echo -n "Nombre del listado: \t"
- read ENTRADA
- echo "Se generara la lista con el nombre: $ENTRADA"
- ls >> sucio.txt
- i=0
- while read line
- do i=$(($i+1));
- echo $i $line
- done < "/home/smok/Música/web/sucio.txt"
- echo "Canciones totales: $i";
- rm sucio.txt
- ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement