Skip to main content

any way to bind a executable file and a bash file together into another binary file [Resolved]

There's a binary executable file and a bash file which will execute the binary file as below:

./binary_exec_file -a xxx -b xxx

But I intend to hide the sensitive parameters when using ps aux | grep binary_exec_file, so is there any way to bind the executable file and the bash file into another executable binary file which I could run via ./combined_binary_exec_file? Thanks.

Question Credit: Jason Zhu
Question Reference
Asked December 7, 2017
Posted Under: Unix Linux
1 Answers

Your Answer