The Dos2unix of Linux commands(2011-09-22 11:24:06)reproduced
Tags: gossip
Linux command Dos2unix-convert DOS format text files to UNIX format usage notesThe Dos2unix command is used to convert a DOS-formatted text
To compile and install the Linux kernel steps:I. Obtaining the kernel source codeSource URL: www.kernel.orgTwo. Unzip the kernel sourceFirst log in as root and enter the/USR/SRC subdirectory. If the user installs the kernel's source code while
1run the following command at the terminal tail-F/var/log/syslog2insert a USB flash drive with read-only file system failure3. Observe the command-line output in the following part: Jul8 -: -: -CSLOUIS-PC kernel: [15595.155904] Fat:filesystem error
Last: View current and past user login information[[email protected] ~]# lastroot pts/0 192.168.1.106 Fri June 09:53 still logged in admin tty1 : 0 Fri June 09:47 still logged in root tty5 Fri June 09:31 still logged in reboot
When the size of the disk exceeds the standard, there will be alarm prompts, if you know the DF and du command is a very wise choice.DF can view the first-level folder size, usage scale, file system and its hang-in points, but there is nothing to
Device bus driver Model: http://blog.csdn.net/lizuobin2/article/details/51570196This article main reference: Http://www.wowotech.net/device_model/platform_device.htmlPlatform platform device driver is based on the device bus driver model, it is
Linux Scheduled Tasks (reproduced)The planning task of Linux is an important part of the system management, and it is a way to realize the automatic work of the system, because of the planning task, we can fully realize the scripting and automation
Check if the VSFTPD service is already installedRpm-qa | grep vsftpd650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/82/7C/wKiom1dWk_KDXuzrAABHnkNhmRM901.jpg "title=" 2016-06-07_17-28-31.jpg "alt=" Wkiom1dwk_kdxuzraabhnknhmrm901.jpg
Sixth, the first Linux driver: Count the numbers of wordsFirst, the steps to write a Linux driver1. Build Linux driver skeleton (load and unload Linux drivers)Module_init processing driver initialization, Module_exit processing driver exit2.
In the first chapter, we've learned what it is. Linux drives, Linux drives work, Linux systems map each driver to a file, save in/dev, and then use the C function ioctl to send print commands to the drive's device files.So what we're going to look
The elf file (target file) format is mainly three kinds:1) can redirect files : The file holds the code and the appropriate data, which is used to create an executable file or a shared target file together with other target files. (The target file
February 11, 2016, the Linux Foundation and Industry Partners announced the new project: Fd.io. This new project is dedicated to building open source technologies for next-generation data centers and service providers, creating an IO service
Step 1-create a New SSH KeyWe need to generate a unique SSH key for our second GitHub account.Ssh-keygen-t rsa-c "Your-email-address"Be careful this you don ' t over-write your existing key for your personal account. Instead, when prompted, save the
/root directory. Generally does not contain any files, except for the possible standard system-guided mappings, usually called/vmlinuz. All other files in the rootThe subdirectory of the file system./bin commands used by general users/boot Place the
The following table lists the default directories or files for Linux and their uses:
Catalog/File
Use
Source
/
/At the top of the Linux file system tree structure, it is the gateway to the Linux file system,
DF can view the first-level folder size, usage scale, file system and its hang-in points, but there is nothing to file.Du can view the size of files and folders.It works well with both. For example, use DF to see which level of directory is too
Linux Kernel implements interrupt and interrupt processing (2). Linux Kernel
The first part is the step-by-step call !! : Http://www.cnblogs.com/lenomirei/p/5562086.html
The last time I said that the Linux kernel interrupt will divide the
How to add a user in linux and give the user the root permission, linuxroot
1. Add a user. First, use the adduser command to add a common user. The command is as follows: # adduser tommy // Add a user named tommy # passwd tommy // change password
Nginx rwrite and add Nginx modules that do not record specific statuses
Requirement: log.bkjia.com/q.gif is successfully accessed, 404 is returned for other paths, and 404 is not logged.
Step 1: Configure nginx rewrite1. Configure nginx
Linux Corosync + Pacemaker
Complete HA structure:
Install and configure a high-availability cluster:1. node name: the names of each node in the cluster must be resolved to each other./Etc/hostsIn hosts, the forward and reverse resolution results 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