Utility

Curl with perl

alias pcurl='perl -MHTTP::Tiny -e '\''$_=shift;$_="http://$_" unless /^https?:\/\//;print HTTP::Tiny->new->get($_)->{content};'\'''
pcurl http://<IP>:<PORT>/<FILE> > file

Powershell or CMD?

(dir 2>&1 *`|echo CMD);&<# rem #>echo PowerShell

Last updated

Was this helpful?