Linux automatic mount file system details

Automatic mounting of Linux disks is required and necessary. Otherwise, it will be too troublesome to mount the disks after each restart.1. view the disk information in the system and determine whether partitions are required.First, add a new disk

Conditional testing and signal capturing

I. Exit In Linux, whether it is a command, script, or program, the exit status exists after the execution is completed and the exit status is usually saved in the pre-defined variable $? . In most cases, the predefined variable only uses two numbers

Linux rpm command parameters [introduction and application]

RPM is a RedHat Package Manager (RedHat Package management tool) similar to "Add/delete programs" in Windows" Run the rpm installation packageBinary and Source packages. The binary package can be directly installed on the computer, and the source

Input and Output of basic UNIX knowledge

I. file descriptor A file descriptor is usually a small non-negative integer. The kernel uses it to identify the file being accessed by a specific process. When the kernel opens an existing file or creates a new file, it returns a file descriptor.

User Identification of basic UNIX knowledge

I. User ID The user ID in the password file (/etc/passwd) is a numerical value, which identifies different users to the system. The system administrator determines the user ID while determining the login name of a user. Users cannot change their

Obtain process name & amp based on PID; obtain PID based on process name

    #include #include #include #include BUF_SIZE 1024 getPidByName(* DIR * dirent * FILE * filepath[]; cur_task_name[]; dir = opendir(); (NULL != ((ptr = readdir(dir)) != NULL)

Linux shell script Introduction 19-sed command explanation

Sed(MeaningStream EditorIs a common command line program in Unix/linux. SedDocumentOr text in the stringAfter a series of editing commands are converted to another format output, that is, text replacement. Sed is usually used to match the text of

Creat function for file I/O (without buffering)

You can also use the creat function to create a new file. # Include creat (* pathname, mode_t mode ); Return Value: if the operation is successful, the system returns a write-only file descriptor. If an error occurs, the system returns-1. Note

Linux free commands

The free command in linux is used to view memory usage. The free-h command can be used to view the parameters and meanings of the free command. These parameters are relatively simple. Generally, they are commonly used, for example, free-m. The most

In linux, you can view the motherboard model, cpu, memory, memory size, and nic information.

In windows, we want to view the information about the motherboard, cpu, and memory, which can be directly queried using the Manager. However, you must understand these commands in linux, the following is an example. Note: We may need to check the

Download from linux to obtain the route table in China

This article introduces a linux script for automatically downloading and obtaining route tables in China. I hope it will be helpful to you. Today, we have configured a vpn for the company's macbook, but every time we dial everyone's qq and skype

Fallocate in linux quickly creates large files

Previously, dd was used to create a large download test file, but the speed was too slow. Now I know: fallocate. Next I will introduce how to use dd AND fallocate to create ultra-large file instances. Previously, I used dd to create files. For

How to Set a startup project in Linux

vps

In linux, almost all installed software won't be automatically started by default, and I need to start it manually. This is very bad for WEB servers, apache, and mysql, so how do we remember that these software is automatically started upon startup?

Checks whether the linux VM/space supports the mail function.

On the linux server, we need to determine whether it can use the mail function in many ways. For example, we can use exists or phpinfo to check whether it can use the mail function. Here we will introduce these two methods. Use the exists function

Putty connection to server automatic disconnection problem solved

PuTTY is a Telnet, SSH, rlogin, pure TCP, and serial interface connection software. Earlier versions only support Windows platforms, and earlier versions have supported various types of Unix platforms. Problem: It is often said that when you log on

Python IDE Based on Sublime Text

Next, I will give you some introductions on how to build Python IDE Based on Sublime Text. I hope the article will help you. 1. Problem When I recently used Sublime Text 2 to write Python code, I found two minor issues: If functions such as img are

Iptables firewall problems caused by ssh logon Failure in VPS

If the iptables firewall is not configured properly, we will not be able to access the server on our own. Let's take a look at our own vps in a hurry today, and we won't be able to log on through ssh, so it is very difficult to query logs, several

Common linux commands (for personal use)

After using some commands in linux, I don't remember. Here I will take a note of my linux commands. I hope this article will be helpful to you. View DisksDf-hView the file folder size in the current directory.Du-sh * View system cpuTop and press "1"

Solution to a large number of TIME_WAIT problems on linux servers

Today, we found that the linux machine cannot be connected through ssh and cannot be pinged on the machine. Later, we checked the number of TIME_WAIT connections through the netstat-anp | grep TIME_WAIT | wc-l command, let's take a look at the

Lvs Load Balancing implementation mechanism/ipvs Scheduling Algorithm

Eight scheduling algorithms:: Rr | wrr | lc | wlc | lblc | dh | sh |Round-Robin Scheduling)Weighted Round Scheduling (Weighted Round-Robin Scheduling)Least-Connection Scheduling)Weighted Least-Connection Scheduling)Locality-Based Least Connections

Total Pages: 5467 1 .... 4225 4226 4227 4228 4229 .... 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.