bashdb调试shell脚本

发布于:2021-10-21 17:45:22

?


最*开始学bash shell,感觉不知道从何入手,不知道有什么好的工具软件包来学*它。先找一下:


yao@wuyao:~$ apt-cache search bash
apparix - console-based bookmark tool for fast file system navigation
backup-manager - command-line backup tool
bash - The GNU Bourne Again SHell
bash-builtins - Bash loadable builtins - headers & examples
bash-completion - programmable completion for the bash shell
bash-completion-lib - programmable completion for the bash shell
bash-doc - Documentation and examples for the The GNU Bourne Again SHell
bash-minimal - The GNU Bourne Again SHell (minimal version)
bash-static - The GNU Bourne Again SHell (static version)
bashdb - BASH debugger
biabam - bash attachment mailer


?


发现bash-doc和bashdb,学者是文档,有不少Example可以看,后者可以用来调试shell,把它们给安装了:


yao@wuyao:~$ sudo apt-get install bash-doc bashdb


例子都放在/usr/share/doc/bash/examples。


在emacs里调试bash:



?


调试效果:



?

相关推荐

最新更新

猜你喜欢