If you are not allowed to access a single user, you must first configure the password for grub. You only need to modify/boot/GRUB/grub. conf or/etc/grub. conf (/etc/grub. conf is/boot/GRUB/grub. conf ).
For example: VI/boot/GRUB/grub. conf to edit
How to lock files
There are three different file locks, all of which are "consulting", that is, they rely onProgramBetweenCooperation, so the consistency of all program blocking policies in a project is very important when your program needsBe
I. scenario 1. obtain the absolute path of the file. This is obtained by FD. 2. obtain the absolute path of the process. two data structures related to the Linux kernel and Path: 1. the struct dentry file name is stored in the struct prototype:
First, set the path for saving securecrt upload and download files
Options-> session-> XMODEM/zmodem-> upload/download-> OK
Then check whether there are the sz RZ commands in the system (the commands in FreeBSD are lrz and lsz)
If there is just
I recently read about the slab mechanism. The analysis on the internet is rich and comprehensive. I will not repeat it too much. I just made a simple summary myself.
1. Several important data structures
(1) kmem_cache data structure:
Struct
From: http:// OS .51cto.com/art/200912/168700.html
We often encounter problems and difficulties in our study and life. For example, when we are learning Linux, for example, how to obtain the file size in Linux. A few days ago, I needed to write a
The biggest benefit of using conditional variables is to avoid being busy. It is equivalent to the signal in multiple threads. The condition variable is something in the thread, that is, waiting for the occurrence of a condition and the signal is
For SuSE 10
My QT is 4.5.3, everything goes by default, default installation path:/usr/local/trolltech/Qt-4.5.3
Terminal input:
Sudo Vim/etc/profile (that is, open the/etc/profile file)
Enter the password and press I to enter the
Student ID: SA ××× 310 name: ×× Tao
Environment: ubuntu13.04 gcc4.7.31. Process Management
Processes in Linux are mainly managed by kernel. System calling is a way for applications to interact with the kernel. As an interface, system calls allow
4. Virtual Machine VMware and network configuration (package you play with virtual machine)
I have seen many people post posts asking me how to play with virtual machines. In fact, I do not recommend using virtual machines.
Lsof Quick Start
View the usage of a file
Check which processes call a file:
$ Lsof/etc/passwd
View the usage of the file system
The/tmp directory is full of junk files, but the LS cannot see too many files. Who did it?
$ Lsof/tmp
Search for
Linux raid1 environment setup and usage instructions
Why should I build the linuxraid1 environment?
Linux raid1 is the most common Hard Disk redundancy backup solution for Linux servers. It can ensure the security of hard disk data when the hard
I. Tools used
1. x_scan3.3 is a hacker tool developed by China's famous hacker glacier (formerly known as Huang Xin). It has features such as vulnerability scanning, weak password cracking, and port scanning, although it is also a relatively old
(1) The intuitive way is: if you use the fedora system, enter setup in the command line and enter the static IP address according to the wizard, refer to my article "Building a NAT test environment for VMware Workstation"
(2) modify the
Http://blog.csdn.net/haojianno1/article/details/7925797
Part 1: detecting arm or other single-chip microcomputer
I. Concepts and details
In computer systems of various systems, there are usually two types of byte storage mechanisms: Big-Endian and
Command function: Updates and queries runlevel information for system services
Update or query system service running level information-that is, the command operation must be a system service (View/etc/init. d)
Syntax:Chkconfig [-- add] [-- del] [--
Linux iSCSI target configuration process
Article category: Operating System
I. Install iSCSI target for Linux1. Operating System:[Root @ rac2 ~] # Cat/etc/issueEnterprise Linux as Release 4 (October Update 4)Kernel R on an M[Root @ rac2/] #
Implementation of RAM for ARM Linux
Early_trap_init-> modify_domain (domain_user, domain_client );Set the domain permission of user mode to client (01)
Set the address SVC mode to read and write Starting from 0xc0000000 according to the created page
I. Samba protocol Basics
After NetBIOS appeared, Microsoft implemented a network file/print service system using NetBIOS. This system sets a file sharing protocol based on NETBIOS, which Microsoft calls Server Message Block (SMB) protocol. Microsoft
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