General Category > General Discussion

How To Share Command Output Effectively

(1/1)

Vineesh K P:
Hello All,

Today I want to share with you an awesome way to share the Linux command line output to anyone using nc command.

There are several occasions where we wish to share some command line output to someone. Usually, we share this by pasting the output in the message itself. It makes the conversation longer. There is a cooler way to do this, using the "nc" command.

For example, consider you wish to share the output of the following command.

echo hello

You can do this as follows.

$ echo hello | nc seashells.io 1337

You will get an output like this: serving at https://seashells.io/v/HrTNrp4h

When you go to the link mentioned above, you can see the output of the command you have entered earlier.

We recommend you don't pass any sensitive information through this.

Hope you found this useful,

Cheers!

Navigation

[0] Message Index

Go to full version