Tag Info

Hot answers tagged


rm deletes files regardless of their size. Very large files can take a little time to delete, because the filesystem needs to mark all the blocks that the file used as available. That cost has to be paid at one time or another; if you don't pay it at deletion time, you pay it when files are created. Zfs offers a way to defer the cost of deleting a directory ...


cas's answer is good, but if you actually need to parse the output in awk again and want to do this from within the first awk command you have a fantastic pipe command syntax in awk: awk ' { cmd = "echo name:tag:url:method" # (very simple example) while (cmd | getline) { #process output ($0) print } close(cmd) } '


You may be able to do what you want by piping awk's output into a while read loop. For example: awk '/^#/ {next}; NF == 0 {next}; NF != 4 {exit 1} ; {print}' | while read NAME METHOD URL TAG ; do : # do stuff with $NAME, $METHOD, $URL, $TAG echo "$NAME:$METHOD:$URL:$TAG" done if [ "$PIPESTATUS" -eq 1 ] ; then : # do something ...


If you think Network at your end is pretty fast, confirm that with sites like SpeedTest. If you are right, check the System performance you are connecting to, it may be burdened. Also, utilities like ping, traceroute, etc. can help you check the congestion if any as suggested above by @Jakuje. You can also use Wireshark to find more realistic view of what's ...

Only top voted, non community-wiki answers of a minimum length are eligible