By default, Windows will not display file extensions in folder windows. To see the
extensions:
Printing Single-Sided
By default, documents will be printed double-sided. To change it to single-sided,
you need access to the "lpr" command. "lpr" is the UNIX command which sends
documents to the printer. Many programs (e.g. Adobe Acrobat, Mozilla Firefox) let you
change what the command looks like. Change the command from
lpr
to
lpr –Zsimplex
...or at least make sure that "-Zsimplex" appears somewhere after "lpr".
Note that many programs (such as NEdit) do not let you directly change the "lpr"
command. If you're looking at text or images, your best bet is probably just to open it
using Firefox, which can handle any kind of text, image, or PDF file.
Linux Programs
Program Windows version Program Type Description
Terminal MS-DOS Prompt Terminal window Enter commands to work with files
and programs.
File Manager Windows Explorer File manager View, open, copy, or move files
using a graphical interface.
Mozilla Firefox Internet Explorer Browser Browse the Internet, check course
web pages, message boards, etc.
Mozilla Thunderbird Outlook Express E-mail Check your e-mail and newsgroups.
Nedit Notepad/EditPlus Text editor Create and edit plain-text files. Has
syntax highlighting (coloring words
with different meanings in
programming languages).
OpenOffice Microsoft Office (Word, Office suite Create rich-text documents with
Excel, PowerPoint) imbedded images, create Powerpoint
slide shows, or use a spreadsheet.
Gimp Paint, Photoshop Image editor Create and edit images (JPG, BMP,
etc.)
Xmms Winamp, Windows Music player Play music files.
Media Player
Note that some filenames are hidden. To view them, type ls –a (for the short version)
or ls –la (for the long one). (Those are all lowercase L's, not 1's.)
You can also recursively list the contents of all subdirectories in your current directory by typing
ls –R.
Your First Java Program
public class Hello
{ public static void main(String[] args)
{ System.out.println(“Hello world!”);
}
}
Instructions:
1. Open a terminal window by clicking the black box on the toolbar
2. Type pwd to see what directory you're in
3. Type mkdir java to create a new directory for your Java
programs
4. Type cd java to enter your new directory
5. Type pwd to see your new path
6. Open a text editor by typing nedit &
7. Type the text above into the text editor
8. Save as “Hello.java” in the "java" subdirectory
9. Type ls to make sure you see Hello.java in your directory
10. Type javac Hello.java to compile your program
11. Type ls to make sure Hello.class is there
12. Type java Hello to run your program