how will u execute a file in unix

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command to find hidden files in the current directory?

570


How does pipe () work?

585


What are the dos commands?

638


What is the use of find command in unix?

570


Write a command to kill the last background job?

608






What is updatedb?

576


What is the pipe command?

565


Name the unix command to find how many days the server has been up.

590


What is grep and how do you use it?

565


What does this command do? Cat food 1 > kitty

969


Explain ‘system calls’ with respect to unix commands?

593


What is the use of awk command in unix?

565


What is awk used for?

611


What is .sh file?

611


What is the comma to display different lines that are found when compare two files?

585