Search results

  1. A

    Convert unix time bash loop

    I have a variable called $time that contains 1,1708746085,apples,cars 2,1709764378,pears,bus 3,1709875892,orange,truck Im trying to iterate over the variable and convert the time from unix time to human readable var=echo $time |awk -F ","' '{print $2}' for secs in $var do date -d @$secs done...
Top