Ext2 file system the regular file system in Linux is Ext2 (Linux second extended file system), which consists of the following three parts: 1) super block: records the overall information of this file system, includes the total inode/block quantity,
Ls: List Files And Directories
Ls-l: lists detailed information about files and directories.
Ls-a: lists all files and directories (including Hidden Directories)
Cp: copy an object
Cp source file directory target directory
Cp-r: Copy
What is a file system and a root file system? What is mounting concept? What is the relationship between the file system and the kernel? This time, we mainly use duniang and
In the basic concept of Linux (1), I simply confused what is Linux kernel.
Video tutorial: http://pan.baidu.com/s/1gnPTx
Linux is a free and open-source Unix-like operating system. There are many different Linux versions, but they all use the Linux kernel. Linux can be installed on various computer hardware devices,
I. Device Files
The device exists as a special file in Linux
Block Device Files
Character (character) Device File
Location of the device file
View device types
Ii. virtual console and user identity Switching
There are 12 virtual
Develop a scheduled task today and add it to the cron list. However, there is a problem. You need to enter the Database Password during script execution:
Mysql-u root-p
After running the above Code, a message is displayed:
Enter password:
After
When a user logs in, the following two configuration files are read:
1)/etc/profile: The global configuration file of the system. It is best not to modify this file.
2 )~ /. Bash_profile or ~ /. Bash_login or ~ /. Profile: Private configuration
In C, the goto statement cannot span functions, but the functions setjmp and longjmp are used to perform such a jump. These two functions are very useful for handling errors that occur in deep nested function calls.
The setjmp and longjmp functions
When multiple processes attempt to process the shared data, and the final result depends on the order in which the process runs, we think this happensRace condition). If a logic after fork is explicitly or implicitly dependent on whether the parent
The encrypted password is a copy of the user password that has been processed by the one-way encryption algorithm. Because this algorithm is one-way, you cannot guess the original password from the encrypted password.
The algorithms used in history
Reprinted from: http://www.cnblogs.com/88999660/articles/1581524.html
Access the vi commandVi filename: open or create a file and place the cursor at the beginning of the first lineVi + n filename: open the file and place the cursor at the beginning
The basic time service provided by the UNIX kernel is the number of seconds that have elapsed since 00:00:00, January 1, January 1, 1970 AD, The International Standard Time. This number of seconds is represented by the Data Type time_t. They are
POSIX.1 defines the uname function, which returns information related to the current host and operating system.
# Include uname (utsname *-
Pass the utsname structure address to the parameter of the function, and then fill in the structure of the
There are eight methods to terminate a process, five of which are normal termination. They are:
(1) return from main.
(2) Call exit.
(3) Call _ exit or _ Exit.
(4) The last thread returns from its startup routine.
(5) The last thread calls
Due to the popularity of OpenStack, more and more people are paying attention to QEMU. Recently, the new version 1.7 is released. The following describes the installation process of Fedora:
First, install the basic compilation software and git
Program list 5-1 use getc and putc to copy the standard input to the standard output
# Include (c = getc (stdin ))! = (Putc (c, stdout) =
Program list 5-2 Use fgets and fputs to copy standard input to standard output
# Include (fgets (buf,
In UNIX systems, the standard I/O Library eventually calls the file I/O (read, write, etc ). Each standard I/O Stream has a file descriptor associated with it. You can call the fileno function on a stream to obtain its descriptor.
Note that fileno
. When you open or create a file using the standard I/O library, we have associated a stream with a file.
For the ASCII character set, one character is represented in one byte. For international character sets, a single character can be expressed
Sendmail is an automatic mailbox sending function in linux, but this function is not available by default. We must enable sendmail, next let's take a look at how to send mail by installing and configuring sendmail in linux.
Sendmail
There is also a way to express it: find path option [-exec COMMAND {} \;]Because the find command will perform recursive search on the files and Their subdirectories Based on the option, that is, the search condition, starting from the given
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