files=”” && ls -1 *.c|while read line; do files=”$line $files”; done && $(gcc -Wall $(echo $files) -o bin.x) && echo -ne “Running bin.x\n” && ./bin.x > bin.log & zsh saves variables. bash doesn’t. files=”” && ls -1 *.c|while read line; do files=”$files $line”; echo $files > files.lst; done && gcc -v -Wall `tail -n 1 […]
lsof -i -P | grep -i “listen” is netstat -lnap|grep “LISTEN”
https://serverfault.com/questions/294218/is-there-a-way-to-redirect-output-to-a-file-without-buffering-on-unix-linux This buffers stdout up to a line: This disables stdout buffering altogether: This disables stdout buffering altogether:
https://stackoverflow.com/a/17258659 It is safer becuse you don’t have to mention the type name twice and don’t have to build the proper spelling for “dereferenced” version of the type. For example, you don’t have to “count the stars” in Compare that to the type-based sizeof in where you have too make sure you used the right number of * under sizeof. […]
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!