Using the TAR Archive tool and the VI text editorgzip command, bzip2 commandPurpose: Make compressed files, unpack compressed filesCommon Command Options-9: Indicates a high compression ratio, which is used when creating a compressed package-D: Used
Explain:The main is to pass the data to the script, the variable name cannot be customized, the variable function is fixed$n$10 represents the command itself, and $1-9 represents the accepted 第1-9个 parameter, which requires {} to be enclosed in {},
Introduction to Linux and Ubuntu InstallationCommon directivesSystem administration CommandsPackaging compression-related commandsShut down/Restart the machineLinux PipelinesLinux Package ManagementVim useUser and User group managementFile Rights
Explain:The main storage is data related to the operating environment of the system.Range:Code settings: The current shell and all child shells of the current shell are in effectConfig file: Effective in all shellsGrammar:Declaration
In Linux, it is common to encounter time and string conversions, with two functions specifically corresponding conversions.1. Time-to-string function strftimeFunction prototypes: size_t strftime (char *s,size_t Maxsize,char *format,conststruct TM
Date: Displays the time and date of the current systemCal: Displays the calendar for the current monthDF: View the disk drive's current free spaceFree: Show available memoryExit: Close the terminal windowPWD: View current working directoryCD:
Grep-I ignores case--color Plus Color-V shows rows that are not matched to-O displays only the string that is matched toGrep-o ROOT/ETC/PASSWD | Wc-l find how many root strings there are-e Use extended regular expression egrep=grep-e-A # grep-a 2 ' ^
There are a lot of commands in Linux, but people who have played Linux are never bothered by the fact that Linux commands are so many, we only need to master the common commands, we can find the man when we use it, and help you solve many problems.
First, the basic introduction(1) The lsof command is used to view the files that you have opened, the process of opening the files, the ports that the process opened (TCP, UDP).(2) Retrieve/recover deleted files.Second, lsof GrammarLsof (optional)
Command name: FindCommand path:/bin/findSyntax: find "search scope" "Match criteria"Description of function: File searchDemo sampleFind/etc-name InitFind file init in folder/etc-iname does not distinguish between uppercase and lowercase* Represents
Security code: There is no degree of loneliness is impossible to have inner peace.1. ConceptLoad information has 3 values, the first value represents the average load value of the system within 1 minutes , the second value represents the average
When I was doing an automated deployment today, we found that the server was stuck with the Python Paramiko module pushing the command, not reflected. Into:My client side is executing a shell script that uses nohup to start a Python script (as well
The reverse proxy diagram looks like this:From the visible, our server is actually divided into two, a dedicated to the source of PHP and other programs, and another is dedicated to store the image of the server, because the picture in server A does
First-level directory: /bin Store system commands and tools, binary commands (equivalent to C:\WINDOWS\system32) /boot contains boot boot files and grub /dev for Linux systems Store hardware device files and
A detailed description of the Hosts file under Linux
Host Name:Whether on the LAN or the Internet, each host has an IP address to differentiate between this host and its host, that is, the IP address is the host's number.Public network: The IP
1. Apt Install xinetd apt Install tftp-hpa tftpd-hpawhere TFTPD-HPA is the server side, TFTP-HPA is the client (if the client does not need to be installed). 2.Configuring the/etc/xinetd.d/tftp filevim/etc/xinetd.d/tftpService tftp{Socket_type =
/etc/profile This is also the startup script. And the priority is very high oh.The following are all online search(1) Edit File/etc/rc.localInput command: Vim/etc/rc.local will appear a text fragment similar to the following:#!/bin/sh## This script
Taking mode=4 as an example1. Edit the Virtual network interface configuration file and specify the network card IPVi/etc/sysconfig/network-scripts/ifcfg-bond0[Email protected] root]# Cp/etc/sysconfig/network-scripts/ifcfg-eth0 ifcfg-bond02
The sort function in the Linux kernel is actually very much like what we call the Qsort function, so let's take a look at Qsort:the function prototype of Qsort isvoid Qsort (void*base,size_t num,size_t width,int (__cdecl*compare) (const void*,const
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