echo "ps" > fichero echo "ls" >> fichero `cat fichero | head -n 1`
Ejercicios de Bash: ejecutar el comando almacenado en un fichero (Bash)
Except where otherwise noted, Jesusninoc by Jesús N. is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.