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

Install and configure an exFAT and NTFS hard drive mounted in Linux

Yu Chao yuchao86@gmail.com first mounted exFAT format of mobile hard disk, recently just made a dual system, a disk is Windows7, the format of the hard disk is exFAT, want to access the Windows 7 file below the Linux system, the problem occurs: the

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.

WC command details

The wc command of Linux is usually used together with other commands to calculate the line and other information. In Linux, wc is used for counting. The number of lines, characters, and bytes of the returned file. Let's start with an example: Let's

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

It is best to use adduser to create a user in ubuntu.

It is best to use adduser for ubuntu users. although adduser and useradd are the same in other linux operating systems, the user home directory with the same name is not created when I use useradd in ubuntu. Example: adduser1 will automatically

Ubuntu10.04 disabled TouchPad

When typing, if you accidentally touch the TouchPad, the mouse suddenly does not know where to fly, it is really annoying. Solution: 1. enter the following command on the terminal: sudomodprobe-rpsmouse. if the TouchPad is sudomodprobepsmouse, note:

Tomcat performance optimization solution

I. operating system optimization for operating system optimization, it is to increase the available memory capacity as much as possible, increase the CPU frequency, and ensure the read/write rate of the file system. Stress tests show that the CPU

Introduction to samba in linux

Today, we installed a real linux host (redhat. The ftp and ssh services have been installed, but it seems that you still need a Windows software that can share folders with linux samba. Fortunately, when installing linux, we started using smaba, if

Vi editor usage (3)

Add two blog posts: use of the vi editor (1) use of the vi editor (2) 2. program editing in vi editor this section describes several operations that can improve the efficiency of vi editor in program design, including jump of the cursor, completion

Clock stepforward of rhel5464bit system

In the vcpuovercommit environment, the 32-bit and 64-bit clock drift of rhel54 are different. 32bit system time slows down. this is reasonable, but 64bit system time gets faster. at first glance, it seems unreasonable and there is no reason to make

Install jdk script in linux

Every time you install the linux operating system, you need to download jdk, install jdk, and set environment variables. this time, you have to write a script to complete viewplain #! /Bin/bashchmodu + xjdk-6u29-linux-i586.bininstallPath/usr/javaif [

Nagios Remote host monitoring

As mentioned above, Nagios can only monitor local resources by default, but it cannot monitor remote server resources. now I want to learn about nrpe with you, nagios uses nrpe to monitor remote host survival, disk space, load, process count, ip

Linux boot process

Firmware (CMOS/BIOS) post power-on self-check-& amp; agrave; bootstrap loader (GRUB) (load Kernel) & amp; agrave; load Kernel (driver hardware) & amp; agrave; start process init & amp; agrave; read the first stage of the execution configuration file/

Linux file system links

& Amp; bull; inode I have to talk about inode before discussing the Linux system links. Each object in the Linux file system has a unique inode index. Each inode number corresponds to one object in the file system, to view the inode number of a file

Linuxecho color control

When echo needs to change the color, use the parameter-eformat: echo-e & quot; \ 033 [background color; Font color m string \ 033 [0 m & quot; for example, echo-e & quot; \ 033 [41; 36msomethinghere \ 033 [0 m & quot; where 41 represents the

Yum features, installation, configuration, and application in linux

Yum uses redhat, and Feder of fedora must have a headache for the famous dependencyhell of rpm (this is also a problem for all rpm-based releases ). Fooisneededbybar, barisneededbyfoo. I have to work hard to load and unload software...   What does

Use the source code to compile and install the kernel-go to Linux (1)

Environment: ubuntu11.04 tool: make, gcc, make-kpkg kernel source code: linux-2.6.38.8 steps, so after the claim...   Environment: ubuntu 11.04 Tools: make, gcc, and make-kpkg Kernel Source: linux-2.6.38.8 Steps: 1. download the internal source code

Build a LAMP-based web environment under CentOS5.5

Because of the purchased VPS, everything in the system is OK, just the things after installation. There is basically no software, so it is up to you to manually build my bo-blog. Basic information: OS: [root @ localhost ~] # Lsb_release-aLSBVersion :

Build your own NTP time server

Network Time Protocol (NTP) is a standard Internet protocol used for time synchronization on the Internet. NTP is used to synchronize computer time to certain time standards. Currently, the UTC (UniversalTimeCoordinated) time standard is adopted ).

Total Pages: 2732 1 .... 2580 2581 2582 2583 2584 .... 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.