Shell application tips:
TIPS:
1. Command completion function: key
2. Clear screen: Ctrl + l
Similar to: clear [DOS: cls]
3. Delete all content before the cursor: Ctrl + u
4. Command history: history
Now ,! The command number listed by history to
1. Add a file
Consider a process that adds data to the end of a file. Early UNIX systems did not support the open O_APPEND option, so the program was written in the following form:
( lseek( fd, , )
This program works normally for a single process.
I recently looked at some things about linux shell. Occasionally, I found it online when I realized a dynamic clock on the terminal.
Http://blog.csdn.net/reage11/article/details/8586200 this blog can easily understand, But I carefully read his code,
The partition of a linux disk is roughly the same as that of a windows disk. A slight difference is that a swap partition is added to the linux operating system, therefore, there must be at least two linux partitions: the root partition and the
When I first arrived, it was also the first time I wrote a technology-related blog. I 'd like to share a few articles about Linux in my favorites. I hope I can help anyone who needs it.
1. Advanced Bash Script Programming Guide: This website
For example, software-1.2.3-1.tar.gz. It is packaged using tar, a packaging tool for UNIX systems.
Rpm packages, such as software-1.2.3-1.i386.rpm. It is a package Encapsulation Format provided by Redhat Linux.
Dpkg package, such as software-1.2.3-
1. Copy, cut, and paste text
1. Copy, cut, and paste rows
Alt + 6: copy the row where the cursor is located.
Ctrl + K: Cut the row where the cursor is located.
Ctrl + U: paste.
2. Freely copy, cut, and paste
Free replication:
Ctrl
You can use the x option of the set command to display all command execution and variable value change processes.
Usage: First UseSet-x to enable debugging, And finally use the commandSet + x disable debugging mode.
A simple example shows how to
Operating system detection
Xprobe2
Format:
./Xprobe2 Domain Name
./xprobe2 –v –r IP
Port service software testing
Amap
Application Mapping mode:
Amap-A domain name port
Banner mode:
Amap-B domain name port
Building more and more website projects on linux servers to prevent website projects from being hacked is the basic work of web O & M personnel. There are countless articles on website O & M skills on the Internet, with different methods,
There are two useful functions for library function error handling: perror and exit: 1. Error Report
The perror function reports errors in a simple and unified manner. Many library functions in ansi c, especially I/O functions, call the operating
2. You will receive the following email after review:
3. The remaining process of creating EC2 and RDS can refer to http://www.cnblogs.com/deltacat/p/3294864.html
4. Install nginx, php, and php-cgi. (The operating system is amazon AMI, rather
I. general process of I/O flow operation:
(1) define a FILE * type pointer variable for each FILE to be opened. This pointer variable points to the FILE structure used by the I/O Stream.
(2) Use the fopen function to open the I/O Stream. To open an
I. Introduction
In UNIX systems, most file I/O only requires five functions: open, read, write, lseek, and close. These functions are often called unbuffered I/O without buffering ). The term "no buffer" means that each read or write operation
UNIX systems support sharing open files between different processes.
The kernel uses three data structures to indicate opened files. The relationship between them determines the possible impact of one process on another process in terms of file
This article describes common VI commands in linux, including copying, deleting, editing, and querying.
Vi has three modes: "General mode", "edit mode", and "command line command mode ".
L normal mode: when vi processes a file, it is normal as soon
Next let's take a look at how to compile and install Varnish3.03 and configure Varnish3.03 in linux. I hope this article will help you.
This is a note on Varnish3.03 compilation and installation configuration.
Install
The Code is as
This article introduces how to solve the problem of fatal error: ffi. h: No such file or directory when compiling bcrypt.
The project is tested normally on the local machine and is ready to be deployed on the test server for internal testing. As a
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