save me!

Hi!
can anyone tell me how to save a file from command line?
Any help appreciated.

It's called redirection...

eg: # ls -al > filename

THANKS.