how to log into a soalris zone from the global zone
root@solaris# zlogin zone1
[Connected to zone 'zone1' pts/2]
Last login: Mon Dec 10 10:24:53 on pts/2
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
You have new mail.
#
root@solaris# zlogin zone1
[Connected to zone 'zone1' pts/2]
Last login: Mon Dec 10 10:24:53 on pts/2
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
You have new mail.
#
root@solaris# zoneadm list -v
ID NAME STATUS PATH
0 global running /
2 zone1 running /zones/zone1
Deleting file that have special characters in them can be tricky. This is what you have to do to delete them.
because rm -r -file will give you a error
[root@solaris:/]# rm -C
rm: illegal option — C
usage: rm [-fiRr] file …
so what you have to do is search figure out what the inode is
[root@solaris:/]# ls -il -C
total 2723130
32081 -rw-r–r– 1 root root 1392916480 Dec 4 14:55 -C
the 32081 is the inode number
[root@solaris:/u10/app 102]# find . -inum 32081 -exec rm -i {} \;
rm: remove ./-C (yes/no)? y
now the file is gone, yaha!