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 you open the file with gedit, you cannot see this ^ m. You can use VI to open it. Each ro
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
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 file, which, unde
that is/usr/local/lib/, and then make expect said can only install expect related components, there are other??? , no matter what, I'll install it directly after make.Then we have the main function of expect.The code is as follows:#!/usr/bin/expect-F -1ssh [email protected]ServerIP " *assword:* " // Wait for password prompt display "$password \ r" // login Interact //doneAnd then it hurts that the script is not going to pe
If my directory jni has a list.sh fileI directly nxgametekimacbook-air:jni luonan$./list.sh. /.. /classesHint Permission deniedAnd thenchmod +x *.shAnd then the execution is OK.Nxgametekimacbook-air:jni luonan$ chmod +x *.sh./list.sh. /.. /classesNxgametekimacbook-air:jni luonan$./list.sh. /.. /classesThis is the problem I encountered when I built the classes file on the build Android project. The "IOS" Mac
The last time because of the company's machine to face the reload, began to panic in the Mac file SCP to my desktop. In the bustle of the original to delete a useless folder, the results with RM-RF when the tab, fill out the document did not see the press ENTER, no doubt, the file deleted the wrong. Because the RM command is not to go to the Recycle Bin, even before the deletion of the confirmation will not
Linux, Mac command line does not have the Recycle Bin function, a lot of time hand shake on the important documents to RM-FR *, although Linux may be found through lost +found/debugfs, but the difficulty is relatively large, can not be guaranteed to get back. People will always make mistakes, I work in the past few years also committed 3 RM-FR after the deletion of regret the mistake, and regret better than
Command Line rm recycle bin in linux/mac -- rmtrash
The command line of linux and mac does not have the recycle bin function. In many cases, an important file is sent to rm-fr * When the hand shakes. Although it may be retrieved through lost + found/debugfs in linux, however, it is difficult and cannot be recovered. P
After updating Mac OS X 11, it was found that it MacVim was no longer possible to open the command with terminal.mvim hello.txtThen try to copy the Mvim back into the/usr/bin/.sudo cp -f mvim /usr/bin/However, a permissions issue has occurred:cp: /usr/bin/mvim: Operation not permittedAfter the search found, is El Capit
the background color of a layer -Self.window.layer.backgroundColor =[Uicolor Whitecolor]. Cgcolor; the //Creating animations *Catransition *anim =[catransition animation]; $ //Set up proxyPanax NotoginsengAnim.Delegate=Self ; - //Set Animation time theAnim.duration =1.5; + //absorption effect, like the Trash on Mac effect (private API, not included in the official API) AAnim.type =@"Suckeffect"; the[[Self.birdimage layer] Addanimation
Mac cannot ssh localhost, error prompt: bash:/usr/local/bin/ssh_session: Permission denied, sshssh_session
After searching for a long time on the Internet, I did not find a solution. Finally, I tried the following as prompted:
1. Edit the/etc/sshd_config file and comment it out.# ForceCommand/usr/local/bin/ssh_session
2. Start the sshd service:Sudo launchctl l
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.