Linux File System architectureLearn about the architecture of the Linux file system by following two images.Current working directoryPractice:File nameThese rules apply not only to files, but also to folders.Practice:ls commandThe LS command
. zip Format compressionZip compressed file name source files compressed filesZip-r compressed file name source directory #压缩目录. zip Format DecompressionUnzip compressed Files #解压缩. gz format CompressionGzip source files #压缩为. gz compressed file,
In this section we look at how to implement and configure the following VLAN networks in an experimental environmentConfigure VLANsEdit/etc/network/interfaces, configure eth0.10, Brvlan10, eth0.20, and Brvlan20.The following shows the modification
viewing system process InformationPS Viewing system process informationall Ps-efPs-fuPID PPIDIdentify Processes parent process (create) Tree ProcessTop Displays the process being executedUsed already use space free How much is leftMpQ
Centos7 view/etc/inittab as follows:' Targets ' instead of runlevels. # By default, there is both main targets:## multi 3 5# to view current default target, run:# systemctl get-default## to set a default target, run:# Systemctl set-default
1: Interrupt processing is a few points to note(1) in an interrupt context, you cannot interact with user spatial data, that is, you cannot use Copy_to_user () and Copy_from_user (). (2) Interrupt context, cannot hand over the CPU (cannot hibernate,
1. RoleDynamic viewing of process changes, often used to find the process that consumes the most CPU resources.2. UsageTop "Parameters"Parameters:-D: The number of seconds after which the entire process interface is updated. The default is 5 seconds;
1. Enter/ETC/RC.D/INIT.D, create a new file Tomcat, and make it executable chmod 755 Tomcat.[Email protected]/]# cd/etc/rc.d/Init.d[[email protected]-3C46 init.d]#VItomcat#!/bin/bash##/etc/rc.d/init.d/tomcat# init script forTomcat precesses##
1. Test function using the tests command$ test-e Hello. SH Echo " OK " Echo " No " OK2. First, judge, let the user enter a file name, we judge:
If this file exists, give a "Filename does not exist" message if it does not exist, and
1, temporarily modify the network card DNS addresssudo vim/etc/resolv.confChange to the following content:NameServer 8.8.8.8 #修改成你的主DNSnameserver 8.8.4.4 #修改成你的备用DNSsearch localhost #你的域名I used the Google DNS resolution server, Modified: Wq exit,
Sed (stream editor) Linux Three Musketeers, stream editor, to achieve the deletion of files and replace the searchParameter-n cancels the default output-I modify Content-E allows multiple edits, p printingSed-n ' $ ' p ett,txt $ is the meaning of
Add userUseradd or AddUser. Actually AddUser is a soft connection of useradd. Take Useradd as an example, with the usage of useradd [option] USERNAME1 [[email protected] ~]# ll 'which adduser '217 May 26 £/usr/sbin/adduser -Useradd-u Specifies
I. The basis of the process:1, program : Program is a number of stored on the disk of the order of the set of instructions;2, process : Process is a process of implementation of the program;3, the relationship between process and procedure : ①, the
SCP error: WARNING: remote host identification has changed !, Scpidentification
After google, the cause of this problem is that this is an ssh problem, said GkFool (the first time I used an SSH connection, an authentication will be generated
Create a shared folder in Linux.
1. view the ip address ifconifg;
2. Check whether the samba server is installed. rpm-qa | grep samba;
3. If the server exists, start service smb start; otherwise, install yum install samba;
Samba-3.0.21b-2 // if this
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