#SystemProgramming linux 有一个command叫watch,watch -b ./executable的话,该程序以非exit(0)的状态退出,你的terminal就会发出beep的声音。适合我这种一边码字一边跑实验的人orz
继续#SystemProgramming , patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 <binary> ,可以用来修复一个程序的interpreter。
the interpreter is the program that “launches” the executable file. For a regular binary it’s the loader, i.e., /lib64/ld-linux-x86-64.so.2. For a script it would be the script interpreter (bash, python, etc). #systemProgramming
Kateです。アメリカのペン大でコンピューターシステムを研究している大学院生です。日本語を勉強しているから少し話せます。ビデオゲームが大好きです。
FC:SW-8149-0004-0143
PSN:kate0115