mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
472 B
Plaintext
26 lines
472 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# bitwise
|
|
|
|
> Multi base interactive calculator supporting dynamic base conversion and bit manipulation.
|
|
> More information: <https://github.com/mellowcandle/bitwise>.
|
|
|
|
- Run using interactive mode:
|
|
|
|
`bitwise`
|
|
|
|
- Convert from decimal:
|
|
|
|
`bitwise {{12345}}`
|
|
|
|
- Convert from hexadecimal:
|
|
|
|
`bitwise {{0x563d}}`
|
|
|
|
- Convert a C-style calculation:
|
|
|
|
`bitwise "{{0x123 + 0x20 - 30 / 50}}"`
|