Answers were Sorted based on User's Feedback
Answer / ravneet
if the file doesn't have executable permissions than assign
the same as chmod 755 <filename>. after that execute the
same by using command ./<filename>
|Is This Answer Correct ?||25 Yes||2 No|
Answer / narendrasairam
Depending on the type of shell you can execute a file in
either of the ways
1) ksh <filename>
2) sh <filename>
If the file already possess execute bit set on it, then you
can directly execute the file with its name alone
|Is This Answer Correct ?||17 Yes||0 No|
Answer / eugene
sudo chmod +x filename
|Is This Answer Correct ?||6 Yes||1 No|
Answer / lokesh
There are lot of ways by which u can execute a file in Unix.
2. <filename> #only if the permissions are in place for the
3. sh <filename> #uses bash shell
4. nohup <filename> #the process doesn't get killed even on
5. Batch <filename>
6. at <time> <filename> #to schedule the job
7. U can also autorun it by making an entry into the cron
|Is This Answer Correct ?||3 Yes||1 No|
Answer / visu_kvg
Yes the above answer is absolutely apt.
|Is This Answer Correct ?||3 Yes||3 No|
Answer / hari
|Is This Answer Correct ?||1 Yes||1 No|
Answer / rajasekhar
chmod 777 filename
|Is This Answer Correct ?||2 Yes||3 No|
What is the basic difference between unix and windows operating systems?
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)?
What difference between cmp and diff commands?
to list a particular line in the file
can we use cat command as an editor ..???
what is the use of nice command?
distinguish between paging and swapping?
Through which command will redirect output to bOth screen and files at the same time?
How does a user get the current date, time in UNIX?
How do you change your account's password?
what is the shell for dos,nt operating systems?
distinguish between physical addresses and logical address?