Give a command line for copying all the files and directories under a directory courses in your home directory. Assume that you are in your home directory. Give another command to accomplish the above task, assuming that you are not in your home directory.
What will be an ideal response?
• cp -r courses .
• cp -r ~/courses ~ (If your system is not BSD compliant, replace ~ with $HOME.)
You might also like to view...
Most modern fax machines operate using the following standard:
a. Group 1 b. Group 2 c. Group 3 d. Group 4
The access method used by wireless networks is
A) Token passing B) CSMA/CA C) CSMA/CD D) mesh
What is the value of r after the following code executes? mySet = {2, 3, 5, 7, 11}yourSet = {5, 7, 2, 11, 3}r = yourSet == mySet
A. {5, 7, 2, 11, 3} B. True C. False D. 0
The following function cycles through a linked list and displays its contents. Line 3 can be replaced with ____. 1 void display(struct myStruct *contents)2 {3 while (contents != NULL)4 {5 printf("%-30s\n",contents->name, contents->phoneNum);6 contents = contents->nextaddr;7 }8 }
A. while (isValid(contents)) B. while (contents != EOF) C. while (!contents) D. while (contents != NIL)