What are the general commands in using unix os for a beginner?
What are the commands in UNIX to list the files in a Directory?
How can i know my Filesystem and its current usage in my prod UNIX system?
What command is used to switching between users in unix?
What command will change your prompt to myprompt?
how to unzip the contents of the gzip file
how to sort the content of the file based on numeric values
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:
How to setup Disk space as well as memory in solaris10?
What is the command to find maximum memory taking process on the server?
Give command that will make the file "run.sh" executable?
if we create a file, in that 10 rows(means 1,2,....9,10 like). i want 7 row exactly, which command use in unix? plz send this question.
How to redirect standard error to a file?