Date: Wed, 16 Sep 2009 16:07:24 -0500 (CDT) From: Mark Jacobson To: 810-022-01-fall@uni.edu Subject: Today's "Treat" Flash video example... Hi 022 students, Here is the URL for today's (09/16/Wednesday) class example: The web page has a link back to our class web page, so you can get to the other resources, such as ClipNabber.com and so on. http://www.uni.edu/jacobson/treat/Treat.html Treat.html is one of FIVE different files that had to be uploaded to sunny.uni.edu at the end of class. Treat.fla was NOT uploaded to sunny.uni.edu at all. Treat.fla created the SWF and the HTML files when the File menu > Publish Settings > Publish command was done. It created Treat.html and Treat.swf from Treat.fla HTML SWF FLA bash-2.03$ mkdir treat bash-2.03$ cd treat bash-2.03$ ls bash-2.03$ ls SkinUnderAll.swf Treat.swf treatSantana.flv Treat.html captions.xml bash-2.03$ pwd /export/home/jacobson/treat bash-2.03$ ls -l total 22800 -rw-r--r-- 1 jacobson faculty 10322 Sep 9 2008 SkinUnderAll.swf -rw-r--r-- 1 jacobson faculty 9774 Sep 16 14:47 Treat.html -rw-r--r-- 1 jacobson faculty 72503 Sep 16 14:47 Treat.swf -rw-r--r-- 1 jacobson faculty 1014 Sep 16 14:45 captions.xml -rw-r--r-- 1 jacobson faculty 11542291 Sep 16 14:24 treatSantana.flv ---------------- Why is SkinUnderAll.swf dated over ONE YEAR AGO, i.e. 09/09/2008? ---------------- bash-2.03$ cd .. bash-2.03$ pwd /export/home/jacobson You will have a feel for these sunny.uni.edu commands before October is over, maybe before September is over. ls to list your files ls as in LiSt your files - - l s pwd to show the path for the current working directory, i.e. the path is WHAT FOLDER you are current in. mkdir for m A k E dir ECTORY MaKe DIRectory - - --- - - --- cd for Change Directory c d C D cd .. for change directory to the parent directory, i.e. think of the two dots or periods .. as mom and dad, so cd .. is seen as referring to the PARENT folder! cd .. can be thought of as CLOSE THIS FOLDER I AM currently inside and MOVE UP a level, or move up to the folder or directory it was inside, the folder or directory that is its parent. ls -l as you can see above from its output, give a ton more output that ls does! ls -l give a loooooooooooooooooooong listing, the -l means long, -l is MINUS L. You get to see the sizes of the files, the dates on the files, and the permissions on the files, and folders too. With ls -l you get a lot of info. Most of the time you can get along without a long listing! Most of the time all you need is ls Some of the time you need ls -l http://www.cs.uni.edu/~jacobson/22/ If you see ls, ls -l, cd, mkdir, and pwd enough times, pretty soon they will lose their intimidating mystery. UNIX commands are not impossible. Anyone can learn to count from one to ten in Spanish or French or Japanese or Korean or Farsi or Turkish or German. So too anyone can learn the vocabulary of ten UNIX commands such as finger, w, who, ls, cd, mkdir and pwd!!! You can upload and download files through Dreamweaver, but there are times you still have to go up to sunny.uni.edu to prepare a new folder to put your project inside, to keep things organized for yourself on your sunny.uni.edu web server account. Mark