Warning: mkdir(): No space left on device in /var/www/hottg/post.php on line 59

Warning: file_put_contents(aCache/aDaily/2025-07-22/post/lightFantasy/--): Failed to open stream: No such file or directory in /var/www/hottg/post.php on line 72
#Linux #tips @浅影随想
TG Telegram Group & Channel
浅影随想 | United States America (US)
Create: Update:

#Linux #tips
如何在 shell 脚本中判断软件是否存在

if ! command -v <the_command> &> /dev/null
then
echo "<the_command> could not be found."
exit 1
fi


via. lhunath@stackoverflow

#Linux #tips
如何在 shell 脚本中判断软件是否存在

if ! command -v <the_command> &> /dev/null
then
echo "<the_command> could not be found."
exit 1
fi


via. lhunath@stackoverflow


>>Click here to continue<<

浅影随想




Share with your best friend
VIEW MORE

United States America Popular Telegram Group (US)


Warning: Undefined array key 3 in /var/www/hottg/function.php on line 115

Fatal error: Uncaught mysqli_sql_exception: Too many connections in /var/www/db.php:16 Stack trace: #0 /var/www/db.php(16): mysqli_connect() #1 /var/www/hottg/function.php(212): db() #2 /var/www/hottg/function.php(115): select() #3 /var/www/hottg/post.php(351): daCache() #4 /var/www/hottg/route.php(63): include_once('...') #5 {main} thrown in /var/www/db.php on line 16