Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Unix Commands Interview Questions
Questions Answers Views Company eMail

solaris Run level?

Wipro,

3 6410

boot process?

Atos Origin, Wipro,

2 7701

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:

2273

how to unzip the contents of the gzip file

Epsilon,

1 3408

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

Epsilon,

1789

How to find $ai_serual resolved path by using unix

1762

What does 'mkdir' command do in UNIX?

Syntel, Visa,

1314

What is the functionality of a top command?

Amazon,

1114

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

CGI,

1192

What is the use of touch command in there?

Accenture,

1 2414

What is ‘ps’ command for?

1188

What is the significance of the 'tee' command?

1202

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

1280

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

1237

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

1318


Post New Unix Commands Questions

Un-Answered Questions { Unix Commands }

What is rmdir command?

1115


How do I use grep to search for a file?

1059


Give the command for finding the current date.

1121


What is “chmod” command?

1186


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

1280


Explain command to view process running?

1145


What does sed command do in unix?

1202


What is the difference between cat command and more command?

1212


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1575


What are the dos commands?

1267


What does grep v do?

1060


What does grep v grep do?

1083


What are the differences among a system call, a library function, and a unix command?

1232


How do I delete files from command prompt?

1227


Which unix command to make a new directory?

1152