๐ How To Save The Output Of A Linux/Unix Command To A File
๐ก Newskategorie: Unix Server
๐ Quelle: cyberciti.biz
{Updated} When you want to have both stderr and stdout displayed on the terminal and in a file use this syntax on your Linux or Unix/macOS/BSD:
cmd 2>&1 &vert tee file
whois ip-address 2>&1 &vert tee spammer.txt
more spammer.txt.
Learn how to save the output of a Linux / Unix command to a file.
The post How To Save The Output Of A Linux/Unix Command To A File appeared first on nixCraft. ...