mercredi 14 mai 2014

Median of column in Linux


Vote count:

0




i can get minute of date with this command in Red Hat:



date |awk '{print $4}'|cut -d ":" -f2


Let's say we get 15 from the command above. How can get the median of this value? (Within awk or not, it's not important)



asked 2 mins ago






Aucun commentaire:

Enregistrer un commentaire