David Christensen wrote:

> For sysadmin, I *use* what comes on the platform.  On Debian:
>
> 2023-04-02 13:40:08 root@taz ~
> # cat /etc/debian_version ; uname -a
> 11.6
> Linux taz 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1
> (2023-01-21) x86_64 GNU/Linux
>
> 2023-04-02 13:40:17 root@taz ~
> # echo $PATH | tr ':' '\n' | perl -MFile::Slurp -ne
>   'chomp;@e=read_dir($_,prefix=>1); print map "$_\n",@e'|xargs
>   file|perl -pe 's/\S+\s+//'|grep -v 'symbolic link'|perl -pe
>   's/, dynamically linked.+//'|sort|uniq -c|sort -rn
>    1868 ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV)
>     356 POSIX shell script, ASCII text executable
>     192 Perl script text executable
>      40 Python script, ASCII text executable
>      36 Bourne-Again shell script, ASCII text executable
>      30 setuid ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV)
>      20 ELF 64-bit LSB executable, x86-64, version 1 (SYSV)
>      16 setgid ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV)
>      14 Tcl script, ASCII text executable
>      10 ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux)
>       8 POSIX shell script, UTF-8 Unicode text executable
>       4 Python script, UTF-8 Unicode text executable
>       4 POSIX shell script, ASCII text executable, with very long lines
>       2 a /usr/bin/env sh script, ASCII text executable
>       2 a /bin/mksh script, UTF-8 Unicode text executable
>       2 Python script, ISO-8859 text executable
>       2 Java source, UTF-8 Unicode text
>       2 ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux)
>       2 Bourne-Again shell script, ASCII text executable [...]

Psychedelic! :O

Well done!

Okay, so there is more Perl than Python, but both are
prominent, so maybe and should have an understanding of both
then ... and not so difficult to do, right?

But you change that stuff, or use Perl/Python as glue? If you
are, maybe either works pretty well, ey?

-- 
underground experts united
https://dataswamp.org/~incal

Reply via email to