1ãé¦å
å©ç¨cat > æè
vim 建ç«ä¸ä¸ªæ°æ件tssã
2ãç¶åå¨æ°å»ºçæ件ä¸ç¼åç¸åºçèæ¬,å¦ä¸ï¼
[plain] view plain copy
<span style="font-size:18px;">#ï¼/bin/sh
echo hello</span></span>
注æï¼ç¼åshellèæ¬ï¼#ï¼ /bin/shå¿
é¡»è¦æï¼è¿ä¸ªæ¯åç¥Linuxå
æ ¸åºè¯¥ä»¥åªä¸ªshellæ¥æ§è¡ææå®çshellèæ¬ã
3ãchmod +x tss 让æ件tssæ¥ææ§è¡çæé
4ã./tss æ§è¡ç¸åºçèæ¬ç¨åº
温馨提示:答案为网友推荐,仅供参考