Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How To Share Command Output Effectively  (Read 27862 times)

0 Members and 1 Guest are viewing this topic.

Vineesh K P

  • Guest
How To Share Command Output Effectively
« on: November 19, 2018, 03:55:09 pm »
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!