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?

604


How do I search for a file in unix command?

549


Enlist some filename manipulation commands in unix.

556


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

631


What is the difference between grep and grep?

569






What is s and g in sed command?

561


What does sed command do in unix?

566


Explain ‘library functions’ with respect to unix commands?

604


What does grep v grep do?

556


Does cp command overwrite files?

626


Which command should you use to find the remaining disk space in unix server?

709


What is updatedb?

588


What are the differences among a system call, a library function, and a unix command?

567


Name the various commands that are used for the user information in unix.

541


Explain ‘system calls’ with respect to unix commands?

604