Someone asked, How can I write a driver for so long?
Indeed, it is not easy for everyone to go all the way, but now that we have reached today, we can only stick to it.
Usb_stor_acquire_resources () is used to obtain resources by name. What is
In a Linux file system, there are two types of search concepts: Search for file names and search for specified content in a file. File search is a very important feature in the use of the operating system. So today we will study it.
I. File
Every time you use vim, you need to enter the corresponding directory from the terminal and open the file for editing. This is always very troublesome, so I searched the internet to add vim to the right-click menu, which is very simple and easy to
In the backup. sh file, write the following:
BACKUP = "/home/gfdpsdev/backup/dps_backup"
TIME = $ (date + % F)
BACKUP_PATH =/home/gfdpsdev/backup/dps_backup/$ TIME
If [! -P $ BACKUP_PATH]
Then
Mkdir-p "$ BACKUP_PATH"
Fi
Cd BACKUP
Tar-X *.
Lsof (list open files) is a tool used to list open files in the current system. In linux, everything exists in the form of a file. Through a file, you can not only access common data, but also access network connections and hardware.Enter lsof in
This morning, I am going to play a game similar to running a kart under fedora, but the driver does not support 3D. So I started the Driver Installation trip early in the morning. There are a lot of online materials, but they are not practical,
1. more $ less
More is similar to liss, for example.
Mkdir temp
Cd temp
Touch
Cat a | more/less
The long results of the first command are displayed by page.
2 cat & paste
Both cat and paste can display the content of the merged
When you use vi or vim to edit folder encryption, you should use wq or: x to exit when saving the disk, but sometimes you may accidentally press: X,
At this time, the system will prompt:
Enter encryption key:
If you have not carefully read
I read some documents and summarized some basic Vim commands suitable for programmers. They are not very complete, but at least practical... Are the most basic
Vim tutorial
Open the terminal under fedora.
Input vim filename to enter vim
///////////
1. Non-root directory damage
A) identify which file system has an error. e.g./dev/sda7 has an error.
B) Use The fsck command to fix the problem: # fsck/dev/sda7
C) restart: # reboot
2. damaged root directory
1. What is sudo?
Sudo is a linux system management command. It is a tool that allows common users to execute some or all of the root commands, such as halt, reboo, and su.
Using sudo not only reduces the logon and management time of the root
I installed Ubuntu11.10 today and found Chinese garbled characters when opening the TXT file. I checked it online. Some netizens provided the following methods:
Press Alt + F2 to open the run application dialog box, enter gconf-editor, press enter
Share a small software with you
Many of my friends have installed windows and ubuntu dual systems. (well, this refers to hard disk installation. If wubi is used, it is just like uninstalling a common program on the control panel ). However, if
Symptoms:Boot display: GRUB loadingError: unknow filesystemGrub rescue>Cause:The following operations have been found to cause this problem:1. To delete ubuntu, delete/format the partition where ubuntu is located in windows.2. Adjust the disk and
For the case where use_sg is 0, let's look at the second row. offset is the parameter passed in by the function call. It is clear in the comment that it is used to mark the offset, each time you copy several bytes, it adds several bytes, and the
Environment: Ubuntu10.04
Steps:
1. sudo apt-get installportmap
2. sudo apt-get install nfs-kernel-server
Note: in step 2, I failed to install the nfs-kernel-server, which is still the case after the source change. Finally, I searched for
Method 1: 1. Configure the yum library,
2. graphical installation. Choose applications> add/remove software> Languages> chinese support,
Then select apply for installation.
Method 2: Install the rpm on the disc. The data packets below the rpm
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