
424
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
showmount
showmount [options] [host]
NFS/NIS command. Show information about an NFS server. This
information is maintained by the mountd server on host. The
default value for host is the value returned by hostname. With no
options, show the clients that have mounted directories from the
host. showmount is usually found in /usr/sbin, which is not in the
default search path.
Options
-a, --all
Print all remote mounts in the format hostname:directory,
where hostname is the name of the client and directory is the
root of the filesystem that has been mounted.
-d, --directories
List directories that have been remotely mounted by clients.
-e, --exports
Print the list of exported filesystems.
-h, --help
Provide a short help summary.
--no-headers
Do not print headers.
-v, --version
Report the current version of the program.
shred
shred [options] files
Overwrite a file to make the contents unrecoverable, and delete the
file afterward if requested.
Options
- Shred standard output.
-f, --force
Force permissions to allow writing to files.
--help
Print help message and exit.
-nnum, --iterations=num
Overwrite files num times (default is 25).
-snum, --size=num
Shred num bytes. num can be expressed with suffixes (e.g., K,
M, or G).
-u, --remove
Remove file after overwriting. shred does not remove ...