Tag Info

New answers tagged

0

Workaound for '/bin/sh' or busybox status=0 eval ` { ls /dontexists || echo status="$?"; } | tee /dev/null` echo "# status=${status}" Trace : busybox sh ~/bin/test.sh + status=0 + ls /dontexists + tee /dev/null ls: /dontexists: No such file or directory + echo status=1 + eval status=1 + status=1 + echo # status=1 # status=1


0

From less man page: F Scroll forward, and keep trying to read when the end of file is reached. Normally this com- mand would be used when already at the end of the file. It is a way to monitor the tail of a file which is growing while it is being viewed. (The behavior is similar to the "tail -f" command.) ...



Top 50 recent answers are included