JavaScript is required to for searching.
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
search filter icon
search icon

Document Information

Preface

1.  User Commands (Man Pages Section 1)

alterfile(1)

archive(1)

dvt(1)

genfile(1)

pdvt(1)

release(1)

request(1)

schproj(1)

sdu(1)

segment(1)

setfa(1)

sfind(1)

sls(1)

squota(1)

ssum(1)

stage(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)

6.  Standards, Environment, and Macros (Man Pages Section 5)

7.  Device and Network Interfaces (Man Pages Section 7)

alterfile(1)

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.