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
Iii. select/in [relatively less used]Format: select variable in keywordDoCommand 1......Command nDoneSelect makes every item in the keyword into a similar form and executes the commands between do and done in interactive mode.[Example]#! /Bin/bash#
1. Backup awareness2. backup partition ro or unmount3. Data Compression4. Verify md5sum-c5. encryption processing GunPG asymmetric key encryption]
I. potential threats to the SystemSystem hardware fault software fault power fault user misoperation
01. Some users are allowed to access the Internet, but cannot download it;02. Some users are allowed to download the file;03. Some people are not limited at all;04. All personnel are allowed to remove the restrictions within the specified time
Samba Introduction: in UNIX systems, Samba is a software package that shares files and print services between computers on the network through Server Message Block protocol (SMB.SMB Introduction: Server Message Block (SMB) is a Server/client
1. Disk Space is full when software is installed with yum
[Root @ node1 ~] # Yum install ftp -- software installation error ............................... .... error Downloading Packages: ftp-0.17-53.el6.i686: Insufficient space in download
I. Decompress
Tar-xzvf webmin-1.530.tar.gz
2. Go to the relevant directory
Cd webmin-1.530
3. If you execute./configure at this time, the system will prompt that configure does not exist.
If the source code package is not installed in Linux, it
Linux classifies File Access identities into three categories: owner, group, and others. Each of the three identities has read, write, and execute permissions.
brw-r--r-- 1 unixguy staff 64, 64 Jan 27 05:52 block crw-r--r-- 1
I,
Add User
1. useradd-set Option username [-D view default parameters]
Option:
U: UID (which must not be in the system]
G: Default User Group GID
G: specify multiple groups to which the user belongs. You can specify the department to which the user
There are many commands that can view files. Different commands have different advantages. You can select commands for different needs to improve efficiency:Cat displays content starting with the first line and outputs all contentTac displays the
I. Differences between programs and processes
1. A program is a static concept. It is stored as a software resource for a long time. A process is the execution process of a program. It is a dynamic concept and has a certain life cycle, is
1. Run the df command to view partition usageCommon options-h,-m2. Run the du command to view the file/directory size.Common options:-H [humanity]Du-h/home/xiaofang-S [statistics]Du-sh/etc3. check and repair the file system fsck [file system check]
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
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.
Zookeeper
Function
Search for files
Format
Find pathoption [-print] [-exec-OK command] {}\
The default search path is the current path.
The default value is-print, which is output to standard output.
Execute the command for the searched
1. GRUB Configuration
The configuration file is saved in/boot/grub. conf.
The soft link is saved in/etc/grub. conf.
1. grub. conf file Analysis
Default defines the default startup system.
[It is impossible to install multiple systems in Real
After the linux system is installed, configure the nic ip address in command mode. The configuration file is usually/etc/sysconfig/network-scripts/ifcfg-interface-name
1. Configure the nic ip Address
Vi/etc/sysconfig/network-scripts/ifcfg-eth0 #
1. Without GUI1.1 diff
Diff can compare two foldersSyntax: diff [Option] file1 file2 Description: This Command tells you which lines of file1 and file2 need to be modified to make the two files consistent. If "-" is used to represent file1 or fiie2,
If you need to use the mail () function of php to send emails, you need to install the sendmail component on the server. This is also introduced in the mail () function section of the php manual. Then
Install the sendmail command in Ubuntu:
Sudo
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