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...

how will u execute a file in unix

Answer Posted / eugene

sudo chmod +x filename
./filename

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate cmp command from diff command.

1237


What is the use of finger command?

1267


How do I clear my terminal history?

1230


What is unix command?

1320


What is the size of time_t?

1270


How do I search a whole word in vim?

1220


Why is awk called awk?

1136


Enlist some filename manipulation commands in unix.

1219


Is grep faster than awk?

1082


What does sed command do in unix?

1246


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

1193


What does awk stand for?

1143


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

1283


Which command will print your home directory on screen?

1148


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:

2317