|
|
Lab 1 |
September 8, 2006Introduction to Unixlogin passwd ssh mkdir chdir dirname pwd ls ls -a ls -l ls -alpico filename more filename cp mv rm filename rmdir dirname logout
Introduction to command-line (local) GCGgcggenhelp genman fetch printing on your own computer (copy and paste, or FTP)
Perl under UNIXperldoc -u -f commandname(if the documentation is longer than one screen, press the return key to get one more line or press the space bar to get another full screen. Press q to quit.) whereis perl
Introduction to PerlCreating a file using the Unix pico editor (pico filename)Starting a Perl program (#!, -w, # comments) Hello, world! (statements, print, \n, single and double quoted strings) Ending a Perl program (exit;) Running a Perl program (perl filename) Accepting input from the keyboard (assignment statement, <STDIN>, chomp) Common arithmetic calculations (numbers, +, -, *, /) Rounding (int) Date and time (localtime) |
February 21, 2008 Lynda Ellis
© 2009, University of Minnesota.
All rights reserved.
[an error occurred while processing this directive]