- or download this
"perl -e /.firstboot | echo $?"
- or download this
q{perl -e'exit(-e "/.firstboot" ?1:0)' | echo $?}
- or download this
q{perl -e'print -e "/.firstboot" ?1:0'}
- or download this
q{test ! -e /.firstboot ; echo $?}
-or-
q{if [ -e /.firstboot ] ; then echo 1 ; else echo 0 ; fi}