Tech tutorials, How To's & User guides

MENUMENU
  • Linux
  • Ubuntu
  • Python
  • NodeJS
  • Apache
  • Nginx
  • Website Administration
    • PHP
    • Django
  • Git

test variable

How to Test If Variable is Number in Shell Script

March 16, 2022March 16, 2022 Sreeram Sreenivasan Leave a comment CentOS/RHEL, Linux, Ubuntu
check if variable is number in shell script

Often you may need to check if a variable is a number in shell script and process it. Here is how to test if variable is number in Shell Script.

Continue reading


Recent Posts

  • How to Start Background Process in Python
  • How to Check if Substring is in List of Strings
  • How to Check if Column is Empty or Null in MySQL
  • How to Schedule Multiple Cron Jobs in One Crontab
  • How to POST JSON Data in Python Requests

Follow Us

  • Facebook
  • Twitter
© 2021 Fedingo | About Us | Contact Us | Privacy Policy
dazzling Theme by Colorlib Powered by WordPress