shell脚本判断Linux是32位还是64位
发布于 分类 Linux
43天前 有1个用户阅读过
Get_OS_Bit()
{
if [[ `getconf WORD_BIT` = '32' && `getconf LONG_BIT` = '64' ]] ; then
Is_64bit='y'
else
Is_64bit='n'
fi
}
-- The End --
发布于 分类 Linux
43天前 有1个用户阅读过
Get_OS_Bit()
{
if [[ `getconf WORD_BIT` = '32' && `getconf LONG_BIT` = '64' ]] ; then
Is_64bit='y'
else
Is_64bit='n'
fi
}
-- The End --