i am having some bash script which must use first sentence of the file. For example i have file which content is:
test 213
So I must use word test into my bash script, and put it into variable.
I am using a one variable named value
value=$(</home/rusher/test.txt)
so instead using test.txt in my value variable i want that word TEST be automaticly from a txt file which first word is allways word which must stay in that value variable.