DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
assign contents of file to variable bash
file1=`cat answer.txt` echo $file1
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#assign
#contents
#file
#variable
#bash
ADD COMMENT
Topic
COMMENT
Name
7+7 =
Submit