Chapter Two: Linux commands that novice must master1. Execute the Help document commandMan2, common system work orderecho, date, reboot, Poweroff, wget, PS, top, pidof, Kill, Killall;3. System Status Detection commandIfconfig, uname, uptime, who,
Set permissionsChmod[-r]permission filename|directory(1) Modifying permissions in digital notation------------------------------------------------The number notation reads R, W, x as 4, 2.1来, and the part that is not granted is represented as 0 and
1. See how many IP accesses are available on the day:awk ' {print '} ' log_file|sort|uniq|wc–l2. View the number of times a page has been accessed:grep "/index.php" Log_file | Wc–l3. See how many pages each IP visited:awk ' {++s[$1]} END {for (a in
Summarize:D: Indicates directory-: Represents a normal file. Normal text documents, you can use cat to viewC: Begins with: a string device. For example: mouse, keyboard.L: A hard link that starts with a soft link file. Soft links are equivalent to
As we continue to advance, the knowledge of learning Linux continues to deepen. After the installation of the necessary software for the second lesson, this lesson also learned some of the work commands in the Linux system. Includes execute view
Gzip gunzip zcat bzip2 bunzip2 bzcat xz unxz xzcatA:gzip usage# gzip file Compressed files do not retain source files directly generated file.gz# Zcat file.gz can temporarily save file.gz compressed files to other space in the terminal output for
1.SSH IP standard usage ssh [email protected] (default current system login user, if it is a normal user, when not labeled as root, is a normal user login) SSH [email protected] (Springboard machine)2.W (view system load)3. View current logged in
1. Stop Tomcat
1. View Tomcat process: PS-eflgrep Java (Press ENTER)
2. Stop the Tomcat process: Kill-9 process ID (Press ENTER)
2. decompress the file in Linux
1. Go to the compressed file path test: CD/test (Press ENTER)
2. Delete the testpro
Learn fromProgramIt has been 12 years since now,
After 12 years of use of windows, I finally began to learn how to use Linux.
The reason is that Windows 7 is used to process a lot of files (usually 10 Gb), and the system is a little overwhelmed,
I. Burn uboot. bin to NAND Flash
(1) J-link arm(2) r(3) Speed 12000 // set TCK(4) initialize SDRAMLoadbin D: \ init. Bin 0Setpc 0G(5) download the u-boot.bin_openjtag to SDRAM and runHLoadbin D: \ u-boot.bin_openjtag 0x33f80000Setpc 0x33f80000G(6)
The test environment is ubuntu.
First download raknet-3.7...tar.gz from http://www.jenkinssoftware.com/index.html
Decompress the compressed file and enter the.../source directory.
There are two ways to compile a static library and a dynamic library.
Passwd structure related to system data
A passwd structure related to system data is defined as follows:/* The passwd structure .*/Struct passwd{Char * pw_name;/* User name */Char * pw_passwd;/* password .*/_ Uid_t pw_uid;/* User ID .*/_
1. Prepare and download the required files. It is assumed that JDK has been correctly installed and configured.
Download the required files from the Apache Official Website:
It has been installed many times, but I still think it is better to take notes. The environment is Red Hat Linux 4 + mysql5 + Apache 2 + PhP51. install Apache
Tar zvxf httpd-2.0.46.tar.gz
CD httpd-2.0.46
./Configure -- prefix =/usr/local/apache2 --
Previously, based on the Code of the IBM deveplopworks community, I made a serial port initialization and sending program. Today, I added a program to read serial port data. The first is the simplest loop reading program, and the second is reading
Comment: The installation package rpm-I package name is deleted by rpm-e name (not the package name) parameter-IVH gets a detailed installation process -- nodeps ignore dependency -- Force installation-u package name: upgrade and install-F update no
[Disclaimer: All Rights Reserved. You are welcome to reprint it. Do not use it for commercial purposes. Contact Email: feixiaoxing @ 163.com]
In the company, we usually use Windows systems, but the machines for development and compilation are
An important feature of the Linux 2.6 kernel is the provision of a unified kernel device model. With the continuous advancement of technology, the topology structure of the system becomes more and more complex, and the requirements for intelligent
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