Useful GNU compatible commands

6 respostas [Última entrada]
Jonathan Matt Gresham
Desconectado
Joined: 07/24/2023

Sending this to name at domain
because these commands are cool and useful
also... kill the PID not the process name.

----- Forwarded message from Jonathan Matthew Gresham <name at domain> -----

> Date: Sun, 25 Feb 2024 16:01:03 -0500
> From: Jonathan Matthew Gresham <name at domain>
> To: name at domain
> Subject: Useful Unix compatible commands
> User-Agent: K-9 Mail for Android
>
> Sorry for the misleading post the other day. However, I have been reading a Unix system administrators textbook.
>
> ps -e
>
> This lists the processes
>
> In that display (if I'm correct) if you see a program that has extremely high time, then you should kill the process.
>
> kill process
>
> There is also
>
> ls -R
>
> This command lists the files in each subdirectory.
>
> If you know any more that can work on GNU compatible software or Unix compatible software please indicate the commands in your reply.

----- End forwarded message -----

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

kill the PID not the process name.

There is killall to kill processes by name.

Jonathan Matt Gresham
Desconectado
Joined: 07/24/2023

right, yeah I forgot to be clear.
the PID is indicated in both kill and ps -e
I have used killall before.

On 24/02/25 10:30PM, name at domain wrote:
> kill the PID not the process name.
>
> There is killall to kill processes by name.

Jonathan Matt Gresham
Desconectado
Joined: 07/24/2023

Oh, and I learned about a program/command called "strings" which
displays the content of binary data in a shell or terminal... I might be
slightly incorrect in my description, but more or less cannot print
binary data to the screen; you need this "strings" program. This I think
comes built in.

On 24/02/25 05:34PM, matt wrote:
> right, yeah I forgot to be clear.
> the PID is indicated in both kill and ps -e
> I have used killall before.
>
> On 24/02/25 10:30PM, name at domain wrote:
> > kill the PID not the process name.
> >
> > There is killall to kill processes by name.

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

I learned about a program/command called "strings" which displays the content of binary data

"strings prints the printable character sequences" of a non-text files, as the manual says. So, not what is in binary.

Jonathan Matt Gresham
Desconectado
Joined: 07/24/2023

Ah, well, I suppose you expect me to say that that is what I meant.
However, thank you.

On 24/02/25 11:22PM, name at domain wrote:
> I learned about a program/command called "strings" which displays the
> content of binary data
>
> "strings prints the printable character sequences" of a non-text files, as
> the manual says. So, not what is in binary.

andyprough
Conectado
Joined: 02/12/2015

Wow! 'ls -R' is awesome - that's a great tip.