8.3 using C to access MySQL data 8.3.3 The main API function that runs the SQL statement to run the SQL statement is appropriately named:int mysql_query (MySQL *connection, const char *query);This routinea valid SQL statement that accepts the form
After the JDK is installedIn CentOS:Execute rpm -ql java-1.7.0-openjdk-devel | grep ‘/bin/javac‘ the command OK,After execution, a path is output that removes the "/bin/javac" at the end of the path, leaving the JDK with the correct installation
Linux does not have Dos2unix or unix2dos command How to solve the solutionhttp://blog.csdn.net/w616589292/article/details/38274475What to do if the Dos2unix command is not foundHttps://zhidao.baidu.com/question/1860968406611919387.htmlLinux does not
Read option variable name-P "prompt message"-t Specifies the wait time, without specifying it waits-n Specifies the number of characters to be received, without specifying a limit-S hidden input data, suitable for confidential information
The previous blog post has written how to modify the remote login port, this time say how to prohibit the root user remote login.method is very simple, first with the root user vi/etc/ssh/sshd_config file, find the following file# Authentication:
Recently in reading the source code of the Libev, see the Libev of the codes inside the sleep implementation, I think this sleep can be realized alone, as a reference, can be directly used in the future.The code is as follows (slightly
Basic commands under the Linux systemLinux System basic commands: to distinguish caseuname display version information (same as Win2K ver)dir Displays the current directory file, Ls-al display includes hidden files (dir with Win2K)pwd Query the
Top as one of the most frequently used and most important Linux system monitoring tools in daily management work, can dynamically observe the status of system processes.But the disadvantage is that only support keyboard operation, display is
Command: NGINX-TTo view the reason for failure:Nginx: [Emerg] "fastcgi_pass" directive is duplicate in/etc/nginx/sites-enabled/default:61Nginx:configuration file/etc/nginx/nginx.conf Test FailedAnd then find a way to solve the
/boot: System boot-related files such as: Kernel, INITRD, and Grub (bootloader)/dev: Device filesDevice files:Block devices: Random access, data blocksCharacter Devices: Linear access, by characterDevice number: Main device number (major) and
Summarize some Linux commands for easy memory and learningCommon command format for Linux commandscommand word [options] [parameters]Example: ls-l/etcSeveral auxiliary operations for command line editingTab key: Auto-completingBackslash "\": Force
Without root, add regular users and manage with sudo authorization
Change the default remote connection SSH service port and disable root user remote connection
Scheduled Automatic server time update
Configure the Yum update source to
Text sort: SortXX Ascending-N Ascending by numeric size-R Descending-t specifies the field delimiter-k specifies which field to sort for the keyword sort-t:-k3/etc/passwd-U sorts the same rows once only once-F Ignore SizeUniq determines whether the
Security code: There is no degree of loneliness is impossible to have inner peace.we learn by TCP individual states , you can exclude and the It is helpful to locate network or system failures. View the number of connections to the server through
Differences and connections between processes and threadsIn many classic operating system textbooks, the process is always defined as an execution instance of a program, it does nothing, it only maintains the various resources required by the
Network Configuration-nmcli: Configure nmcli
Use the nmcli command to configure the network
NetworkManager is a daemon for managing and monitoring network settings. A device is a network interface and a connection is a network interface
[Switch] 10 basic netstat usage and netstat10 usage
5. Obtain the process name, process number, and user ID.
When viewing the port and connection information, you can view the corresponding process name and process number, which is very helpful for
What is multithreading? What is a lock? What is the amount of information? And their respective uses, multi-thread Information
Thread concept:
Every program running on the system is a process. Each process contains one or more threads. The process
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