How do you create a directory in UNIX?
In UNIX, the mkdir command is used to create directories. By executing mkdir directory_name, a new directory with the given name is created in the current location. The command is simple yet powerful, with options like -p, which allows the creation of nested directories in a single command. It's essential for organising files and ensuring structured data storage.
| Is This Answer Correct ? | 0 Yes | 0 No |
How we will execute previous command in vi editor?
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:
what is telnet?
what is the command to find out the difference between files and folders?
Differentiate cmp command from diff command.
What does mkdir up2date; touch outdated up2date do?
Is ‘du’ a command? If so, what is its use?
How do you change file permissions and ownership in Unix?
What is grep r?
Who wrote grep?
what are the uses of filters?
What do chgrp command do?