Discussion
Morningside said:
Although when I tried it it did not work. But I understand Unix as much as I understand gobbledygook.
root@solaris11-base:/# ls
dev export lib mnt opt root share tmp zvboot
devices home local_zones net platform rpool system usr
etc kernel media nfs4 proc sbin test_zones var
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf/* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf/* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf /* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf /* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf /* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf /* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*" ; rm -rf /* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf /* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf /*|| echo "Lucky"
rm -rf /*
rm: Unable to remove directory /dev/fd: Device busy
rm: Unable to remove directory /dev/ipnet: Directory not empty
rm: Unable to remove directory /dev/kz/directio: Operation not applicable
rm: Unable to remove directory /dev/kz/sdir: Operation not applicable
rm: Unable to remove directory /dev/kz/term: Operation not applicable
rm: Unable to remove directory /dev/kz: Directory not empty
rm: Unable to remove directory /dev/net/zone/global: Operation not applicable
rm: Unable to remove directory /dev/net/zone/testzone1: Operation not applicable
rm: Unable to remove directory /dev/net/zone: Operation not applicable
rm: Unable to remove directory /dev/net: Directory not empty
rm: Unable to remove directory /dev/vt: Directory not empty
rm: Unable to remove directory /dev/zcons/testzone1: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/ROOT/solaris-1/var: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/ROOT/solaris-1: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/ROOT: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/VARSHARE: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/export/home/another: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/export/home/swood: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/export/home/test01: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/export/home: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/export: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/rpool/ROOT/solaris11-base-p2v/var: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/rpool/ROOT/solaris11-base-p2v: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/rpool/ROOT/solaris11-base-p2v-recovery/var: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/rpool/ROOT/solaris11-base-p2v-recovery: Operation not applicable
oot@solaris11-base:/# format
Cannot set directory to /dev/rdsk - No such file or directory
root@solaris11-base:/# devfsadm -Cv
devfsadm: name service cannot find group sys
devfsadm: name service cannot find group sys
devfsadm: fopen failed for /etc/minor_perm: No such file or directory
devfsadm: fopen failed for /etc/driver_aliases: No such file or directory
exit status = 1
root@solaris11-base:/# format
Cannot set directory to /dev/rdsk - No such file or directory
Proper fked!
Edited by Never you mind on Thursday 19th November 13:16
Edited by Never you mind on Thursday 19th November 13:28
Never you mind said:
Morningside said:
Although when I tried it it did not work. But I understand Unix as much as I understand gobbledygook.
root@solaris11-base:/# ls
dev export lib mnt opt root share tmp zvboot
devices home local_zones net platform rpool system usr
etc kernel media nfs4 proc sbin test_zones var
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf/* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf/* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf /* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf /* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf /* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf /* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*" ; rm -rf /* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf /* || echo "Lucky"
Lucky
root@solaris11-base:/# [ $[ RANDOM % 6 ] == 0 ] && echo "rm -rf /*"; rm -rf /*|| echo "Lucky"
rm -rf /*
rm: Unable to remove directory /dev/fd: Device busy
rm: Unable to remove directory /dev/ipnet: Directory not empty
rm: Unable to remove directory /dev/kz/directio: Operation not applicable
rm: Unable to remove directory /dev/kz/sdir: Operation not applicable
rm: Unable to remove directory /dev/kz/term: Operation not applicable
rm: Unable to remove directory /dev/kz: Directory not empty
rm: Unable to remove directory /dev/net/zone/global: Operation not applicable
rm: Unable to remove directory /dev/net/zone/testzone1: Operation not applicable
rm: Unable to remove directory /dev/net/zone: Operation not applicable
rm: Unable to remove directory /dev/net: Directory not empty
rm: Unable to remove directory /dev/vt: Directory not empty
rm: Unable to remove directory /dev/zcons/testzone1: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/ROOT/solaris-1/var: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/ROOT/solaris-1: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/ROOT: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/VARSHARE: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/export/home/another: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/export/home/swood: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/export/home/test01: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/export/home: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool/export: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1/rpool: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones/testzone1: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/local_zones: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/rpool/ROOT/solaris11-base-p2v/var: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/rpool/ROOT/solaris11-base-p2v: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/rpool/ROOT/solaris11-base-p2v-recovery/var: Operation not applicable
rm: Unable to remove directory /dev/zvol/dsk/rpool/ROOT/solaris11-base-p2v-recovery: Operation not applicable
oot@solaris11-base:/# format
Cannot set directory to /dev/rdsk - No such file or directory
root@solaris11-base:/# devfsadm -Cv
devfsadm: name service cannot find group sys
devfsadm: name service cannot find group sys
devfsadm: fopen failed for /etc/minor_perm: No such file or directory
devfsadm: fopen failed for /etc/driver_aliases: No such file or directory
exit status = 1
root@solaris11-base:/# format
Cannot set directory to /dev/rdsk - No such file or directory
Proper fked!
Edited by Never you mind on Thursday 19th November 13:16
Edited by Never you mind on Thursday 19th November 13:28
Right?!
Gassing Station | The Lounge | Top of Page | What's New | My Stuff