Open Command Prompt typing CMD command in your Search window.
Change the directory from current to root (C:).
Make a new directory called CIS165_Your Last Name (example: CIS165_Nossa).
Within this directory, make subdirectories called Can1 and Can2. Verify the created directory and subdirectories using particular command.
Under Can1 subdirectory creates three files called Jam.txt, Milk.txt and Juice.txt. Verify that you created these files using particular command.
Move Jam.txt file from the Can1 subdirectory to the Can2 folder.
Compare using special command that file Jam.txt was moved to the Can2 folder without losing any bits.
Copy simultaneously Milk.txt and Juice.txt to Can2 folder.
Compare using special command that file Milk.txt was moved to the Can2 folder without losing any bits.
Hide the Juice.txt file under the Can2 subdirectory. Verify that file is hidden.
10. Assign read only to the Milk.txt file under the Can2 folder.
11. Delete the Can1 subdirectory.
12. Show the graphically structure on your CIS165_Nossa directory.
Show the steps how to do the CMD prompt and explainations.
1. cd\ :- will change the the directory to \(root). "cd" command
is used for changing the directory. here, "\" represents the root
of the drive.
2. mkdir CIS165_lastName :- will create a directory with name
CIS165_lastName in the current directory i.e. root.
3.
4.
5. move CIS165_lastName\can1\Jam.txt CIS165_lastName\can2 :-
will move the Jam.txt from can1 to can2 directory.
6. comp CIS165_lastName\can1\Jam.txt CIS165_lastName\can2\Jam.txt
:- will compare the Jam.txt present in can2.
7.
8. comp CIS165_lastName\can1\Milk.txt
CIS165_lastName\can2\Milk.txt :- will compare the Milk.txt of can2
with the Milk.txt of can1 directory.
9.
10. attrib +r CIS165_lastName\can2\Milk.txt :- will add
"read-only" attribute to the Milk.txt in the can2 directory.
11. rmdir /s CIS165_lastName/can1 :- will delete the can1 directory
along with all the contents present in it.
12.
outputs:
Open Command Prompt typing CMD command in your Search window. Change the directory from current to...
1. Navigate to your home directory by typing cd. Now type ls and notice that there is a subdirectory called Downloads. Now navigate to the root of the file system by typing cd /. From here, which single command would you use to navigate directly to the Downloads folder that is located in your home directory? The output of the command would be as follows: 2. From the Downloads directory which single command would you use to navigate back up...
LINUX QUESTIONS (dont have to display output, I will be running these commands myself to check the output) Display the command(s) used to do the following: create an empty file called history by using just a redirection operator. Verify and show. Show/verify all results (i.e., all commands and their corresponding outputs). Wait 1 minute or more and then display the command(s) used to do the following: change the timestamp on the history file you just created. Verify/display the change. Show/verify...
do numbers 4-8 4. Given any directory, use the Is command to display: • all files and sub-directories starting with the letter "D" (note do not list anything in any sub-directory) • its immediate sub-directories (sub-directories only, and no other ordinary files) its immediate hidden sub-directories only - take a screenshot (#3-3) that clearly shows the command and the result. 5. Assume that the following files are in the working directory: $ ls intro notesb ref2 section 1 section3 section4b...
1 Overview The goal of this assignment is to help you understand caches better. You are required to write a cache simulator using the C programming language. The programs have to run on iLab machines. We are providing real program memory traces as input to your cache simulator. The format and structure of the memory traces are described below. We will not give you improperly formatted files. You can assume all your input files will be in proper format as...
You need not run Python programs on a computer in solving the following problems. Place your answers into separate "text" files using the names indicated on each problem. Please create your text files using the same text editor that you use for your .py files. Answer submitted in another file format such as .doc, .pages, .rtf, or.pdf will lose least one point per problem! [1] 3 points Use file math.txt What is the precise output from the following code? bar...