---
title: "Linux下运行shell的怪异问题"
author: "xubaolin9"
date: "2010-12-30T10:30:15Z"
tags: ["Linux", "Windows", "脚本"]
categories: ["操作系统"]
slug: "linux-shell"
draft: false
lastmod: "2010-12-30T10:30:15Z"
id: 855528
url: "https://xubaolin9.iteye.com/blog/855528"
---

从windows下拷贝写好的shell脚本，报错

command not found

 

让人摸不着头脑

 

用dos2unix命令转换一下该脚本就ok了