6 ms·
Mentioning strace in an article titled "Learn just enough Linux to get things done" seems so out of place as to be absurd, even in an "Advanced" section. Anyone
by AlexB138 9y ago
Mentioning strace in an article titled "Learn just enough Linux to get things done" seems so out of place as to be absurd, even in an "Advanced" section. Anyone who needs the rest of this advice is going to be absolutely baffled by strace.
Otherwise, decent little primer.
- kirk781 9y agoEven 'netstat | head -n20' is out of place for introductory Linux.
- mediocrejoker 9y agoAlso curious was the inclusion of pushd/popd without explaining what a 'stack' is
- throwaway7645 9y agoNot sure bout netstat, but I pipe text to | head and use the -n flag to specify # of lines all the time.
- jjrh 9y agoI'd tend to agree, but I think it really depends on what the person is doing/what the end goal is.
- luord 9y agoI've been a linux user for almost eleven years now, and a professional software developer for four, and I wasn't even aware that strace existed until just now.
- laresistance 9y agoI've been tinkering on Linux as a hobby for about 2 years now and was made aware of strace a couple of months after starting to dig a bit deeper. You make me hopeful of my future employment.
- empath75 9y agoI’m 100% telling the truth when I say I got a job as a Linux sys admin at a massive tech company on the basis of knowing a little bit of bash scripting. And this wasn’t even that long ago. Learn some devops stuff and you’re golden.
- thethirdone 9y agoI assume you haven't been done much development in C, C++ or something similar then. Because if you had, I don't know how you could not know that strace existed. Maybe you wouldn't know how to use it, but I don't see how you could be unaware of its existence if you are familiar at all with linux dev tools.
- lamby 9y agoAgree, although strace is a curious tool in that — by exposing the fact that userspace is "just" syscalls — it's highly educational about UNIX in general.