Common Options

Lcrash HOWTO
Prev | Chapter 4. Lcrash Command Reference | Next

# 4.2. Common Options

Most lcrash commands have two things in common:

1. Command output can be piped to normal shell commands like less or grep.

2. They support the option `-w` to write output to a file.

To pipe the output of a command to less, just specify lcrash_command | less. Take care to use a blank before the pipe symbol, otherwise it could be misinterpreted by lcrash.

When using lcrash_command `-w` `filename`, lcrash appends the output of the executed command to the file `filename`.

Prev | Home | Next
Lcrash Command Reference | Up | base