Shell script Learning Guide-text processing tools

Shell script Learning Guide-text processing tools 1. sort usage www.2cto.com sort-t:-k1, 1/etc/passwd --- sort by user name sort-t:-k3nr/etc/passwd --- sort by Reverse UID-k3nr, 3 ---- start from Field 3, reverse sort by value type, and end with

CentOS 5.6 quick LAMP construction

CentOS 5.6 is installed under the virtual machine. Use the NAT mode to share the Internet with the host pc!Of course, you can build lamp by compiling the source code. This section describes how to quickly build a php development framework. In fact,

Common SSH commands in Linux VPS

vps

Directory operation:Rm-rf mydirCd mydirCd-Cd ..Cd ~Mv tools toolLn-s tool bacCp-a tool/home/vpser/www File Operations:Rm go.tarFind mt. cgiDf-h Decompress:Tar xvf wordpress.tarTar-tvf myfile.tar Tar cf toole.tar toolTar cfz vpser.tar.gz tool Tar

Use of the file control list commands setfacl and getfacl

The following requirements apply to the use of the file control list commands setfacl and getfacl. the setfacl command can be used to enable a group of users to write, read, and execute, while a group of users to write and execute, another group of

Linux network settings 3-notes for using the ssh Tool

Linux network settings 3-ssh tool usage Note 1. ssh tool usage principle ssh (SecureShellClient) is installed on windows, while on linux There is a service called sshd, this service occupies port 22, which is started by default. However, port 22 is

How to disable character flashing in linux

In linux, we often need to view the process information under/proc to disable the flashing of characters. However, the characters from ls to terminal appear in many colors,And they don't stop flashing, so many people want to cancel the flashing.

Linux ls statistics file count

Linux ls statistics on the number of files in a folder ls-l | grep "^-" | wc-l statistics on the number of files in a folder ls-l | grep "^ d "| wc-l: count the number of files in the folder, including ls-lR | grep "^-" | wc-l in subfolders, for

Basic Shell script operation exercises

Shell script basic operation exercises here are mainly familiar with shell basic operations, including variable value reference modification, function usage, signal acquisition and some judgment methods. For details, see the code :#! /Bin/sh str =

Configure nfs for suse 11

Nfs is not installed in suse 11 64bit Enterprise Edition, Which is configured for nfs in suse 11. You need to install nfs first. 1. installation: use an image to install nfs-kernel-server; 2. configuration: vi/etc/exports/home/dwt * (rw, sync,

How to change the host name in linux

In linux, how does one modify the linux host name to take effect? Many people use the hostname to modify the host name. In fact, this is only for the moment. After restarting, it will be restored to the original name. many people say that the host

My personal understanding about switching between Linux graphics and character interfaces and startx

Personal Understanding about Linux graphics and character interface switching methods and startx linux provides six terminal by default to allow users to log on, switching to Ctrl + Alt + (F1-F6 ). These six terminal systems are named tty1 ~ The

Linux automatically runs crontab learning notes

Linux automatically executes crontab learning notes on the linux platform. If you need to implement the task scheduling function, you can write a cron script to implement it. By default, the crond process is started when a task is executed at a

Precautions for Linux chmod permission management

Linux chmod permission management requires careful permission management and simplicity of local archives, such as chmod 775/tmp/test. sh also uses chmod + w/tmp/test. sh adds editable permissions to the owner, group, and other persons of the

Pkgutil, a tool that automatically installs software on Solaris

The tool pkgutil for automatic installation of software in Solaris can automatically install the dependent software package in RPM in Linux. The solaris system has fewer users, many people do not know that solaris also has tools that automatically

Self-taught Linux-3 basic system operations

Learn Linux by yourself-3 basic system operations 1. switch host operation # shutdown command-t sec:-t followed by the number of seconds, that is, "shut down after a few seconds"-k: not to actually shut down, just send a warning message-r: after the

Change the debugging terminal in CodeBlocks under Ubuntu

CodeBlocks under Ubuntu changes the debugging terminal xterm that comes with CodeBlocks under Ubuntu, which cannot be copied or pasted.You can solve the problem by using gnome-terminal in ubuntu as the debugging terminal. The specific operation is

Solve the problem of Chinese garbled characters decompressed by zip in ubuntu

Solve the problem of Chinese garbled characters for zip decompression In ubuntu. In ubuntu12.10, I found that Chinese characters are displayed normally. garbled characters only occur when I decompress the windows zip file. So I used another method

Iptables learning 01

Iptables learning 01 1. when the routing forwarding function is enabled, [plain] echo 1>/proc/sys/net/ipv4/ip_forward is temporarily enabled. The default ip_forward value is zero, and forwarding is not allowed. You can change it to 1. The

BIND9 private DNS server small environment setup Experiment

BIND9 private DNS server small environment build experiment 1. basic server configuration 1) Master root server 192.168.56.1012) from root server 192.168.56.1023) COM server 192.168.56.1034) Resolution Server 192.168.56.104 2. compile and install BI1

Solution to multi-path linux errors & quot; Found duplicate PV xxx & quot;

Solution to multi-path linux errors: "Found duplicate PV xxx" dcoadbpro :~ # Vgs Found duplicate PV usage: using/dev/sdb not/dev/sda Found duplicate PV usage: using/dev/sdc not/dev/sdb Found duplicate PV usage: using/dev/sdd not/dev/sdc VG # PV # LV

Total Pages: 5467 1 .... 3467 3468 3469 3470 3471 .... 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.