Thursday, May 2, 2024
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 374  / 2 Years ago, thu, september 8, 2022, 8:33:54

I'm very new to Ubuntu. If I do this sort of command say:



cp file1 file2


The shell creates a child process and that child process will call cp, which in turn call exec system call of operating system.



Are there any command to visualize this process from my terminal?


More From » command-line

 Answers
6

Just like strace traces the system calls, you can use ltrace to trace library calls.


[#35708] Saturday, September 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oileweaty

Total Points: 337
Total Questions: 108
Total Answers: 105

Location: Western Sahara
Member since Mon, May 3, 2021
3 Years ago
oileweaty questions
Thu, Jul 1, 21, 01:57, 3 Years ago
Wed, Nov 24, 21, 11:48, 2 Years ago
Sat, May 14, 22, 00:50, 2 Years ago
;