How to save output of a file

Open discussion for MAGMA

How to save output of a file

Postby cagatayreyiz » Wed Jul 02, 2014 8:33 am

Hi, I need the output of a file and I want to save it as .txt, however the output is too long to 'copy all and paste'. How can I do that? Thanks.
cagatayreyiz
 
Posts: 1
Joined: Wed Jul 02, 2014 8:19 am

Re: How to save output of a file

Postby mgates3 » Mon Jul 14, 2014 2:33 pm

Do you mean save the output of an executable, such as the MAGMA testers? Use a shell redirect, > .

./testing_zgetrf > file.txt

Beyond that basic use, the syntax depends on your shell. See the sh (bash) or csh (tcsh) man pages for more information, or any introduction to UNIX book or tutorial.

-mark
mgates3
 
Posts: 424
Joined: Fri Jan 06, 2012 2:13 pm


Return to User discussion

Who is online

Users browsing this forum: No registered users and 2 guests