srsudar / eg

Useful examples at the command line.
MIT License
1.8k stars 98 forks source link

Add strace examples #90

Closed tyhawkins closed 2 years ago

tyhawkins commented 3 years ago

Adds strace examples.

srsudar commented 3 years ago

Thanks! I don't know how to use strace myself, so this will be useful.

In the first section we try to use only an example that would work exactly as typed, without the <arg> style notation. Do you mind tweaking it with that in mind? Take a look at find.md for examples. In the strace case, eg, rather than:

strace -f <command>

it would be:

strace -f ls

(Or whatever the correct command is.)

Then in the Basic Usage section we use the <arg> format like you have it. I'd offer to edit it myself but I don't have my linux machine handy atm.

tyhawkins commented 3 years ago

@srsudar Updated the PR.

srsudar commented 3 years ago

Sorry for the delay on this. I haven't forgotten. Will try to get to it soon.

srsudar commented 2 years ago

Sorry for the delay on this @tyhawkins. Merging now, and I'll send it out in the next release (probably in a few weeks). Sorry for being so slow.