What is the difference between ./ and sh to run a script?
来源:互联网 发布:软件开发规划 编辑:程序博客网 时间:2024/06/06 02:55
sh
is the command line interpreter (dash).
Runningsh my_script
makes dash interpret the script../
tries to find out which interpreter to use, by looking at the first line. E.g.#!/bin/bash
, or even#!/bin/ruby
(as oppsed to runningruby my_script
).
- What is the difference between ./ and sh to run a script?
- What is the difference between using a script and an animation?
- What is the difference between a thread and a process?
- What is the difference between a definition and a declaration?
- What is the difference between a process and a thread?
- What is the difference between an EXE and a DLL?
- What is the difference between a Generative and Discriminative Algorithm?
- What is the difference between GenericServlet, HttpServlet and a Servlet?
- What is the difference between test, [ and [[ ?
- What is the difference between a = a * (2^3) and a = a << 3?
- What is the difference between a processor, a chip, a socket, and a core?
- What is the difference between a theorem, a lemma, and a corollary?
- What Is the Difference Between a Block, a Proc, and a Lambda in Ruby
- What is the difference between a URI, a URL and a URN
- the difference between "./" and "sh"
- What is the difference between a von Neumann architecture and a Harvard architecture?
- What is the difference between a pack slip and a pick slip?
- What is the difference between a Bayesian network and a Naive Bayes classifier?
- 创建constraint时的选项:not deferrable和deferrable
- 普通视图和物化视图的区别
- Chrome自带的HTTP请求抓包查看系统
- 第11周报告1
- Hibernate 事务和并发 | hibernate 实战(第二版) 第10章事务和并发 | 笔记
- What is the difference between ./ and sh to run a script?
- Linux下使用mail、mutt发送邮件
- Oracle的rownum原理和使用
- VC:程序、进程和线程
- Hibernate 控制并发访问
- 第11周报告2
- 企业管理系列:报表设计
- Linux服务器日常运维命令
- 日文全角转半角