`
niwtsew
  • 浏览: 72036 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

A Shell Script to do shell scripting faster

 
阅读更多

http://unix-school.blogspot.in/2011/08/shell-script-to-do-shell-scripting.html

 

 

$ cat workon
#!/usr/bin/bash

if [ ! -f $1 ]; then
  echo "#!/usr/bin/bash" > $1
fi

while [ 1 ];
do
        vi $1
        chmod 755 $1
        ./$1
        read dummy
done


in .vimrc
map #2 :wq!^M
 
分享到:
评论

相关推荐

    Linux.Shell_.Scripting.Cookbook | Classic_Shell_Scripting [pdf] 英文

    本文将深入探讨"Linux Shell Scripting Cookbook"这本书中的关键知识点,包括Shell脚本的基础、变量与控制结构、函数和调试,以及在实际工作中的应用。** ### 1. Shell脚本基础 在Linux系统中,Bash Shell是最常用...

    Mastering Linux Shell Scripting

    Shell scripting is a quick method to prototype a complex application or a problem by automating tasks when working on Linux-based systems. Using both simple one-line commands and command sequences ...

    Linux Shell Scripting Essentials 无水印pdf 0分

    This book is aimed at administrators and those who have a basic knowledge of shell scripting and who want to learn how to get the most out of writing shell scripts. What You Will Learn Write ...

    Mastering Linux Shell Scripting.epub

    Shell scripting is a quick method to prototype a complex application or a problem by automating tasks when working on Linux-based systems. Using both simple one-line commands and command sequences ...

    Mastering Linux Shell Scripting.mobi

    Shell scripting is a quick method to prototype a complex application or a problem by automating tasks when working on Linux-based systems. Using both simple one-line commands and command sequences ...

    Shell Scripting

    A compendium of shell scripting recipes that can immediately be used, adjusted, and applied, The shell is the primary way of communicating with the Unix and Linux systems, providing a direct way to ...

    Linux Shell Scripting Cookbook(3rd) mobi

    Linux Shell Scripting Cookbook(3rd) 英文mobi 第3版 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书

    Classic Shell Scripting

    The authors are intimately familiar with the tips and tricks that can be used to create excellent scripts, as well as the traps that can make your best effort a bad shell script. With Classic Shell ...

    Mastering Linux Shell Scripting(PACKT,2015)

    Shell scripting is a quick method to prototype a complex application or a problem by automating tasks when working on Linux-based systems. Using both simple one-line commands and command sequences ...

    Unix Oracle Shell Scripting

    ### Unix Oracle Shell Scripting #### 引言 本文旨在为读者提供一个在Oracle环境中进行Unix Shell脚本编写的起点。为了实现这一目标,本文被分为两个主要部分:“构建基础”和“实践示例”。其中,“构建基础”...

    Shell Script

    These are just a few key concepts and examples related to shell scripting. Mastering these fundamentals will greatly enhance your ability to automate tasks and manage systems efficiently in a Linux ...

    ShellScript

    Shell脚本编程(scripting)的技巧永远不会过时:它们可以让UNIX充分发挥其真实的潜能。对UNIX的用户与系统管理者而言,编写Shell脚本是必须的工作,它可以让你快速地控制与定制任何UNIX系统的强大功能。有了Shell...

    Linux Shell Scripting Cookbook - Third Edition

    Linux Shell Scripting Cookbook - Third Edition by Clif Flynt English | 29 May 2017 | ASIN: B01N80F75Z | 552 Pages | AZW3 | 1.36 MB Do amazing things with the shell About This Book Become an expert ...

    Mastering Linux Shell Scripting.pdf

    Shell scripting is a quick method to prototype a complex application or a problem by automating tasks when working on Linux-based systems. Using both simple one-line commands and command sequences ...

Global site tag (gtag.js) - Google Analytics