File I/O programming handles open, read, write, close, and other necessary functions to read and write files, Lseek, Fcntl is also an important function of I/O programming.Lseek function650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/73/C5
Well, finally, the last of the series, let's explore the final question today. Question 5: How to view the value of hostname, whichever is it? 1 [[email protected] ~] 2 # hostname 3 db-server 4 [[email protected] ~] 5 #
CauseRecently used Nohup to create a background process, the default log output to the Nohup.out file, the program ran out of control, after about a week, found that the hard disk space is not enough, so find the reason, found that the Nohup.out
The operating level of Linux refers to the mode in which Linux works. Linux has 0-6 of these 7 runlevel, which represent the 7 modes that Linux can work on, each of which describes the meaning of these 7 patterns.0 shutdown, when run level 0,
I. Contents of the studyThis week the main learning content is mainly:There was no big problem in the experiment of "in-depth understanding of computer systems", and the learning content was similar to last week's experiment "Basics of Linux". The
Grep:global search REgular expression and Print out of the line.function: Text Search tool, according to user-specified "mode" to match the target text line by row to check; print matching lines;Pattern: The filter condition written by the regular
Definition and use of variablesVariable typeStrongly typed: You must specify a type when defining a variable, the participating operation must conform to the type requirement, and calling an undeclared variable produces an error;Weak type: No need
File Lookup:File Lookup: Locate, findNon-real-time lookup (Database lookup): LocateReal-time Find: FindLocateDependent on pre-built indexes; The index is built automatically when the system is idle (periodic tasks); Manually update the database
Catalog1 . Linux hacker account attack vector 2. Linux Suspicious account detection model1. Linux Hacker account attack vectors0x1: Add a hacker account to the "root" group1. Useradd Hacker-p hacker1232. Usermod-a-G root hacker3. ID Hacker0x2: Do
Some of the commonly used commands are collected here.1. Common shortcut keys1. Ctrl + W: Close the current Nautilus window2. Ctrl+t: Open the new Tab in Nautilus3. Ctrl + H: Toggle hidden file (clip) display or not display4. Ctrl+e: Send the
Transferred from:http://seanlook.com/2014/02/23/iptables-understand/First, NetFilter and iptablesNetFilter is a Linux 2.4 kernel firewall framework, proposed by Rusty Russell, which is both concise and flexible, enabling many features in security
1.GNU Build EnvironmentUnzip the compilation tool and add the environment variable path2. Use of compile-related commandsCompile command arm-linux-gcc-g-c-o led.o main.o led.c main.c//Understanding static compilation and compiling only non-linked
Beijing Institute of Electronic Technology (BESTI)Lab ReportCourse: Information Security Design Basic class: 1352 Name: Sun small erudite number: 20135217Score: Instructor: Lou Jia Peng Experimental Date: 2015.9.20Test level: No preview degree:
Partition principle of WIN systemPartitioning is the logical concept of the operating system, and the hard disk itself does not exist1. Mount: The process of establishing a connection between the operating system directory and the hard disk
Encryption and decryption in linuxEncryption/Decryption: encryption protocol: encryption and decryption use the same key: 3des, aes public key encryption: Public Key private key pair digital signature, key exchange RSA, DSA data signature algorithm (
Upgrade Centos to python2.7.10 by default.
In centos6.5, the default Python version is 2.6.6. When I use the latest Django version, I find a syntax error! So I decided to upgrade Python. The steps are as follows:
1. Install Python 2.7.10
1. Download
CentOS route adding command
1. ip route display and set Routing
1. display the route table
[root@centos7~]#iprouteshowdefaultvia192.168.150.254devenp0s3protostaticmetric1024192.168.150.0/24devenp0s3protokernelscopelinksrc192.168.150.110
The format
Install the Chinese font in the win system on centos
1. Start with your local machineC: \ Windows \ Fonts copy or download the font file (*. ttf file) to the/usr/share/fonts/chinese/TrueType directory (if this directory is not in the system, create
Link CentOS in virtualbox through XShell
Remote Installation to the system installed in the virtual machine through xshell or secure crt
Set the Virtual Machine Network option and select Host-only Adapter.
Set Local Network
Set the ip address of
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