Linux下Bash入門學習筆記,linuxbash學習筆記
學習好shell編程是很有用的,可以使用shell指令碼輕巧地完成有趣的工作。
本文地址:http://www.cnblogs.com/yhLinux/p/4047516.html
Bash執行個體,作者:Daniel Robbins (drobbins@gentoo.org), 總裁兼 CEO, Gentoo Technologies, Inc.
此文共分三個部分,從介紹簡單的系統變數開始,一步步講解bash編程的基本要點,非常適合想短期入門的讀者。
第一部分:http://www.ibm.com/developerworks/linux/library/l-bash/index.html
第二部分:http://www.ibm.com/developerworks/linux/library/l-bash2/index.html
第三部分:http://www.ibm.com/developerworks/library/l-bash3/index.html
Bash指令碼15分鐘進階教程:http://developer.51cto.com/art/201404/436498.htm
參考資料:
問linux系統下:bash與ksh怎切換??
如果你想使用ksh作為你的預設shell 用chsh命令
格式
chsh [ -s shell ] [ username ]
描述
chsh 用來更換你登入時所用的shell 。在命令列沒指定shell。 chsh 會提示一個給你。
加入你的名字叫user 就這樣
chsh -s ksh user 就可以改變你預設的登陸shell了
其實bash比ksh強大很多了 否則也不會所有的linux發行版都用bash做預設shell了
學習的話 想用得時候直接運行ksh 就可以 退出的時候運行exit
我是學LINUX系統維護的,想學bash指令碼,不知道咋學?
sh編程中文手冊
我有電子版的,我是看著這個學的,個人感覺不錯
要的話留郵箱發給你,或M我