shell脚本编辑器
1. liunx用什么写工具写shell
vim是很强大的编辑器,可根据你自己的需要灵活配置,可以配置为具有类似source insight的功能。 其实,如果你的shell脚本不是很大很长、没有太多函数需要跳来跳去地看的话,只有基本配置的vim或者gedit就可以。
2. 如何设置sublime text编辑shell脚本
搬运过来的 sublime text 2,支持unity shader关键字高亮显示,智能提示功能。这个脚本编辑器的售价是70美元,不过作者很厚道地给了我们永久的免费试用期。 1)下载sublime text 2,链接地址Sublime Text,sublime text 3是beta版,当然下载哪个自己选择。 2)安装步骤不详述。
3. 大家写shell脚本用什么编辑器
我的vi会自动高亮显示的。前提是你的shell第一行类似 #!/bin/sh,保存后再打开,vi就会高亮及自动对齐等了
4. linuxShell脚本编辑
5. 怎样用vi编辑器新建shell脚本Linux
新建脚本
vi shell.sh -->任意名称即可
#! /bin/sh -->开始输入脚本内容
。。。
。。。
保存退出
chmod a+x shell.sh -->给脚本shell.sh执行权限 ./shell执行
或 sh shell.sh执行脚本
6. shell 脚本如何运行,用文本编辑器写好后,怎么在windows下运行,"cmd"里面吗
如果是bat文件,直接用cmd运行就ok
如果是linux的.sh文件,windows下不能运行
7. python shell(用的IDIE)程序编辑器中、菜单Edit→怎么没有Run Script选项、快捷键Ctrl+F5也没有、
Python源文件通常用.py扩展名。当源文件被解释器加载或者显式地进行字节码编译的时候会被编译成字节码。由于调用解释器的方式不同,源文件会被编译成带有.pyc或.pyo扩展名的文件,您可以在第十二章“模块”中找到更多的关于扩展名的知识。1.4 Downloading and Installing Python下载和安装PythonThe most obvious place to get all Python-related software is at the main Web site at . For your convenience, you can also go to the book’s Web siteat and click on the “Install Python” link to the left—we have organized a grid with most contemporary versions of Python for the most platforms, with a focus, of course, on the “Big Three.” Unix, Win 32, MacOS X. 有三种不同的办法来启动Python。最简单的方式就是交互式的启动解释器,每次输入一行Python代码来执行。另外一种启动Python的方法是运行用Python写的脚本程序。这样会调用相关的脚本解释器。最后一种办法就是从集成开发环境中的图形用户界面中运行Python。集成开发环境通常带有其他的工具,例如集成的排错器、文本编辑器和支持大量源代码管理的工具CVS等。Command-Line Options命令行选项When starting Python from the command-line, additional options may be provided to the interpreter. Here are some of the options to choose from:当从命令行启动Python的时候,附加的选项可以提供给解释器。下面是供您使用的一些选项:-d Provide debug output-O Generate optimized bytecode (resulting in .pyo files)-S Do not run importsite to look for Python paths on startup-v Verbose output (detailed trace on import statements)-m mod run (library) mole as a script-Q opt division options (see documentation)-c cmd Run Python script sent in as cmd stringfile Run Python script from given file (see later)-d 输出排错(debug)信息-O 生成优化的字节码(以.pyo文件形式)-S Do not run importsite to look for Python paths on startup-v Verbose output (detailed trace on import statements)-m mod run (library) mole as a script-Q opt division options (see documentation)-c cmd Run Python script sent in as cmd string file 从给定的文件运行Python脚本(下面会提到) PythonWin是第一个为Python开发的Windows接口界面,并且是一个带有图形用户界面的集成开发环境。PythonWin发行版本中包含Windows API和COM扩展。PythonWin本身是针对MFC库编写的,它可以被用作开发您自己的Windows应用程序的开发环境。您可以从下面给出的网页中下载并安装它。PythonWin通常被安装在和Python
8. shell脚本中如何看行数
网上有更多脚本编辑器,你可以去下载一个,这种编辑器一般都带行号,
9. shell脚本用什么编辑器
用 Linux,vim 几乎是不二之选。
当然,Windows上也有很多编辑器支持多种编程语言的语法高亮,如 NotePad++,SciTE 等