
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question
Using the image below, complete the linux/unix exercise.
a. What is the single Linux command to copy img1.png into the img directory and name it carousel_img1.png ?
b. Assuming you are in the web/ directory, what is the Linux command to make index.html read/write/executable for the owner, read/write for the group, and read only for the world?
c. Assuming you are in the web/ directory, what is the Linux command to remove write permissions for the world from about.html ?

Transcribed Image Text:dev/
proj1/
assets/
img1.png
index.html
carousel.js
Your EC2
instance home
docker/
index.html
about.html
css/
mysite.css
print.css
web/
js/
img/
homepic.jpg
banner.png
Expert Solution

arrow_forward
Step 1
The solution is given below with explanation
Step by stepSolved in 2 steps

Knowledge Booster
Similar questions
- Use Linux executable objectCode6 for this question. These files are on syccuxas01.pcc.edu in directory ~michael.trigoboff/cs201/quiz02LinuxFiles. Using gdb, figure out the value that will be in ST(0) just before main returns. Question options: 1) pi - 1 2) log(base2) 10 3) log(base 10) 2arrow_forwardYou have created the directory structure and some base files to be used by the Web server and Web site. For the Web site to be created in a production environment, you need to package your commands in a script so that the patching team can run them on the production enviro nment. Your task for this assignment is the following: Create a Bourne shell script. The script should do the following: Explain what the script will do and who is the author in a comment area. cd to your home directory Show your current working directory. List the contents of the current directory. Create the directory structure and create the files as defined in the previous Individual Project. For each directory and file, test to see if the file or directory already exists; if it does exist, do not recreate; if it is missing, create it. In the end, generate a directory listing showing the structure and content of the new directories. At the beginning of the script, set a variable called INSTALL_DIRECTORY that…arrow_forwardPlease just answer part b, thanks! (will leave a thumbs up)arrow_forward
- find The find command takes a pattern as a command-line argument and recur- sively searches through directories to find a filename matching that pattern. It should print a relative path starting with "./" for every file/directory that matches. For example, running ./find 1s.c from within the hw2 directory should print ./1s.c. If run from the parent directory, the output would be . /hw2/1s.c. There may be multiple matches. If we run ./find .c from within the hw2 directory, we should see: ./find.c ./1s.c ./tree.c The output does not need to be sorted. If nothing matches, it shouldn't print anything. Pattern matching should be case sensitive.arrow_forwardWrite a shell script that contains a hashpling and comments. It should perform thefollowing tasks:a. Displays a list of currently logged-in usersb. Displays the system’s host namec. Displays the time and dated. Displays the disk usagee. Displays the current working directoryf. Displays the pathname to the BASH shellarrow_forwardQuestion 1 Which of the following are regular files and directory files contained in the JAR file that is provided with the HWO5 starter code? When listing the contents of the JAR file, you can ignore any differences in capitalization of the filenames if you notice any. C cs1302/adt/StringList.class C cs1302/adt/Node.class META-INF/MANIFEST.ME Ccs1302/adt/Stringlist.java C cs1302/ C META-INF/ C cs1302/adt/ LinkedListDriver package cs1302.listadt; public class Driver { public static void main (String[] args) { Node node = new Node ("Tom"); node.setItem ("Susan") ; node.setNext (new Node ("Sally")); node.getNext (). setNext (new Node ("Barry")); Node end = new Node ("Supa Mike", node); Node n = node.getNext () ; n.setNext (new Node ("Simon")); System.out.println (end.getNext ()); // Output 1 System.out.println (node.getNext ().getitem ()); // Output 2 System.out.println (n.getNext ().getNext ()); // output 3 System.out.println (n.getNext ().getItem ()); // Output 4 } // main } // Driver…arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY

Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON

Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education

Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY