In ".last-time" script, it contains
--- 2019-12-30 18:23:05.266000000 +08:00
".last-time" script is in the path /file/.last-time
I want to save the text in ".last-time" script to a variable in "final.sh" script. In "final.sh", I tried
LASTTIME = $(/file/.last-time)
echo $LASTTIME
but it is not working.
May I know how I can do it. Thanks in advance.