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, 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
Linux operating system
Linux operating system Important commands
Shutdown–r now restarts the operating system, prompting other users
Shutdown–h now restart the operating system
Shutdown–h 20:25 Setting the system shutdown time
System#查看内核/OS/CPU information uname-a #1/etc/issue #/proc/cpuinfo # View computer name hostname # list All PCI devices Lspci-tv # list all USB devices Lsusb-tv # list the loaded kernel
Control of system Services1.systemdSystem initialization program, the first process that the system starts, the PID is 12.systemctl command650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/9C/9E/wKioL1lzTYGDJtLKAADgtFoHNGc088.png "title="
2017/07/21Ls-l-dtouch Create file mkdir directory 1 directory 2 can create multiple directories at once echo printout content echo Context > file will input context into the file, which is a > overwrite, two > is append cat view file cat >>file>file
First, the conceptNFS is the short name of the network file system. is a part of a distributed computer system that can now share and assemble remote file systems on heterogeneous networks.NFS was developed by Sun Corporation. It is now a standard
1. Download JDK and TomcatHttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlhttp://tomcat.apache.org/download-70.cgi2. Install JDK, mkdir java under/usrCopy the JDK to the. Usr/java directory and unzip the3.
Put the process into the background executionTAR-ZCF Etc.tar.gz/etc &Put the process into the background pauseDuring command execution, press CTRL + ZView commands in the backgroundJobs[[email protected] temp]# jobs[1]+ Stopped Top[2]-Done TAR-ZCF
1 The entire configuration process of the NICExecute Setup Command->network configuration->device configuration->eth0 (temporarily select DHCP), and then click "OK", "save". Save&quit "and" Quit "so you exit to the command line interface.2 command
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
Operations on text files & user and user group management, and operations on text files
Text File Operations
#Input redirection
Tr 'a-Z'
Hello
HELLO
World
WORLD
After redirection
Tr 'a-Z'
HELLO WORLD
#Format the input content to a file:
#Standard
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