How do you copy a directory with many files and folders into
another directory?
Answers were Sorted based on User's Feedback
Answer / guest
cp -R <source_dir> <dest_dir>
Ex: cp GUI ../TEST
| Is This Answer Correct ? | 11 Yes | 2 No |
Answer / ashok jayan
cp -rf <source_dir> <dest_dir>
Note: r - Recursively, f - Forcefully
| Is This Answer Correct ? | 8 Yes | 3 No |
distinguish between user mode and kernel mode?
distinguish between user mode and kernel mode?
Which RAID Levels supported by LVM?
What Is the command to change a file's creation time. means one file is created at the time 15:19 then time should br changed to 14:14
What is the protocol for PING command?
Which command is used to delete all files in the current directory and all its sub-directories?
What is a shell in Unix? Name some common Unix shells.
Assume the following files are in the working directory prompt> ls -l tasks -rw-r--r-- 1 alex student 1423 Feb 21 14:01 tasks What command can Alex use to give everyone permission to write to the file? What will the ls -l command display if he does so?
why unix commands can be divided into internal and external commands?
describe the escaping sequence characteres in unix
How do I open a port?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include<stdlib.h> # include <stdio.h> int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output: