Linux system All Files:1 The Linux file system maps everything to a file, and everything is accessed as a file, with the nature of the file open read write close2 Linux device files have two types of block devices: block (Access unit block) disk
1th. Scheduled Tasks 1.1 What is a scheduled taskThe equivalent of an alarm clock wakes you up every daySet a time to do sth.1.2 System timing Tasks[[Email protected] ~]#ll-d/etc/cron*drwxr-xr-x. 2 root root 4096 Jul 18:24/etc/CRON.D drwxr-xr-x. 2
Encounter a situation, that is, the time between multiple servers is not synchronous, and some are fast slow, this time will need to use the network,Log on to the server, enter the command date can query the server time, need to synchronize the time
Basic commands for 100 common Linux:Posts-137, Articles-0, Comments-14Hunter's homelandLinux Learning notes: Common 100 commands (i)2016-05-02 15:00 by Hunter Homeland, 837 reading, 0 reviews, Favorites, compilationLinux Common commands1. Shut down
routing Table Information interpretation# #名词解释:Active Routes: Active routingNetwork Destination: Destination network segmentNetmask: Subnet MaskGateway: Gateways, also known as next-hop routers. When an IP packet is sent, the gateway defines the
1. What is an ACLACLs are the main purpose of access Control List to provide specific permission settings other than the traditional owner,group,others Read,write,execute permissionsACLs can be r,w,x for a single user, a single file, or a directory,
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,
Virtual machine installation RHEL7.41.VM virtual machine settingsHere we configure the virtual machine as a 1-core 1g,50g hard drive, Nat mode2.Linux InstallationHere time zone we choose Shanghai, China, the timing needs to adjust a difference of 8
CENTOS7 series off useless services shutdown SELinux, configure or turn off firewall configuration yum source, Epel source download common softwaremodifying kernel parameterscurl -o /etc/yum.repos.d/CentOS-Base.repo
Graphical interface switch to command line interface: CTRL+ALT+F1~F6Command line interface switch to graphical interface: STARTXLinux has a total of 7 runlevel to view/etc/inittab files:0: Stop (remember not to set the Initdefault to 0, as this will
PWD: Show current pathCD: Switch directoriesUsage: CDCd.. /Switch to Parent directoryCD/Switch to root directoryCD ~ (or CD only) switch to the current user home directory (the folder under the username named under Home)/root directorymkdir Creating
Installing JDK8Check if the system comes with OPEN-JDK input command:#rpm-qa|grep Java#rpm-qa|grep JDKIf no input information indicates no installation, if installation can enter command: #rpm-QA | grep java | Xargs rpm-e--nodeps Bulk unload all
Linux basic commands:Basic command: TTY terminal common Command Prompt commandSystem-Related commands: View system version View CPU view memory Information shutdown operation (init 0) Restart operation (Init 6)TTY Terminal:In the Linux default login
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
First, the user group1. User1) Token token,identity2) Linux Users: Username/uid3) Administrator: root,04) Normal Users: 1-65535System User: 1-499 (CentOS6), 1-999 (CentOS7) Assign permissions to the daemon to get resourcesLogin User: CENTOS6, 1000+ (
What's new in file content vimModal editor, full screen editorCentos7 Installing VIM:yum -y install vimThree different modes
1, the editing mode, open vim after the default mode, no eggs;
2, insert mode, directly can modify the text
File and folder operationsList the files and folders in the current directory: LS (to the effect: LiSt)Green indicates executable file , blue indicates folder , white indicates normal fileLists the file and folder details list under directory:
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-
Disk Quota ConceptsDisk quotas are actually allocating a certain amount of disk to each user, allowing him to use only the amount of disk space in the range. In a Linux system, a multi-user multitasking environment, so there will be a lot of people
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