# S command

The S command scans the buffer table
bits and displays and/or clears them depending on the certain criteria.

## Syntax

```
S[f|h|i|m|s|w]{-}
```

## Parameter(s)

| - | Clears instead of displays. |
| --- | --- |
| f | Referenced bit. |
| h | Hold bit. |
| i | Iobusy bit (disk read). |
| m | Temporary mlock bit. |
| s | Suppresses detail output and shows only the total. |
| w | Write-required bit. |

## Description

The user specifies which bits
to search for using the above options. When a buffer is found, it
displays in a manner similar to that of the h command.
The user may go backward or forward in the selection list using CTRL+P
and CTRL+N. At completion, the total count of items is indicated.

Note: The count is only accurate if forward movement only is used.

---
Source: https://d3codex.com/unix/s-command-uppercase/ - part of the D3Codex reference.
