Ir al contenido
File into a variable in shell (Bash)
Bash
Shell
#!/bin/sh value=`cat file` echo "$value"
1
2
3
#!/bin/sh
value
=
`
cat
file
`
echo
"$value"