In: Computer Science
What are the UNIX commands for each of these steps?
1. Copy all of the files in your Files directory to the Backup
directory.
2. Create an ITE130 directory in the Classes Directory
3. Move all the ITE 130 files from the backup directory to the
ITE130 directory.
4. Redirect echo step 19 to mark this step in the lab3.txt
file
5. Display all of the directories and sub-directories including
files so I can verify you completed all the
above steps correctly.
6. Repeat the above step and redirect the output to the file
lab3.txt without erasing what is already in it!
1. Copy all of the files in your Files directory to the Backup directory.
$ cp * /backup
2. Create an ITE130 directory in the Classes Directory
mkdir directory/ITE130.
3.Move all the ITE 130 files from the backup directory to the ITE130 directory.
Imagining /backup is the directory where all ITE130 files are stored.
$ cp */directory /backup
$ mv /backup/* /ITE130
4. Redirect echo step 19 to mark this step in the lab3.txt file
$echo step 19 >lab3.txt
5. Display all of the
directories and sub-directories including files so I can verify you
completed all the
above steps correctly.
$ ls -d $PWD/*