title: Julia, ploting histogram or whatever from a serie of files in a loop (list)
body: <p>Time ago, I did move some files from a directory and copied to a new one, 
  while copying I did rename each one. For doing so , I used bash.
  Something like this</p>
  
  <pre><code>for i in 8 12 16 20 ; do;
     for j in 0.00 0.01 ; do ;    
      cp  tera.dat new/tera$i$j.dat 
  ...
  </code></pre>
  
  <p>Into each tera$i$j.dat, there is numeric data in 2 columns. 
  I would like to plot the data as a histogram, and save each image (if possible in a loop) for each file tera$i$j.dat . But unfortunately, I do not have much idea how to do this.
  I managed to load the data in several tables using <code>de = readtable.(filter(r"tera", readdir()),separator =' ', header= false,;</code>. 
  But I can not create a plot for each data :( 
  So far I managed to read the file, and create a histogram plot for <strong>1</strong> file per time, how do I do it in a loop ?  This is the code I am using.</p>
  
  <pre><code>using Plots StatPlots,  Distributions, DataFrames, PlotlyJS, LaTeXStrings;
  theme(:sand);
  chp = pwd(); 
  pe = readtable("tera120.00.dat",separator =' ', header= false)
  gr()
  histogram(pe[2], nbins=1000)
  ...
  </code></pre>
  
  <p>Thanks in advance :)</p>