---
title: "linux执行shell文件时遇到“指定文件不存在或未找到”"
author: "floydd"
date: "2011-10-20T11:24:00Z"
tags: []
categories: ["操作系统"]
slug: "linux-shell"
draft: false
lastmod: "2012-01-12T14:08:47Z"
id: 1326340
url: "https://floydd.iteye.com/blog/1326340"
---

极大可能是你的sh文件里存在windows的回车，可以通过vi打开后:set fileformat=unix 进行转换来解决