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 nr in awk command?

788


How do you grep a case insensitive?

734


What is the functionality of a top command?

834


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

846


What does awk stand for?

796


How do I use grep to find a file?

808


Why is shebang used?

806


Which command will print your home directory on screen?

788


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1019


Differentiate cmp command from diff command.

802


How do I use grep to search for a file?

789


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

975


How to find $ai_serual resolved path by using unix

1267


What are awk commands?

805


What is the significance of the 'tee' command?

824