Shell condition test

When writing a script in a shell condition test, you may need to check the file status or number test to determine whether the string is equal. Further actions can be performed based on these tests. 1. the operator of the file test and test file

Linux regular expression

Linux regular expression 1. some special symbols 2. first-line control character ^, last-line control character $ [html] find the first rule containing the: [root @ www ~] When grep-n%39%%the%39%regular_express.txt start with a lowercase letter: #

Common commands in uboot and ubuntu

Uboot and ubuntu commonly used commanduboot: mmceraseboot011 delete emmc boot partition ext2formatmmc0: 1 format emmc first partition fdisk-c030014000200 partition of emmc ubuntu: bzip2-d file name. t... commonly used command uboot in uboot and

Solution to disappear without sound and sound icons in ubuntu

Ubuntu does not have sound and sound icons disappear. Solution: If ubuntu is installed, or after the upgrade, there is no sound output in ubuntu, and only dumpoutput is displayed in the sound settings. You can solve this problem by checking the

Use cron in ubuntu to remind you to rest

In ubuntu, cron is used to remind you to take a break. when windows was used, iegis is used to remind you to get up for an hour and change to ubuntu, so I want to use cron to directly remind myself to take a rest. The principle is very simple. I

Putty -- set the title bar to display IP addresses after login

Putty -- after login, set the title bar to display the IP address putty. a headache is that there are more windows after connecting to multiple servers. I don't know which window corresponds to the server. So it is much easier to display the IP

Linuxshell --- conditional judgment command

Linuxshell --- the test function of the conditional judgment Command 1. test command is used to detect system files and their related attributes, such as checking whether a file exists and the permissions of a file. To determine whether a file

Linux --- command --- xargs usage

Linux --- command --- xargs usage if you have spent a lot of time on Unix command lines, you may have seen xargs. if you have not heard of xargs, let me explain it first, xargs is a program that input or execute commands from the standard. Common

Linux problems-solution: failure to use Chinese input methods in Ubuntu12.04

Linux problems-solve Ubuntu12.04 when I was unable to use the Chinese input method, I found that there was no Chinese input method on Linux. after some tossing, I finally solved this problem, record the process as follows: 1. first install the ibus

Environment variable modification method

Environment variable modification method 1./etc/profile: the first file used by the operating system to customize the user environment during logon. this file sets environment information for each user of the system, this file is executed when the

Format USB flash drive-vfat in ubuntulinux

Ubuntulinux format U disk-vfat format system: ubuntu12.1032/64bit cause: file transfer between linux and windows Note: You need to uninstall the U disk first, then Format 1, insert the U disk, open the command line Terminal 2 and check where the USB

Share your little experience in wdcp installation

I have been using WDCP for more than two years. maybe you have encountered this problem! Wdcp is short for WDlinuxControlPanel. it is a Linux server management system and virtual host management system that controls and manages servers through the

Linux software installation experience

Linux software installation experience summary Linux software installation, can be divided into source code installation, RPM installation package installation, yum/apt-get and other methods to install software. The yum/apt-get method is the

NFS network file system construction

The establishment of an NFS network file system is dependent on the RPC service. RPC acts as a proxy for other services to establish network connections and implement network transmission, work on TCP/UDP port 111 RPC is provided by portmap, General

Usage of the sed (file) command

Usage text interval of the sed (file) command: -------- # add an empty line sedG after each line # Delete all original blank lines and add an empty line after each line. # In this way, each row in the output text is followed by an empty row. Sed &

Linux User logout

Linux logout user [root @ www ~] # W22: 30: 49up13: 0.00, 2 users, loadaverage: 0.00, 0218, 0.00USERTTYFROMLOGIN @ IDLEJCPUPCPUWHATrootpts/... 28 .. linux logout user [root @ www ~] # W22: 30: 49 up :43, 2 users, load average: 0.00, 0.00, 0.00 user

Use awk to calculate the maximum, minimum, and average values

When you use awk to calculate the maximum value, minimum value, and average value to help colleagues solve the problem, you need to query the maximum value, minimum value, and average value of a specific value on the day from the log, and finally

Install TokyoCabinet and TokyoTyrant in ubuntu12.04

Tips, official website address: TokyoCabinet latest: http://fallabs.com/tokyocabinet/To First-in-first-ever installation of tokyocabinet-1.4.48.tar.gzand tokyotyrant-1.1.41.tar.gz in Tokyo Cabinet and Tokyo Tyrant under ubuntu12.04. Official Website

Routine scheduling of crontab in Linux

In Linux, crontab is used for routine work arrangements. 1. what is crontab? Periodic daemon processes for handling to-do items and plans for dead tasks. 2. crontab command parsing. Example: 00 ** 1-5cd/home/hiperry ;. /shutDwon. sh & gt ;.

LinuxCentOS shell display-bash-4.1 $ solution for not displaying the user name path

In LinuxCentOS, shell displays-bash-4.1 $ solution to the problem where the user name path is not displayed: a new user is added under CentOS. after logon, the shell script information is as follows: instead of the username @ hostname combination we

Total Pages: 2732 1 .... 1866 1867 1868 1869 1870 .... 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.