Some garbled files cannot be managed by ordinary RM commands.can be deleted by deleting the I node.
[root@yusky]# ls??,? k?k?ͨa*.? J]?k?φ?? P??? Z?b? A? R??? X?? U??.????? *h@b? T??? xs* View the I node of the garbled file[root@yusky]# Ls-liaha54263
Grammar
Format: * * * * * * * * * * * * * * * * The task of the Year
For example, the following example performs a task every minute:
*/1 * * * */usr/bin/php/users/huangyibiao/desktop/shell/test.php
Pack Zxsdw This folder (where the V parameter is the display process)
Tar zcvf/home/zxsdw.com_$ (date +%y%m%d). Tar.gz-c/home/wwwroot Zxsdw
Tar to exclude files from the Zxsdw folder when compressing a backup (--exclude folders and files that
Many IDC will divide the hard disk into two pieces, system disk and data disk, especially the use of some cloud technology merchants. This disk usually reads and writes faster than the data disk. If you do not care about the size of the hard disk,
RVM is a command-line tool that provides the management and switching of a convenient, multiple-version ruby environment.https://rvm.io/Installation:
# GPG--keyserver hkp://keys.gnupg.net--recv-keys d39dc0e3# curl-l Get.rvm.io | Bash-s Stable#
Use:
Give the next server administrator some indication that they can manage the server. I was prompted to do the CD, but I don't know how to use the child shell to control the parent shell's directory. But now it's better to know more about the
L Whether we have found in the environment we are more commonly used in the WordPress pseudo static does not take effect, the inside page 404 error page. This problem is very good to solve, because we LNMP adopted is nginx, not Apache, so not as
(PHP 5.3 and above) Please set ' request_order ' ini value to include C,g and P (recommended: ' CGP ') in php.ini ...
This should all have met, well I also met, last night hard to reload the system environment after the choice of PHP version is 5.3,
How to use awk
awk ' {pattern + action} ' {filenames}
Although the operation can be complex, the syntax is always the same, where pattern represents what AWK looks for in the data, and the action is a series of commands that are executed when the
Modify permissions in Linux will use the chmod command, chmod----Change the access mode of one or more files (mode)
chmod [options] mode files
Only file owners or privileged users can use this feature to change file access mode. Mode can be a
First, get acquainted with the VSFTP command:
Start vsftp with the command:
1.service vsftpd Start
Restart Vsftp with:
1.service vsftpd Restart
Add User: Useradd-m 111CN, the default is to create a user 111CN in the/home directory, if the user
Displays the size of each file under the current directory
The code is as follows:Ll-h(relative to LS-LH)
Displays the total file size of each folder under the current directory
The code is as follows:ls | Xargs Du-sh
Space usage of the current
Run bash scp on a system today and prompt command not found. The solution is as follows. If you need it, referAfter centos6.0 is installed, many packages are not installed because of the minimum installation. Therefore, some common commands are not
Here we use the virtual machine test in esxi virtualization to add a GB hard disk.Selinux and iptables disabled[Root @ localhost ~] # Fdisk-l # create partitions for the new hard disk without attaching them.Disk/dev/sdb: 214.7 GB, 214748364800 bytes2
File type test-E condition operator is used to test whether a file exists (including all file types and directories)If [[-e $ filename]; thenEcho "$ filename exists"FiYou can also test files of the specified type.If [[-f $ filename]; thenEcho "$
Two tools: peek (I am using ubuntu 16.04) and silentcast.1. peek, reference: https://bbs.archlinux.org/viewtopic.php? Id = 209422Installation:$ Wget https://github.com/phw/peek/releases/download/v0.7.2/peek-0.7.2-Linux.deb$ Sudo apt install libsdl1.2
1. About supervisorWhen starting a service, such as nginx, we usually use service nginx start or/etc/init. d/nginx start, but when the system runs multiple services, it is very troublesome to start and stop one by one. When the service fails, manual
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