安装完cygwin后,每次启动时会报出 bash $/r/0 not found.
(“$/r/0” 因具体情况会有不一样),虽不影响使用,但总感觉不爽。
首先这类问题是乱码导致的,在解决问题之前,请保证dos2unix命令可用。
1. cd /etc
dos2unix profile
dos2unix profile.bashrc
2. cd /etc/profile.d
dos2unix *
执行上述命令时,如遇二进制文件提示,表明文件已经成为乱码了,无法正常读取。
可VI 强制打开,删除乱码部分。再执行dos2unix
相关推荐
cygwin安装目录bin中的bash.exe文件
NULL 博文链接:https://lindows.iteye.com/blog/221961
cygwin ,仅含android ndk所需要的功能,autoconf2.1、automake1.10、binutils、gcc-core、gcc- g++、gcc4-core、gcc4-g++、gdb、pcre、pcre-devel、gawk、make共12个包。 安装了直接可以用
Binary not found”问题解决方案" 在 Windows 下使用 Eclipse 开发 C++ 项目时,可能会遇到 “Lauch failed. Binary not found” 的错误,这个问题的解决方案可以分为以下几个方面: 1. 项目设置:在 Eclipse 中...
cygwin bash: /etc/profile:permission denied 问题解决方法
Cygwin 64-bit 安装程序,安装hadoop前必要的操作
cygwin ,仅含android ndk所需要的功能,autoconf2.1、automake1.10、binutils、gcc-core、gcc- g++、gcc4-core、gcc4-g++、gdb、pcre、pcre-devel、gawk、make共12个包。 安装了直接可以用
最新Cygwin离线安装包
适用于Windows上的Bash / ZSH / Git Bash(Windows)/ Cygwin(Windows)/ Bash -> 安装 使用Git和引导脚本 您可以在任意位置克隆存储库。 (我喜欢将其保存在~/Projects/dotfiles ,并将~/dotfiles作为符号链接。...
出现bash-2.05b的解决办法,出现bash-2.05b的解决办法
安装在Windows上,可以运行bash,vi,gcc,...
安装在Windows上,可以运行bash,vi,gcc,...
cygwin是一个在windows环境下运行linux软件的程序,比虚拟机更方便,更小巧,包含了linux的常用命令,也可以直接在其中运行linux软件
安装在Windows上,可以运行bash,vi,gcc,...
用于esp32的编译,结合cygwin使用,可以参考本人博客安装cygwin:https://blog.csdn.net/xslxhn/article/details/83416056
安装在Windows上,可以运行bash,vi,gcc,...
Cygwin ssh 故障总结 Cygwin ssh 故障总结
Windows下的UNIX环境Cygwin 一、简介 Cygwin是一个在windows平台上运行的unix模拟环境,是cygnus solutions公司开发的自由软件(现已被Redhat收购)。Cygwin是一个全功能的Win32应用,它是UNIX应用的一个Porting层...
The Cygwin team has updated the cygwin package and deprecated support for various Windows versions over time. The below table shows the Windows version with the corresponding latest version of OpenSSH...
redhat版本cygwin