Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-02-2003, 09:25 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
how can I see a fortran file in linux

If I have a code file which is written in FORTRAN how can I see it in linux/Unix shell/terminal??
Old 10-02-2003, 09:47 AM   #2
Registered: Aug 2002
Posts: 13,317

Rep: Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092
If its source code any console text editor should work. Depends on what text is installed. If its a windows file you might see a ^m on the end of each line.

$editor <filename>


Midnight Commander (shell)

Last edited by michaelk; 10-02-2003 at 09:49 AM.
Old 10-02-2003, 11:48 AM   #3
LQ Guru
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Or, if you just want to look at it, and not edit it, you can use 'more' or 'less' to view it and page through it. 'less' is better, as it does more than 'more' does.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
any recommendations for a fortran compiler for linux? buddy_epson Programming 3 08-18-2006 02:00 AM
does linux fortran compiler in fedora 4 support VAX FORTRAN? terrence Programming 17 08-31-2005 08:59 AM
How to output a C stream into a binary file readable via Fortran I/O? zero79 Programming 8 02-07-2005 08:51 PM
Cant find Fortran File unixfreak Linux - Newbie 21 09-03-2004 01:21 PM
Fortran unformatted file conversion from Solaris to linux SenorPedo Programming 2 02-29-2004 11:13 PM

All times are GMT -5. The time now is 10:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration