Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Un-Answered Questions { Unix Commands }

what is the advaantage of each user having its own copy of the shell?

1553


hw will u use awk in replacing cahrs and files

2293


why metadb requires a seperate slice to create Solaris volume manager

2147


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 # include 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:

1342


how to sort the content of the file based on numeric values

828


How to find $ai_serual resolved path by using unix

440


What does 'mkdir' command do in UNIX?

254


What is the functionality of a top command?

255


What are the commands in UNIX to list the files in a Directory?

234


What is ‘ps’ command for?

221


What is the significance of the 'tee' command?

231


What does the command ' $who | sort –logfile > newfile' do?

280


What does the command '$ls | wc –l > file1' do?

234


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

234


Explain the steps that a shell follows while processing a command.

248