我想测试我的变量$var是否实际上是一个整数.我该怎么办呢?
$var
testing variables bash integer
bash ×1
integer ×1
testing ×1
variables ×1