However, the. bin file is opened by Notepad or professional ultraedit this article editing tool, there will be garbled, as shown in the following figure.
So what exactly is the bin file that the router backs up for viewing? Words do not say much, the following small editing to teach you how to open the view.
T
LNMP installation of a key install the MySQL default is to open the log file, if the data operation is more frequent will produce a lot of log, under/usr/local/mysql/var/produce mysql-bin.0000* similar files, And generally in dozens of MB to several GB, more will eat the entire hard disk space, never lead to MySQL can not start or error, such as VPS forum users feedback.
How to turn off the MySQL log featu
The bash script under Linux does not support line breaks \r , and if you run a file that is copied from Windows, you /bin/bash^M: 坏的解释器: 没有那个文件或目录 may want to check if the file format is incorrect.If this is a format problem, there are two ways:First, find the replacement method
First step: cat -A filename view ' \ 及 r \ 空白符, n \ 会显示为 r \ ,而 会显示为 ^m '.
S
When executing a script full_build.sh, I was always prompted:-bash:./full_build.sh:/bin/bash^m:bad interpreter:no such file or directoryThe beginning is that I have insufficient authority, can not execute, and then I put the authority to change, has been reported above problems.Remember a few months ago, encountered similar problems, was in the compilation of the Android Framework, and then opened the error
Yesterday, I wrote a shell script on the WordPad in windows. When I uploaded the script to Linux using winscp, I found that the script could not run.-Bash :. /job. SH:/bin/sh ^ m: Bad Interpreter: the file or directory does not exist. The reason is as follows:
1. to convert a DOS text file to a UNIX text file, perform
Executes. sh script in Linux, exception/bin/sh^m:bad interpreter:no such file or directory. This is caused by different system encoding formats: the. sh file that is edited in the Windows system may have invisible characters, so the above exception information is reported in the Linux system execution.If our script is written in a Windows environment, we need to
One, Linux under compile make file error "/bin/bash^m: Bad InterpreterReference article: Http://blog.csdn.net/liuqiyao_01/article/details/41542101#commentsThe results of your own tests:"1" Creates a new file using the editing tools under Windows doc2unix.sh#!/usr/bin/env bash# testpid=$ (PSgrep grep grep-grep Master |
Many methods have been found online, and many of them are not applicable. Description:Cocould not update iceauthority file/usr/bin/fish/. iceauthority
Step 1: I suspect that the last time I configured the default shell as fish for this user, I used the sudo apt-get Remove fish command to delete it, but it was useless.Is the configuration file incorrect?Step 2: G
Error executing SH script:/bin/sh^m:bad interpreter:no such file or directory, which is caused by different coding under Windows, the repair method under Linux is as follows, recorded.
[nobody@twin14441 cronjob]$./stop_tips_new.sh-bash:./stop_tips_new.sh:/bin/sh^m:bad interpreter:no such file or directory
Solution: V
Tags: dir cat CTO does not have directory resolution to execute the-O pathError in console when executing. SH script: #!/bin/bash:no such file or directoryWorkaround:Cat-a file pathYou'll find the first line is a problem.M-oM-;M-?#!/bin/bash$#----------------------------------$#$# M-eM-^PM-/M-eM-^JM-(M-hM-^DM-^ZM-fM-^
When the react-native Run-android/run-ios was executed.-bash:/usr/local/bin/react-native:no such file or directoryExplain the background of the problem: Originally this command is able to run, just because I downloaded an open source react-native project online, and then execute the command NPM install Insert Node_modules module, not only this project cannot execute the Run command, Other projects are not a
In the Recycle Bin must not be downloaded, only to restore to the normal folder before you can download, the specific method is as follows.
1, we open 360 cloud disk and then login to enter
2, find the following "function Daquan" = "Cloud disk Recycle Bin" After clicking Open Enter, details as shown in the following figure
3, then you will find entered into the Web version, in the Web versio
First, make sure that the file has executable permissions.# SH> chmod A + x filename
Then modify the file format# SH> VI filename
Use the following command to view the file format: Set FF or: Set fileformat
The following information is displayed:Fileformat = DoS or fileformat = Unix
Use the following command to modify the
Under Windows, after using nodepad++ to write the shell script, upload the shell script to the Linux system, execute the shell script on Linux, report the error message, and cannot execute the shell script, the error message is as follows:
-bash:./solrcloud-shutdown.sh:/bin/sh^m:bad interpreter:no such file or directoryThis problem arises because of the coding format of the shell script
This error occurs when running some Linux script files:
/Bin/sh ^ m:Damaged Interpreter: No such file or directory
Cause: the script file has been edited in windows. In Windows, the end of each line is/n/R, while in LinuxLowerThe end of the file is/n.When the next line is opened, one more line ends.Characters/R. If
MySQL runs for a long time there will be a lot of mysql-bin.xxxx files, each is quite large.
This is the binary file of MySQL. It records all MySQL database operations, such as all your SQL statements.
This file is useful when the database crashes or data is lost.
Master-slave synchronization can also ensure data consistency between the master and slave databases based on this log.
But it cannot grow at all
The installation uses the nginx-0.8.54 stable edition. At the beginning, the compilation parameters are specified as follows:
. /Configure-user = www-group = www-Prefix =/usr/local/nginx-with-http_ssl_module-with-http_sub_module-with-http_gzip_static_module-with-http_stub_status_module-add-module =/usr/local/src/nginx_upstream_jvm_route /-with-http_realip_module-with-PCRE =/usr/local/PCRE
When the make stage is reached, an error is reported:
[Root @ test01 nginx-0.8.54] # MakeMake-F objs/ma
Recently, to learn about Linux's Java development environment, also in order to make full use of my 64-bit CPU resources, down from the internet down an Ubuntu down (just a search to know that this version is now the hottest), do not ask why not 64-bit "plague beans die", Ghosts know now 64 "plague beans Die" Under the less pathetic application.
But this dongdong is quite good to install, almost all the way "Next" down on the finished, but also with the N input method, the network is also very g
The installation uses the nginx-0.8.54 stable version. Start with the normal specified compilation parameters:
./configure–user=www–group=www–prefix=/usr/local/nginx–with-http_ssl_module–with-http_sub_module–with-http_ Gzip_static_module–with-http_stub_status_module–add-module=/usr/local/src/nginx_upstream_jvm_route/–with-http_ Realip_module–with-pcre=/usr/local/pcre
Error to make stage:
[Root@test01 nginx-0.8.54]# makeMake-f Objs/makefileMAKE[1]: Entering directory '/usr/local/src/nginx-0.8.54′
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.