saving sensor value to text file using arduino uno

can i save serial moniter data to a text file using only arduino?

The only way, that I know of, to save Serial monitor data is to copy from Serial monitor and paste into a different program. There are serial terminal programs that can save (log) data to a file (Putty, RealTerm , I believe).

thank you.