1. Find the IPV4 address of this machine in Ifconfig "NIC name" command resultIfconfig | Head-n 2 |tail-1 |tr-s "" |cut-d ""-f32. Find out the maximum percentage value of partition space utilizationDF |tr-s "" |cut-d ""-f53, identify the user UID
Umask 003 Directory permissions for 774 files for 664 files are odd when the results are calculated by default in addition to 1Catalog filesrwx rwx rwx 777 rw-rw-rw-666-------WX 003-----WX 003rwx rwx r--774 rw-rw-r--664 (rw-minus-wx-no number will
As a beginner of Linux, we may sometimes forget the root password to make their own haste, some people may have to choose to re-install the system, learning this operation will be able to easily solve the forgotten password problemSelect Restart
I. Commands for setting network parametersIfconfig: Query, set network card and IP network and other related parameters[[email protected] ~]# ifconfig {interface} {down|up}[[email protected] ~]# ifconfig interface
first week of Linux FoundationFormat of the commandCommand option (option) arguments (parameter) consists of three parts, which require a space intervalThe Options option enables a feature of the command to change the function of the
Explanation of the meaning of Drwxr-xr-x:LS-Al Gets the following list: Drwxr-xr-x4Oracle DBA4096May - One: -ORALOG1DRWXR-X--- -Root root4096May - -:WuyiRoot Explanation: D: The first bit represents the file type, D is the directory file, L is the
19.7 Active mode and passive mode主动或者被动是相对客户端来讲的被动模式,服务端会主动连接客户端获取监控项目数据,客户端被动地接受连接,并把监控信息传递给服务端主动模式,客户端会主动把监控数据汇报给服务端,服务端只负责接收即可。当客户端数量非常多时,建议使用主动模式,这样可以降低服务端的压力。服务端有公网ip,客户端只有内网ip,但却能连外网,这种场景适合主动模式19.8 Adding a monitoring host先添加主机组aming-test再添加主机,
Create a Maven folder and download Maven's tar package into this folderEnter a directory cd/usr/localCreate a folder mkdir MavenDownload Maven's tar package wget
Linux how to let ordinary users use sudo permissions do not need to enter a password.See a lot of information on the Internet, all only said in/etc/sudoers add the following line:Username all= (All) Nopasswd:allHowever, when you actually use sudo,
As we said before, Awk is a very powerful text formatting tool, and the printf action in this article is often used to format text. Use the same way as the C language printf.1,printf default does not return to line feeds[Email
PS: Sometimes you find that you cannot modify a file with root permissions, most of all because you have locked the file with the chattr command. The chattr command is very useful, some of which are supported by the Linux kernel version, but the
# 1, Forensics tools-LiME memory Acquisition tool-volatility memory analysis tool # 2, machine information collection #sysinfo 16# # View current logged on user who > who.txt# # Displays user information for the currently logged in System W > w.txt#
There are several ways to get help with the use of commands:1.man: Help manual for external commands;Man Nine chapters:1. User commands (commands that all users can execute)2. System calls3.C Library Call4. Equipment and special documents5.
Root Administrator Gold 3 rm-rf/*Administrator Administrator US President1. System Information CPU model hard disk how much memory how big kernel information[email protected] ~]#"Who am I @ host name current directory" #高级管理员身份 $ normal UserCAT/PROC/
To see if the port is enabledtelnet localhost 8888Start a port, flat and pass the data through this portnc-l localhost 9999 ViewSs-anput | grep 9999To see which process the device is usingLsof-/DEV/SDB1Common shortcut keysCtrl+l = ClearCTRL +
User groupsEach user in Linux must belong to a group and cannot be independent of the group. Each file in Linux has the concept of owner, group, other group
Owner
Your group
Other groups
Change the group where the user resides
1. The Dev directory roleDEV is the acronym for Devices. Here the main storage device, CD-ROM, hard disk (under Linux, all files).2. tmp directory PermissionsThe permissions for the/tmp directory are 1777, the last one for other users is t, the
Get ready:1, installation of a CentOS63 (CentOS6.4 system, ip:192.168.202.131) in VMware2, created a CentOS65 (empty machine, not installed operating system) in VMware3,centos image file mount in CentOS63/media/centos_6.4_final locationOperation
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