In simple words, sh file1 executing sh command/executable with file1 as a parameter. *** In this case file1 doesn't require execute privilege*** as sh executable readand intercept the commands inthefile.
简单来说,sh file1以file1作为参数执行sh命令/可执行文件。在这种情况下,file1不需要执行权限,因为sh可执行文件读取和截取文件中的命令
./file1 its nothing butrunning/executing an executable file file1, ***hence it requires executable privileges***. In this case it executes onthe shell mentioned inthe shebang #!/bin/sh if its not mentioned then its on the current shell.
./file1它只是运行/执行一个可执行文件file1,因此它需要可执行的权限。在这种情况下,它执行在shebang#!/ bin / sh中提到的shell,如果它没有提到当前的shell。