bash calculer la moyenne d'une colonne

# Example usage:
awk 'BEGIN{s=0;}{s=s+$1;}END{print s/NR;}' input_file # Mean of column 1
# Change the 1 to the number of the column for which you want the mean
Charles-Alexandre Roy