Red Hat Leftovers
-
Debugging binaries invoked from scripts with GDB | Red Hat Developer
Suppose you want to use GDB, the GNU debugger for C and C++ programs, to debug a program invoked from a shell script. You might have trouble knowing what is going on in the program because the script might give it a complicated run-time context, setting environment variables in various ways depending upon the machine, architecture, installed programs, etc. with which it's being run.
A good example of such a script is /usr/bin/firefox. On my Fedora 35 machine, the firefox script is 290 lines long. It mostly sets a lot of environment variables, but it also contains commands to make directories, remove files and directories, and make symbolic links. All these changes can have impacts on the binary when it runs. Near the end of the script, a command invokes (via exec) another script named run-mozilla.sh.
The run-mozilla.sh script itself is 356 lines long. It also sets environment variables and eventually invokes (also via exec) the Firefox binary. Additionally, the script provides options that allow you to debug the Firefox binary with a debugger, though for this article we won't use those options.
-
Digital transformation: 3 tips to overcome common challenges
Once upon a time, businesses took a measured, sometimes glacial, approach to rolling out new technology. But the pandemic flipped the script on digital transformation, accelerating digital transformation for nearly three-quarters of all businesses by months, if not years. And the speed of adoption increased across all aspects of an organization – from improving operations and new digital business models to delivering seamless customer experiences and adopting new workforce models.
-
5 data science articles IT leaders should read now | The Enterprisers Project
Data science as a practice continues to make its way into the spotlight. Digital transformation technologies such as artificial intelligence, automation, and edge computing are gaining adoption, and data science is powering them. Let 2023 be the year your organization prioritizes data science. Check out these most-read articles to advance your journey.
-
10 tutorials to study for RHCSA certification in 2023 | Enable Sysadmin
Add the Red Hat Certified System Administrator (RHCSA) badge to your resume with the help of these study guides.