Files
cheatsheet-tldr/tldr/linux/bitwise

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}}"`