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 6251

boot process?

Atos Origin, Wipro,

2 7568

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:

2214

how to unzip the contents of the gzip file

Epsilon,

1 3312

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

Epsilon,

1736

How to find $ai_serual resolved path by using unix

1660

What does 'mkdir' command do in UNIX?

Syntel, Visa,

1259

What is the functionality of a top command?

Amazon,

1061

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

CGI,

1118

What is the use of touch command in there?

Accenture,

1 2303

What is ‘ps’ command for?

1146

What is the significance of the 'tee' command?

1146

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

1245

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

1182

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

1267


Post New Unix Commands Questions

Un-Answered Questions { Unix Commands }

What is the search command in unix?

1056


What is the nmap command?

1134


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

1176


Why is shebang used?

1062


Explain command to display different lines that are found when compare two files?

1115


Does cp command overwrite files?

1142


why metadb requires a seperate slice to create Solaris volume manager

3094


Explain how to use grep command to list find the records of a file containing 10 different strings?

1022


What is the command to view process running?

1077


What does the md command do?

1081


Which unix command lists files/folders in alphabetical order?

1681


What does grep v do?

1008


Explain mount and unmount command.

1154


What is the difference between cat and more command?

1238


What is used to type command?

1015