Write Linux commands for the following: i) Copy a file test1.py from Prac01 directory to Subdir1 directory in the following directory structure. FOPPrac01 Prac02 Prac03- Subdir1 Subdir2 (Where FOP is at the top level then Prac01, 02 and 03 are at next level and Subdir1 and 2 are next to next level.) ii) To delete a directory DIR which has a file test2.py in it.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter8: I/o Streams And Data Files
Section8.1: I/o File Stream Objects And Functions
Problem 10E
icon
Related questions
Question

) Write Linux commands for the following:
i) Copy a file test1.py from Prac01 directory to Subdir1 directory in the following
directory structure.
FOPPrac01
Prac02
Prac03-
Subdir1
Subdir2
(Where FOP is at the top level then Prac01, 02 and 03 are at next level and Subdir1
and 2 are next to next level.)
ii) To delete a directory DIR which has a file test2.py in it.  

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,