• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

bitwise Command Examples in Linux

by admin

bitwise is a multi-base interactive calculator that supports dynamic base conversion and bit manipulation. bitwise is a command-line utility that allows users to perform various mathematical and logical operations on numbers, including bitwise operations, in different number bases.

To use bitwise, you will need to have the bitwise package installed on your Linux system. You can install bitwise using the package manager for your specific distribution of Linux. For example, on an Ubuntu system, you can use the apt command to install bitwise:

$ sudo apt install bitwise

Simple base conversion

Simple base conversion using bitwise command

C style syntax Calculator

C style syntax Calculator using bitwise command

bitwise Command Examples

1. Run using interactive mode:

# bitwise

2. Convert from decimal:

# bitwise 12345

3. Convert from hexadecimal:

# bitwise 0x563d

4. Convert a C-style calculation:

# bitwise "0x123 + 0x20 - 30 / 50"

Filed Under: Linux

Some more articles you might also be interested in …

  1. iostat Command Examples in Linux
  2. flameshot Command Examples in Linux
  3. ioping: command not found
  4. pwck Command Examples in Linux
  5. “hg pull” Command Examples
  6. hdiutil Command Examples in Mac
  7. CentOS / RHEL : Resize (extend) non-root EXT3/4 filesystem on LVM device
  8. stress: command not found
  9. resize2fs: commnd not found
  10. locale Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright