What happens when the command ST is executed? *
Answers
Answered by
1
Answer:
ᴏɴᴄᴇ ᴛʜᴇ ᴇxᴇᴄᴜᴛᴀʙʟᴇ ғɪʟᴇ ɪs ғᴏᴜɴᴅ ᴛʜᴇ ᴇxᴇᴄᴠᴇ ғᴜɴᴄᴛɪᴏɴ ᴡɪʟʟ ʀᴇᴄᴇɪᴠᴇ ᴛʜᴇ ɴᴇᴇᴅᴇᴅ ᴘᴀʀᴀᴍᴇᴛᴇʀs sᴜᴄʜ ᴀs ʀᴏᴜᴛᴇ, ғɪʟᴇɴᴀᴍᴇ, ᴀʀɢs. ᴛʜᴇ ᴇxᴇᴄᴠᴇ ғᴜɴᴄᴛɪᴏɴ ᴇxᴇᴄᴜᴛᴇs ᴛʜᴇ ᴘʀᴏɢʀᴀᴍ ᴘᴏɪɴᴛᴇᴅ ᴛᴏ ʙʏ ғɪʟᴇɴᴀᴍᴇ. ғɪʟᴇɴᴀᴍᴇ ᴍᴜsᴛ ʙᴇ ᴇɪᴛʜᴇʀ ᴀ ʙɪɴᴀʀʏ ᴇxᴇᴄᴜᴛᴀʙʟᴇ, ᴏʀ ᴀ sᴄʀɪᴘᴛ sᴛᴀʀᴛɪɴɢ ᴡɪᴛʜ ᴀ ʟɪɴᴇ ᴏғ ᴛʜᴇ ғᴏʀᴍ: #!
Answered by
3
Explanation:
Once the executable file is found the execve function will receive the needed parameters such as route, filename, args. The execve function executes the program pointed to by filename. Filename must be either a binary executable, or a script starting with a line of the form: #!
ʜᴏᴘᴇ ɪᴛ ᴡɪʟʟ ʜᴇʟᴘ ʏᴏᴜ.
ᴍᴀʀᴋ ᴀꜱ ʙʀᴀɪɴʟɪꜱᴛ.
Similar questions