how can I get to echo and save as variable?
sm@tp1:~/pc$ php get.php | grep "PhP" | cut -c24-33 | sed -n 1p
PhP 47.813
this is the output
sm@tp1:~/pc$ out=$(php get.php | grep "PhP" | cut -c24-33 | sed -n 1p) | echo $out
sm@tp1:~/pc$
but in here there is no output