Bash Shell echo "ps" > fichero echo "ls" >> fichero `cat fichero | head -n 1` 123 echo "ps" > ficheroecho "ls" >> fichero`cat fichero | head -n 1`