Homework #6 Chap. 15 Commands

  1. Open a command prompt on your computer.

  2. Use the md command to create a folder called test in the current directory.

  3. Use the cd command to enter the test directory you created.

  4. Use the dir command to display the current contents of test.

  5. Take a screenshot of your command window showing the above md, cd, and dir commands and their output. Submit this as part of your homework.

  1. Run the following command:

    • echo "Hello World!" > file.txt

    • Echo is a command that simply repeats whatever input you give it back to the screen. The > operator takes the output from the left side of the command (in this case, "Hello World!") and stores in a file with the provided name (in this case, file.txt).

  2. Use the type command to display the contents of file.txt on the screen.

  3. Use the copy command to copy file.txt to a file called file2.txt.

  4. Take a screenshot of your command window showing the echo, type, and copy commands and their output. Submit this as part of your homework.

Use the del command to delete file.txt and file2.txt.

  1. Use the cd command to move out of the test directory and back up to the directory you started in. Check the textbook if you're unsure about how to do this!

  2. Use the rd command to delete your test directory.

  3. Take a screenshot of your command window showing the del, cd, and rd commands and their output. Submit this as part of your homework.

Part 3: Other Commands

Take a look at the "Other Commands You Should Look Over" and "Commands Format" sections in Chap. 15 of the book. Pick two of them that we haven't covered previously in this assignment. Include the following in your homework submission:

The systeminfo command shows all information about your system. This includes os name, os version, os manufacturer, and much more. When diagnosing an issue you may need to know what version os you are running etc.

The wlan show profiles commands will show you all the network names your device has connected to before. This could be useful if you are troubleshooting network connectivity issues.

  • A short description of what the command does.

  • A sentence explaining why the command is useful.

  • A screenshot of a command-line window demonstrating how the command is used.

Last updated