On 17 Nov 2020 18:55:00 GMT, Frank Slootweg wrote:
> You claim to be a Linux junkie
Hi Frank,
Regarding:
o <
https://i.postimg.cc/vTkv7Grh/settings03.jpg> ps -aux | kill -9 <PID>
I started with, oh, the IBM 1110 or 1130 or whatever it was in those days
well before Fortran 77 even existed (we wrote in COBOL, Fortran, PL/1,
etc.) with the elevated floors and air conditioned 'computer rooms' &
dot-matrix printers and I even have a few magtapes & huge floppies about...
And then when I moved to the Silicon Valley we ditched the PDP11, VAXvms &
DEC machines common in the northeast for the Masscomp & SunOS boxes of the
west coast, so to speak (where the "finger memory" began to take hold, as
anyone from our era well knows what I mean by "finger memory").
Eventually the OS moved to Solaris, where I integrated the Mac and Windows
of those days (oh, maybe it was Win95? or maybe Win2k?) using Columbia
Appletalk Protocol (aka cap - remember resource & data forks anyone?) and
Samba for the Cifs/SMB/Samba stuff, and where, even decades later, that
same "finger memory" takes hold for all the commands.
At some point, Linux arrived (in those days, the commercial stuff was on
Redhat, which when I retired, I moved to CentOS, and then Ubuntu after that
(where, yet again, "finger memory" never forgets these commands).
All the while, my "finger memory" has been placing these two in sequence:
o ps -auxww | grep <whatever>
o !! | grep -v <whateverelse>
(repeated, until we get to the desired process id, and then...)
o kill -9 <PID>
I don't use Linux all that much, although the "finger memory" of the
command line is so useful, I wrote this tutorial for Windows folks:
o Tutorial for setting up Ubuntu as a Windows Subsystem for Linux WSL in Windows 10
<
https://groups.google.com/forum/#!topic/alt.comp.freeware/rOT8xBWo9dk>
But most of the time, when I used Linux, it's simply to get the otherwise
brain-dead primitive iOS devices to play nice with Microsoft Windows:
o An elegant solution to managing digital files on ANY iOS, Android, Windows, or Linux device SIMULTANEOUSLY over USB using zero additional software (other than the native OS)
<
https://groups.google.com/forum/#!topic/alt.comp.freeware/H6T7KqzR_ww>
If you don't know about the "bang bang", you're missing a lot; same with
"bang -1 colon global search" (which is super useful finger memory!).
o !! | grep -v <whatever>
o !-1:gs/abc/def (in the previous command, replace abc with def)
I _wish_ Windows' command line shell had these things.
o Even the Android "termux" didn't seem to have most of those
(last I checked)
BTW, if you don't use the "ww", on Solaris anyway, you sometimes won't get
the PID that you're looking for, so I habitually add the "ww" but I didn't
add it for this Android icon name ('cuz almost nobody knows about it).
--
See also:
o Interesting question & answer about "kill -9 <PID>"
<
https://groups.google.com/g/alt.os.linux/c/NXBHBiPFGvE>