| Skip Navigation Links | |
| Exit Print View | |
|
Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual Sun QFS and Sun Storage Archive Manager 5.3 Information Library |
1. User Commands (Man Pages Section 1)
2. Maintenance Commands (Man Pages Section 1M)
3. Library Functions (Man Pages Section 3)
4. Library Functions (Man Pages Section 3X)
5. File Formats (Man Pages Section 4)
NAME
alterfile - Alters file content
SYNOPSIS
alterfile [-o offset] [-v v_value] [-x x_value] file ...
AVAILABILITY
SUNWsamtp
DESCRIPTION
The alterfile command changes one byte of a file. More than
one file can be specified as input.
OPTIONS
This command accepts the following arguments:
-o offset Alters the byte at this offset in the file. If
not specified, the offset is a random number
within the file.
-v v_value
Changes the byte to v_value. If not specified,
the byte is set to 0.
-x x_value
Changes the byte by exclusive OR-ing the byte with
x_value.
file ... Names one or more files to be changed.