1. ls command: (list) List Directory contentsformat ls [parameter] [file or directory] -A displays all files, including hidden files, special files, and so on. -l Use a list of detailed formats, abbreviated LL-H friendly display
Awstats is an open-source log analysis system developed in the Perl language that can be used not only to analyze the access logs of Apache Web servers, but also to analyze log information for services such as Samba Vsftpd IIS. Integrated Crond and
The previous introduction of disk storage this time to implement how to manage the disk, how to partition, create file system and other administrative partition commands1. LSBLK list all currently mounted devices[[email protected] ~]#lsblk NAME
One, file merge operation1. Overlay symbols and append symbolsA) ">" means to overwrite the contents of the left file with the contents of the right file, and create this file if the right file does not exist.b) ">>" represents the contents of the
When using Linux, file lookups are often required. The commands you find are primarily find and grep. Two commands are of a district. The Difference : (1) The Find command is based on the attributes of the file , such as file name, file size, owner,
The grep command finds a character pattern in one or more files.
If the pattern contains spaces, you must enclose it in quotation marks.
grep Tom /etc/passwd
grep will look in the file for/etc/passwd in Find mode Tom.
Detecting IP address conflicts and resolving methods under LinuxProblem Description:A Linux system (IP:192.168.9.120) was installed on a physical machine A in the company's office network, and a JENKINS,REDMINE,SVN program was deployed on it.
Tag: just regular match style sed resolve record result code complete1. Assuming that the IP address is canonical, there is no error in thesed -n "/[0-9]\{1,3\}.[ 0-9]\{1,3\}\. [0-9]\{1,3\}\. [0-9]\{1,3\}/p] testThere are obvious problems with this
DFDF Command:View the file system space usage information.Use this command to see how much space the hard disk has been using, how much space is left, and to view all mounted devices (file systems) and mount points on the current disk.The results
/etc/profile fileWhen a user logs on to a Linux system or uses the SU command to switch to another user, that is, the login shell starts with a guarantee that the startup script executed is/etc/profile??/etc/profile.dNow you know the effect is OK
OverviewChicken rabbit with Cage, is one of the famous classic fun, recorded in the grandson of the book, the title of "There are several chickens and rabbits in a cage, from the top number, there are 35 heads, from the following number, there are 94
SNAT (source address translation) is an address translation operation of the Linux firewall and a type of packet in the iptables command that modifies the source IP address of the packet according to the specified conditionsDNAT (Destination address
Say is alert alert, but accidentally or the important library or instructions mistakenly deleted, if mistakenly deleted, how should be restored?First, the mistaken deletion of the library libc.so.6Take Centos7 as an example, first enter the rescue
Funnel Family output redirectionEnter the correct command result into the file.Notice:echo -- display a line of text>>Append redirect, append to last row.[[email protected] fangqihan]# cat 1.txt haha[[email protected] fangqihan]# echo 'hello linux' >
Do not know if you have encountered this kind of file, because it is garbled, the file cannot be deleted, then we can consider using the following command to delete files or directoriesLs-i//List file nodesFind./-inum XXX (node number)-print-exec Rm-
First, the parentheses in Linux (also called parentheses) "()" Usage 1. Single parenthesis ()1) Array assignment or initialization of arrays;2) Child Shell assignment: The contents of the parentheses open a child shell to run independently, the
1. Select Install Vmware-tools in the virtual machine, or reinstall2. Create the CDROM folder in the/MNT directoryMkdir/mnt.cdrom3. Attach the/dev/cdrom optical drive to the folder you just builtMount/dev/cdrom/mnt/cdromCheck the/mnt/cdrom directory
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