I. File location
Position in general under/var/spool/cron/, if you are root, then there is a root file, recommended daily backup, to avoid accidental deletion caused crontab file loss;
Two. log file location
By default, the log executed in
Roughly summed up the Linux under the various formats of compression package compression, decompression methods. But some of the methods I did not use, also not all, I hope you help me to add, I will be ready to modify, thank you.
. tar
Unpack: Tar
Hardware platform: Freescale IMX6
Kernel version: kernel3.0.35
Linux's I2C subsystem is divided into three layers, I2C core layer, I2C bus driver layer and I2C device drive layer. I2C core layer is provided by kernel developers, I2C bus driver
http://blog.csdn.net/zqixiao_09/article/details/50888795
We have learned the theoretical knowledge of platform devices in front of Linux device driver development--platform device driver, the following will be an example to delve into our learning.
[Root@localhost ~]# Ls-l
Total 152
-rw-r--r--1 root root 2915 08-03 06:16 A
-RW-------1 root root 1086 07-29 18:35anaconda-ks.cfg
................................................
Line 1th: Total
The number after total is the sum of space
After restoring the virtual machine Ubuntu, first, click on the virtual machine-install VMware Tools (Install vmware Tools), we will find the CD icon of VMware Tools on the Ubuntu system desktop.
Double-clicking on this file icon will reveal
Ubuntu:
First install mail
sudo apt-get install Mailx
Install postfix sudo apt-get install postfix again (configure during installation and follow the prompts)
Send mail Command sample cat "Content" | Mail-s "Subject" yl33643@126.com
In
Create the smallest root file system for Linux
When compiling the kernel, you can specify a folder as the root file system for kernel startup, which is called Initramfs in Linux.
The practice is as follows (take i386 as an example)
1. Download
FTP command:
The server has an FTP server installed, and another Linux can use the FTP client program to copy read and download files.
1. Connecting to an FTP serverFormat: FTP [hostname| ip-address]A) on the Linux command line, enter: FTP 192.168.26
The premise is that you need an SSH account "Windows System" 001 ssh + bitvise tunnelier Implementation Socks Proxy
Tools that need to be used:
1, Bitvise Tunnelier
Set up:
1, SSH server ip:port, verify the way
2, generally remove on Login inside
Now it's time to put all of the previous theoretical knowledge into practice. Next, we will explore:
? Configuration file for network interface in Red Hat 7
? Using Ifconfig to check and configure interfaces
? Adding and editing static routes
?
The use of ' fstab '
'/etc/fstab ' is an important configuration file for the ' Mount ' command. You can "root" through the ' Diskdrake ' (Mandrake Linux Control Center-mount point), or modify the file with the editor.
'/etc/fstab ' has several uses:
Window System general file name encoding for GBK, file content encoding this need to view or set through the editor, find a editplus text editor can handle text content encoding.
Then on the window to display normal files to Linux, often because of
1, checkout the file to the local directorySVN checkout Path (path is a directory on the server)For example: SVN checkout Svn://192.168.1.1/pro/domainShorthand: SVN Co2, add new files to the version librarySVN Add FileFor example: SVN add test.php
Read-Write Spin lock (Rwlock) is a spin lock mechanism with smaller spin-lock granularity, which retains the concept of "spin". However, in the write operation, there can be only one write process, in terms of reading, can have more than one
One, gitGit reset--soft fallback commit to commit codeGit format-patch-1 generate a single patchgitformat-patch Generate multiple patches after a version (not including itself)git am patch/*.patch hit patch"Git commit--amend--reset-author"git log--
Shpass is a simple, lightweight command-line tool through which we can provide a password (non-interactive password authentication) to the command prompt itself. Simple is a tool that allows you to put the password input on the command line;such as:
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