In shell mode, type VI and the file name you want to edit to enter VI. For example:
VI Example.txt
You can edit the Example.txt file. If the file exists, the contents of the file are displayed in the editing interface, the cursor is positioned on
, it analyzes/var/log/secure (Redhat,fedora Core) and other log files, when found that the same IP in a number of SSH password attempts will be recorded IP to/etc/hosts.deny file, so that the IP to automatically screen the purpose.
DenyHosts
The basic usage of the Linux zip command is:Zip [parameters] [packaged filename] [packaged directory path]List of Linux zip command parameters:-A to turn files into ASCII mode-F attempt to repair corrupted compressed files-H Display Help interface-M
Ubuntu now has its own apparmor and can get the appropriate information in the manual. The article is from a lot of English data collated summed up, there may be inaccurate places, please forgive me.
Access Control with program bindings
The access
The error prompts are as follows
Make: * * * [Pdo_mysql.lo] Error 1
Solutions
This is because the file that requires the header of MySQL at compile time, and it cannot find the location of the header file by default search, so this problem occurs.
Pre-Installation Preparation work first1. Da Authorization2. Close SELinuxThe following commands are used:
Sed-i "s/^selinux=.*/selinux=disabled/"/etc/sysconfig/selinux3. Upgrade
Yum Update4, install the necessary formation
Yum install wget gcc
1. Confirm that crontab is installed:
Executing the crontab command if you report command not found, it indicates that you did not install
2. Install Crontab
The installation process is as follows
The code is as follows
Copy Code
Reboot command:
1, reboot2. shutdown-r now reboot (root user)3, Shutdown-r 10 over 10 minutes automatic restart (root user use)4, Shutdown-r 20:35 reboot at 20:35 time (root user)If you set the reboot through the shutdown command, you can cancel
Create a test environment and create a few new files
The code is as follows
Copy Code
# cd/tmp# mkdir Test# CD Test# Touch a.php b.js c.css 1.png# ls1.png a.php b.js C.css
Next, find the file to identify the
The procinfo (process information) command reads relevant data from the/proc directory, and properly sorts the data and outputs it to the standard output device.SyntaxProcinfo [-abdDfhimsSv] [-F ] [-n ]Parameter description: -A displays all
SMB and CIFS are server communication protocols and are commonly used in systems such as Windows 95, 98, and NT. The smbclient (samba client) allows Linux to access resources shared by Windows.SyntaxSmbclient [network resource] [password] [-EhLN]
Permission: all users.SyntaxWrite user [ttyname]Parameter description: User: The user account for which the message is to be sent Ttyname: if the user has more than two tty connections at the same time, you can select a suitable tty to send
Uux can execute commands on the remote UCP host or execute commands on the local machine, but it will use files on the remote computer during execution.SyntaxUux [-bcCIjlnrvz] [-a ] [-g ] [-s ] [-x ] [-- help] [command]Parameter description:
The Linux mke2fs command is used to create an ext2 file system.SyntaxMke2fs [-cFMqrSvV] [-B ] [-f ] [-I ] [-N ] [- l ][-L ] [-m ] [-R = ] [device name] [number of blocks]Parameters: -B specifies the block size, in bytes. -C. Check whether any
In Linux, performance problems occur. Generally, we can use top, iostat, free, vmstat, and other commands to locate the problem. Iostat can provide us with a wealth of IO status data.1. Basic use$ Iostat-d-k 1 10The-d parameter indicates that the
Mtoolstest is an mtools command. You can read and analyze mtools configuration files and display the results on the screen.SyntaxMtoolstestInstanceEnter mtoolstest in the command line to display the current configuration information of the mtools
The Linux cut command is used to display the text from num1 to num2 in each line starting from the beginning.SyntaxCut [-bn] [file]Cut [-c] [file]Cut [-df] [file]Instructions for use:The cut command cut bytes, characters, and fields from each line
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