Skip to content
  • 首页
  • PHP源码
  • html5网页模板
  • js特效
  • Window软件
  • Mac软件
  • 服务器
  • 其他
Search
源码巴士
  • Sample Page

shell脚本的try catch

实例

{ # try

    command1 
    #save your output

} || { # catch
    # save log for exception 
}

docs

  • is-there-a-try-catch-command-in-bash

文章导航
←秋招干货|应届生毕业生求职简历模板
嵌入式Linux之旅——环境搭建篇之烧写整个系统→

Copyright © 2022 源码巴士  鲁ICP备19024253号-1