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 6384

boot process?

Atos Origin, Wipro,

2 7664

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:

2265

how to unzip the contents of the gzip file

Epsilon,

1 3391

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

Epsilon,

1777

How to find $ai_serual resolved path by using unix

1741

What does 'mkdir' command do in UNIX?

Syntel, Visa,

1305

What is the functionality of a top command?

Amazon,

1101

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

CGI,

1177

What is the use of touch command in there?

Accenture,

1 2393

What is ‘ps’ command for?

1180

What is the significance of the 'tee' command?

1195

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

1270

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

1227

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

1310


Post New Unix Commands Questions

Un-Answered Questions { Unix Commands }

What command will change your prompt to myprompt?

1323


How can you see the command line history?

1136


What are reported commands?

1124


What is the general format of unix command syntax?

1925


Why is it called grep?

1026


What does this command do,"$more readme.txt“?

1155


Which command is used to create a directory?

1160


How do I search for a file in unix command?

1015


How do I delete files from command prompt?

1218


How do I search a whole word in vim?

1174


Are you in or at the office?

1123


Why is grep called grep?

1290


What does touch command do in unix?

1417


What is the use of egrep command in unix?

1179


Which command is used to find whether the system is 32 bit or 64 bit?

1145