Is there a way to do these two lines of code in one line?
nc -l 17500 > listenToNetcat.txt
chmod 754 listenToNetcat.txt
Is there a way to do these two lines of code in one line?
nc -l 17500 > listenToNetcat.txt
chmod 754 listenToNetcat.txt
nc -l 17500 >> listenToNetcat.txt |xargs chmod 754 listenToNetcat.txt