Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

22 Questions on Unix Fundamentals - Experiment 3 | CSCI 2200, Lab Reports of Computer Science

Material Type: Lab; Professor: Zucker; Class: Unix Fundamentals; Subject: Computer & Information Science (CSCI); University: East Tennessee State University; Term: Unknown 1989;

Typology: Lab Reports

Pre 2010

Uploaded on 08/16/2009

koofers-user-q7w
koofers-user-q7w 🇺🇸

10 documents

1 / 4

Toggle sidebar

Related documents


Partial preview of the text

Download 22 Questions on Unix Fundamentals - Experiment 3 | CSCI 2200 and more Lab Reports Computer Science in PDF only on Docsity! CSCI 2200 Lab 3 – Working with Files Name: _______________________________________________________ Objectives: • Reinforce the Unix directory structure. • Reinforce the Unix directory commands. • Introduce the following Unix file commands: – touch – cat – chmod – rm – cp – mv • Introduce the concept of redirection Enter the commands to accomplish the following tasks. Also answer any questions. Do not change directories to accomplish these tasks unless instructed to do so. Each question worth .4 points. 1. Create a new subdirectory of your home directory named SourceFiles. Command:_________________________________________________ 2. Go to the SourceFiles directory. Command__________________________________________________ 3. Create a new file called HelloWorld.java in this directory with the following content: public class HelloWorld { public static void main (String args[]) { System.out.println(“Hello World!”); } } a. Initial command to start entering data:_________________________________ b. Command used to terminate data entry:________________________________ 4. (no response necessary) Create another file called csci2200.html in this directory with the following content: <html> <body> This is yourname’s CSCI2200 links:<ul> <li><a href=http://csciwww.etsu.edu/zucker/csci2235dir/slides/lab2stud.ppt> Directory slideshow</a> </li> </ul> </body> </html> 5. Verify that you have a public_html directory as a subdirectory of your home directory. If public_html directory is not there, please create one, and then verify that it is there. Do not change directories. Command:_____________________________________________ 6. Create a subdirectory of the public_html, calling it csci2200dir. Do not change directories. Command:_____________________________________________ 7. Move the csci2200.html file to csci2200dir directory? Command:_____________________________________________ 8. What permissions does the csci2200.html have by default for: a. Group? ___________________________________________ b. the World?_________________________________________ 9. Change the permissions on the csci2200.html file to allow: all permissions for you; execute permission for the group and the world, using the numeric method. Command:_______________________________________________
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved