Hi
I am trying to make a script using variables instead of long commands and paths. This is what i have for now:
Code:
skript='/home/pi/Adafruit-Raspberry-Pi-Python-Code/Adafruit_DHT_Driver/Adafruit_DHT_Real 2302 4'
What I need is 2 more variables built from "skript".I have these lines at the moment
Code:
$skript | sed '1d' > /home/pi/humid.txt
$skript | sed '2d' > /home/pi/temp.txt
and need the
to be a separate variable, as well as
Any suggestions?