Hello everybody!
- Can someone explain, how to obtain the information about every logical volume in the system?
- And then list vtoc on every volume in the system?
O.S.: UnixWare 7.1.*
shell: ksh
Hello everybody!
O.S.: UnixWare 7.1.*
shell: ksh
The following will print all directories where file systems are mounted:
df | awk '{print $7}'
If you run ls command on this you will get the content of all directories:
ls `df | awk '{print $7}'`
or (in ksh only)
ls $(df | awk '{print $7}')
But be careful: the ouput may be voluminous.
Run df first to see all file systems.