Skip to Content
Practical Linux Security Cookbook
book

Practical Linux Security Cookbook

by Tajinder Kalsi
April 2016
Beginner to intermediate content levelBeginner to intermediate
276 pages
5h 32m
English
Packt Publishing
Content preview from Practical Linux Security Cookbook

Using system tools – strace

When running any command or program on our Linux machine, you might wonder what the background working of it is. For this, we have a very useful tool in Linux called strace.

This a command-line tool that can be also used as a diagnostic or debugging tool. strace monitors the interaction between processes and the Linux kernel and is helpful when we want to debug the execution of any program.

Getting ready

This tool is available for all Linux-based systems by default. Hence, nothing else needs to be configured to start using strace.

How to do it…

Let's see how strace can be used in various ways to trace the execution of any program from start to end.

  1. To trace the execution of any executable command in Linux, simply run the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Linux Security Cookbook

Linux Security Cookbook

Daniel J. Barrett, Richard E. Silverman, Robert G. Byrnes

Publisher Resources

ISBN: 9781785286421Supplemental Content