1.
The sudo command allows management to assign reasonable "rights" to common users to execute tasks that can only be completed by super users or even authorized users. However, after the user executes sudo and enters the password, the user obtains
Variable test statement: used to test whether the variables are equal, empty, and file type.Format:Test conditionsRange: integer, string, and file(1) integer test:Test int1-eq int2 test whether the integer is equalTest int1-ge int2 test whether int1>
First install: kernel-devel
Execute Command:
yum install kernel-devel-$(uname -r)
Download the virtual machine of the corresponding version from the official Virtualbox website.
Https://www.virtualbox.org/wiki/Linux_Downloads
Then
#rpm -ivh
3.1 generate files of any size
1. The simplest way to create a file of a specific size is to use the dd command. The dd command clones the specified input content and writes an identical copy to the output.
2 stdin, device files, common files, etc.
1.1 Introduction
1. After the terminal is opened, a prompt will appear, in the following format:
Username @ hostname $ or root @ hostname #
2 $ indicates a common user, and # indicates a Super User. Super Users have the highest permissions in Linux.
Reboot, halt, poweroff
After reading the man help information of these three commands, we found that the same functions are implemented.
Purpose:
Restart or shut down the system
Syntax:
Reboot [options]
Halt [options]
Poweroff [options]
The first process started by Linux kernel is/sbin/init, and its configuration file is/etc/inittab. This article will analyze how Linux starts it according to this configuration file, the following is a typical example of this file:
## inittab
Recently, when using Cold Standby tar for Oracle database migration, You need to filter out the files exported by datapump under the current database file, otherwise, a large tar file will be generated and the network transmission time will be
First install: kernel-devel
Execute Command:
Yum install kernel-devel-$ (uname-r)Download the virtual machine of the corresponding version from the official Virtualbox website.
Https://www.virtualbox.org/wiki/Linux_Downloads
Then
# Rpm-ivh
# Include sleep (unsigned
This function suspends the calling process until one of the following conditions is met:
(1) The wall clock time specified by seconds has passed.
(2) Call the process to capture a signal and return it from the signal
Changing the signal shielding characters of a process can block the selected signal or lift the blocking on them. Using this technology can protect code critical zones that do not require signal interruption. What if I want to unblock a signal and
After logging on to linux locally, the logon message is from/etc/issue and/etc/motd.
After logging on to linux via telnet, the logon message is from/etc/issue.net and/etc/motd.
Therefore, you can add content in/etc/motd so that you can display your
A process whose parent process has been terminated is calledOrphan process), This process is "adopted" by The init process ".
The entire process group can also become an orphan ".
Orphan process group): The parent process of each member in the
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,
Iv. Compression
Gzip, gunzip
Linux Standard compression Tool
Up to 75% compression ratio for text files
Compress, uncompress
VcD4KPHA + vsm1xFVuaXjRucv1uaS + 3zwvcD4KPHA + incubator/NDCtcRMaW51eNG5y/incubator + pgltzybzcm9
VII. Command Line expression
Command Line output -- ""
Treat a string as a string. If a string contains characters with special meanings, It is escaped.
Double quotation marks cannot be \ $ '! Special Functions of symbols are prohibited
In the private house of laruence, we have introduced Linux users and user groups in detail. But when we started playing, we should prefer 777 .... Helpless, people always need to evolve. I have reorganized some information about users and user
I want to change Apache2.2 to Nginx for a few days. Today I will try it. Found a stable version: 1.4.1 http://nginx.org/download/nginx-1.4.1.zip
The configuration is very simple, that is, it is troublesome to manage nginx and php-cgi
After installing memcahce, I want to know more about the usage. If the allocated memory is insufficient, what is saved? After Baidu found that this tool is very useful! This tool was downloaded from the http://pecl.php.net/package/memcache in
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