Basic Bash pipe tricks -



i'm going run short demonstration of linux audience of 9-10 y.o children @ school. guess none has never seen shell, fun of them i'd show how many things can achieve one-liner pipe.
i'd start with:

echo "hello world" 

and then:

echo "hello world" | figlet echo "hello world" | rev echo "hello world" | mail johndoe@gmail.com 

can suggest me one-liner can use echo ? lot!

if have access netcat (nc) , browser can this:

echo "hello world!" | nc -l localhost 2888

then open browser on http://localhost:2888/ see message.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -