LINUX The terminals in the computer lab are connected to a central server running on LINUX. Your login ID is your roll number. The password is also the roll number. You can change the password with the following command: passwd (you may be asked for the existing and new passwords) Remember linux is case sensitive! Create a new folder (directory) with mkdir Change folder with cd - for folder name will change to the previous directory pwd will show the current folder List the files in the folder with ls There are several options for this. For example, you get a long listing with ls -l Display a file with cat Display long files, one screen at a time with more Copy file to another file with cp Rename (move) a file with mv Delete a file with rm Delete a folder with rmdir For a complete list of commands and all options under each command see: http://ss64.com/bash/ The vi EDitor: You will be using the vi editor which is part of every LINUX installation for creating and editing files. You invoke vi as follows: vi vi has two modes: insert mode and command mode. The command mode is active when you start vi. To insert text (and lines) you issue the following commands: i :insert text at cursor I :insert text at beginning of line 0 :open line above cursor O :open line below cursor Switch to command mode from insert mode with Esc Use the following command to save your file and quit :wq Read more about vi at: http://ss64.com/vi.html To run FORTRAN-77 compiler your fortran program file should have the extension .f. That is, the file should be like filename.f Command to run the compiler: f77 filename.f If the program compiles without errors it would have created an executable file, a.out. You can run it by typing: ./a.out