Handling of ^ M line breaks in linux

Files edited in WINDOWS are often transferred to LINUX with a ^ M symbol at the end of each line, which leads to shell script running errors. This is because the DOS editor and the Linux editor are inconsistent with the carriage return character at

How to use fsck to solve system faults?

I went to work at the company today and started the system in the morning. After I went out for a while and came back, I pressed any key and the machine did not respond, only the white mouse with a black background is displayed, and the display

Ubuntu10.10 modify the button position for closing the window

Starting from Ubuntu10.04 (including the current Ubuntu10.10 version), in some topics, the "minimize maximization" button is removed from the right of the title bar to the left by default, no matter how many new or old Ubuntu users are, after all,

After soaring server load

Author: Tian Yi (sery@163.com) from: Yi. Just put down your mind, and text messages keep ringing. you don't have to think about which server should trigger an alarm. Type... Author: Tian Yi (sery@163.com) from: http:// B

Simplest configuration of Samba server in Ubuntu

I. installation of Samba: # sudoapt-getinsallsamba # sudoapt-getinstallsmbfs II. create a shared directory: # mkdir/home/willis/share # soduchmod777/home/willis/share 3. create a Samba configuration file: 01. save...   1. installation of Samba: #

TELNET to the mail server and take the mail example

[Root @ vpc1 ~] # Encode (203.209.228.241). Escapecharacteris & amp; #39; ^] & amp; #39;. + OKhe   [Root @ vpc1 ~] # Telnet pop.mail.yahoo.com.cn 110 Trying 203.209.228.241... Connected to pop.mail.yahoo.com.cn (203.209.228.241 ). Escape

Configure jdk under fedora16

1. download jdk-XXX & mdash; rpm. bin2, change permission # chmod777jdk-XXX-rpm.bin3, unzip. /jdk-XXX-rpm.bin4, installation # rpm-ivhjdk-XXX-XXX.rpm (seemingly do not need to install) (default installation again/usr/java/jdk1.6.0 _ 29) 5, create a

Nfs function configuration of ubuntu

Environment: Ubuntu10.04 step: 1. sudoapt-getinstallportmap2.sudoapt-getinstallnfs-kernel-server note: Step 1 I failed to install, after changing the source is still so, finally I search for nfs-kernel-server in the new, installed successfully 3.

JDB remote debugging Tomcat 7

Tomcat 7 is set in catalina. add JPDA_SUSPEND & amp; #39; y & amp; #39; in the first line of the sh file. This causes the Tomcat application to stop running when it starts, wait for the jdb client to connect and run the run command to start the

Ubuntu11.10 font modification

I installed Ubuntu11.04 with 32 bits. I saw 11.10 and planned to update it. I thought about it again. I have a considerable portion of the memory in idle state. why not change it to a 64-bit system. So I uninstalled Ubuntu with 32-bit 11.04 and

Install FTP in Redhat and Ubuntu

1. Redhat install FTP1. first query whether to install vsftp [root @ localhostroot] # rpm-qa | grepvsftpdvsftpd-1.1.3-8 is not installed VSFTP, download channels: http://download.csdn.net/detail/chenyong19871223/3877250install VSF.   1. Redhat

Ubuntu terminal vi and gedit Chinese garbled solution

(1) how to solve the gedit Chinese garbled problem: by default, when the Ubuntu text editor (Ggedit) opens a Chinese-encoded text file of the GB18030/GBK/GB2312 type, garbled characters will appear. The reason for this is that gedit uses a list of

Install the latest mongodb in Ubuntu

1. automatically install MongoDBJava code sudoapt-getinstallmongodbsudoapt-getinstallmongodb. after the installation is complete, we find that version 1.4 is installed, which is very out. now MongoDB has: MongoDBshellversion: 2.0.11.6 and later

Five methods for creating LiveUSB in Linux

1. UNetbootin creates one of the most popular LiveUSB tools. UNetbootin is an open-source application that supports Windows, MacOSX, and Linux. it supports any released version image you want to try. @ Http://unetbootin.sourceforge.net/2,P...   1,

Fedora16 change the startup sequence and grub2 configuration skills

This is an example of Windows startup by default: 1. first find Windows menuentry. # cat/boot/grub2/grub. cfg | grepWindows result: menuentry & quot; Windows7 (loader) (on/dev/sda1) & quot; -- classwindows -- classos...   This is an example of

Find and delete files in linux

Linux has powerful command line processing. if it is used well, the efficiency will be very high. if it is not used well, it may cause fatal errors. Take deleting the & quot;. svn & quot; file as an example! If you are modifying the source code

FreeBSD sets the nic ip address, Gateway, and DNS

FreeBSD version is 5.3. the configuration file of the basic nic ip address and Gateway is rc under the/etc directory. conf file. before configuration, use ifconfig-a to view the correct network card name. I use lnc0, the network address is 192.168.1.

View the folder and file size in linux

1. the df command displays the available space and usage of all file systems [1]. command: df-hFilesystemSizeUsedAvailUse % Mountedon/dev/mapper/VolGroup00-LogVol0020G4.1G15G23 % // dev/mapper/VolGroup00 -...   1. the df command can display the

LINUX Study Notes 2-file programming

A) vi is the first full-screen interactive editor in linux. B ). Vi has three working modes: command line mode, insert mode, and bottom line mode. c) basic functions: 1. go to edit: vihello. c2. Type I to enter the insert mode. 3. type [ESC] to

Tomcat web service deployment

Yiyun development team if you want to develop Web services under Tomcat, download jaxws.zip,: example...   I. deployment before development If you want to develop Web services under tomcat, then you need to download jaxws.zip,:

Total Pages: 2732 1 .... 2114 2115 2116 2117 2118 .... 2732 Go to: GO

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.