How Would You Display Information About A Command You Have Not Used Before?

Submitted By cverbic
Words: 1017
Pages: 5

ITS 342 MID TERM REVIEW

1. How would you display information about a command you have not used before? /?
2. List 6 commands that would help with file management. DIR, MD,RD, XCOPY, ROBOCOPY, CD, REN, MOVE, DEL, COPY
3. What is a shell? An interface to give commands to an Operating System
4. Which to symbols can be used as switches? / and -
5. What sends the output from one command to another? The pipe command or |
6. The new guy, Tim is constantly typing “dir” in the command line to get a list of files within a specific directory; however, he complains that he can’t see everything. What command in addition to “dir” would help him out? DIR | MORE
7. Is it true that you can use “WINSAT” for Windows XP? FALSE
8. What is the primary difference between XCOPY and ROBOCOPY? Xcopy is for XP or older, Robocopy is for vista or newer.
9. What is a good way to find a hidden virus through the command line? TREE
10. Tom is working on a powerful computer graphics workstation and the user complains about the screen being fuzzy and sometimes going black. Tom wants another way to diagnose the problem and comes to you for help. What is a good command line tool that will help Tom? DXDiag
11. How would you create a backup with WBadmin without the usual messages? -quiet
12. What would you use to define resources available to other users or machines on a network? NET SHARE
13. How do you stop the print spooler service on XP through the command line? NET STOP “Print Spooler”
14. Jerry needs to display all connections and listening ports for the gateway. What command would give Jerry what he needs? NETSTAT -a
15. Notepad.exe keeps hanging and is not known by its name but has the PID of 283432. What Command would you use to kill the process? TASKKILL /PID 283432
16. Susan is running Windows 7 and claims there is a virus on her computer. The normal scans indicate no virus; just to be sure you want to run Windows’ Malicious Software Removal Tool quietly in the background. What is command to do this function? MRT /Q
17. Jwillis01 accessing a share complains that he does not have access to the folder “RD-EX”, using CACL how would you grant the user access to the folder? CACLS RD-EX /G jwillis01:R
18. Is it true that CACL is more secure than ICACL? False
19. A benchmark is needed on 300 new laptops for your organization before distribution with a recording of each one. In your batch file what command would you use to perform the benchmark and the log? WINSAT –v > log.txt
20. You were asked to do an audit on a web server. You noticed that there are no auditing event logs in the event viewer. You wish to create a new event, what command is best for this task? EVENTTRIGGERS /create
21. True/False: FSUTIL allow an admin to define and set disk quotas. TRUE
22. Stacy has just finished a backup on several servers. The backups are on a Data Server. Stacy wants you to make sure they are archived and that they cannot be tampered with but still be visible. Within your batch file what command would work best with this task? ATTRIB +S
23. While writing a batch file you remember a previous batch file you created called Runner.bat. How would you start this batch file within the one you are creating? CALL runner.bat
24. Your making a batch file that will be used on may systems with many customizations. You want to make sure that you are creating a folder called “Check IN” for developers on their desktops. What command line is best for this task? MD %userprofile%/desktop/“Check IN”
25. Which environment variable will take you to “%SystemDrive%\Program Files” folder? %PROGRAMFILES%
26. Which environment variable will tell you the name of the computer? %COMUTERNAME%
27. True/False: %SYSTEMDRIVE% and %HOMEPATH% will, majority of the time, take you to the same directory. TRUE
28. What command would you use to repeat what you have on the screen? ECHO
29. What are the two methods of starting a script in windows? Cscript and Wscript