• My Book
  • About My website
  • Search

Amit Agarwal Linux Blog

Convert decimal numbers to binary

2010-04-21 0 min read Bash
\"SYDNEY,
Image by Getty Images via Daylife

There is a calculator called bc that works in the command line. So if you need a quick calculator function in the command line then you could write some functions that will do the trcik for you. Here is an example:

Continue reading
Binary Numeral System Decimal Google Hosting Search Search Engines Uniform Resource Locator Web Design and Development
Latest posts
  • Convert Man Pages to ASCII, HTML, Markdown, and PDF (Groff + Pandoc)
  • Abusing Active Directory Certificate Services with Certipy: From Initial Access to Beyond Root
  • Building and Breaking a Vulnerable Active Directory Lab: Full Exploitation Walkthrough
  • Run a Local LLM API Server with vLLM (OpenAI-Compatible, Fast, and Simple)
  • Fixing NXC Not Showing Passwords During Brute Force Password Sprays
  • Golden Ticket Attack: Exploiting Kerberos from Linux
  • Color-Coded URL Status Checker in Bash: Enhanced Script for Fast Web Health Monitoring
Categories
  • Linux (530)
  • Fedora (343)
  • Bash (216)
  • Uncategorized (191)
  • Learning (156)
  • Photo (76)
  • Vim Tips (37)
Social media
© 2018 - 2026 by Amit Agarwal - rss
Bilberry Hugo Theme