Delete duplicate lines in Linux

Duplicate rows are often deleted during text processing. The following are three methods: First, use sort + uniq. Note that uniq alone cannot be used.Sort-N test.txt | uniq Second, use the sort + awk command. Note that awk alone does not work,

Build trust between two Linux Hosts

Many times, we need to copy files (folders) between two Linux/Unix hosts, but we need to manually enter the password For example, if you back up the database file of the server (SysAdmin) to the client (Yanggang), you are prompted to enter the

Fix Linux Chinese garbled characters

Fix Linux Chinese garbled characters Method 1: Modify the/root/. bash_profile file and add export lang = zh_cn.gb18030   For other users, the file must be modified accordingly.   When using this method, Putty can display Chinese characters, but

Linux website Selection

Foreign Http://lwn.net/ Http://www.tldp.org/ Https://rhn.redhat.com Http://www.justlinux.com/ Http://www.linuxtoday.com/ Http://www.linuxquestions.org/ Http://www.fokus.gmd.de/linux/ Http://www.linux-tutorial.info/ Http: // public. [url]

Build SVN server in Linux

============== Set up the svn server in Linux ========================1 environment:The server is placed on redhatas4.0, and the client is on Windows 2000. 2 software packages2.1 Server:Subversion-1.3.2-1.rh90.i386.rpm. Other dependent components

Set tomcat in Linux

Put it in the/usr directoryTar-zxvf jakarta-tomcat-5.0.27.tar.tarUndo to the jakarta-tomcat-5.0.28 directory and enter the following command to set Environment VariablesVI/etc/profileEnter I to enter the editing status, and add the following content

How to install boost in Linux

The latest boost version:Http://sourceforge.net/project/showfiles.php? Group_id = 7586 & package_id = 8041Download boost_000039_0.tar.gzTar-zxvf boost_1_39_0.tar.gzThen go to the decompressed folder to compile the boost compiler jam.CD boost_000039_0

Linux database comparison (1)

Author: Matthias warkus Author: Matthias warkus Yanzi clyan@sohu.com Introduction When someone suggested that I write a database management system comparison for linuxplanet for the first time, I shook my head, I have never done such a comparison,

Common Linux skills

1. Bind the process to the execution CPU Use the taskset command to bind processes. Press the 1 key to display the information of each CPU. Reference: http://yunwei.org/123/; http://hi.baidu.com/zhongalin_hust/item/d8a556385c5a2983f5e4ad18 2.

Command for viewing system information in Linux

# Uname-A # view kernel/operating system/CPU Information# Head-N 1/etc/issue # view the operating system version# Hostname # view the computer name# Lspci-TV # list all PCI devices# Lsusb-TV # list all USB devices# Lsmod # list loaded Kernel Modules#

How to monitor network traffic in Linux

I recently covered three utilities you can use to monitor your system resources in Linux. One of those programs,IftopGives you information about the network traffic of your machine. In this article I'll show the in-depth usage of iftop, as well as

Configure jdk1.7 in Linux

Step 1: Download jdk-7-linux-i586.tar.gz Http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-i586.tar.gz wget-C (Note: If the download fails, we recommend that you use thunder to download it and copy it to the Linux system .)

Modify the default wait time for Linux to start

Taking my fedora12 as an example, the default wait time for the system to start is 15 seconds. The value of this parameter is in the file/boot/GRUB/grub. conf Open this file and you will see the following content: # Grub. conf generated by

View all users and user groups in Linux

1. view all users in LinuxIn Linux, there are no convenient commands like Windows's net user and net localgroup to manage users. The xwindows interface is not mentioned. (1) In the terminal, you only need to view the/etc/passwd file.(2) Check

Msql Database Development Technology in Linux

First, you can download the latest version of the software free of charge after registering at www.hughes.com. au. The installation of msql is quite simple. The installation of the binary version (for software compiled on a hardware platform) is

Modify a prompt in Linux

Modify a prompt in Linux The prompt is set through the Environment Variable ps1. You can use the following command to display the current settings:Echo $ PS1The system range of the prompt (valid for all users in the system) is set in the

Essential Skills for Linux kernel source code training

because the operating system kernel is close to the hardware, you need to understand the computer architecture, such as the CPU operating principle, interface features, and bios calls. Don't be discouraged. Here we will introduce some essential

Assembly program design in Linux

Linux Assembly introduction: I. Advantages and Disadvantages of assembly language: Since Linux is written in C, C naturally becomes the standard programming language of Linux. Most people ignore the compilation, and it is very difficult to find

Linux mount command details

Comments: linux is an excellent open-source operating system that shares the image files, mobile hard drives, USB flash drives, Windows, and NFS network, it can run on various computer systems from the largest to the smallest. With the increasing

How to Use RPM command parameters in Linux

In a Linux operating system, there is a system software package, which features similar to "Add/delete programs" in Windows, but features much better than "Add/delete programs ". Red Hat Package Manager (RPM ). This toolkit is first written by

Total Pages: 5467 1 .... 3432 3433 3434 3435 3436 .... 5467 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.