首页 > Linux操作系统 > Linux操作系统 > Hello world
#!/bin/bash
# declare STRING variable
STRING="Hello World"
#print variable on a screen
echo $STRING
NOTE: There is no space around both sides of "=".
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23895263/viewspace-697714/ ,如需转载,请注明出处,否则将追究法律责任。