People who have played Linux will know that there are really a lot of commands in Linux, but people who have played Linux have never bothered by the fact that Linux commands are so many, because we only need to master the commands we use most often.
Excerpt from: http://www.apelearn.com/bbs/forum.php?mod=viewthread&tid=7660&extra=page%3D1%26filter%3Dtypeid% 26typeid%3d361. Gzip ToolSyntax: gzip [-d#] filename where # is a number 1-9, the default compression level is 6, only files can be
The md5sum command is used to generate and verify the MD5 value of the file. It verifies the contents of the file bit by bits, and it is commonly used with checking the integrity of the file.Read the MD5 value of the file[Email protected] ~]# md5sum/
Turn from: How to Package a folder under Linux http://blog.csdn.net/cynhafa/article/details/7303338Linux zip compression. Compresses all files under the current folder, compressed to A.zip. What is the command-line method.Zip-r Filename.zip folder
Excerpt from: http://www.apelearn.com/bbs/forum.php?mod=viewthread&tid=7621&extra=page%3D1%26filter%3Dtypeid% 26typeid%3d361. View the capacity of a disk or directoryDF View Disk partition usageDo not add parameters in K unitsDf-i inode number, df-h
rootfs: Root file System /boot: System startup related files such as kernel, INITRD, and Grub (bootloader) /dev: device files Device files: block devices: Random access, data blocks Character Devices: Linear access, by
This article takes CentOS as an example, other Linux please refer to the corresponding method.1. Server-side Install gitYum Install git2. Add a user with no shell logon rights to the server and replace username with the user you want to addUseradd-s/
1. Change the name of the machine:Vim/etc/hostnameMasterModify the machine name in the file for the name we want (equivalent to the domain name)Can be closed by shutdown-h now2. View current machine IP:Ifconfig3.vim/etc/hosts127.0.0.1
How to disable ping response under Linux:Echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_allIf you want to disable ping response as soon as you boot, add the above statement to/etc/rc.d/rc.local.If you want to resume using the ping command, you can
ObjectiveUse environment: CentOS 7 SystemFirst, view the maximum number of processes opened by the userUlimit-aMAX User Processes (-u) #系统限制某用户下最多可以运行多少进程或线程How are these values coming from?The value of MAX user processes, which appears under root
One, select cycleThe Select loop is primarily used to create menus, with the option to display menus numerically, and user input is saved in the built-in variable reply. Select is usually used with case and is a dead loop, note the option to set the
The Java environment was required to install zookeeper yesterday, that is, after installing the JDK installation jdk1.7, the environment variables are configured.Vim ~/.BASHRCJava_home= Installation path exportPath = $JAVA _home/bin: $PATHll $JAVA
Excerpt from: http://www.cnblogs.com/hopeworld/archive/2011/04/08/2009252.htmlIn Windows, you can find files in some paths, or you can set the file to not be found in some paths, and use the Find command in Linux with its-path-prune parameter to see
I learned Linux operations, after watching Oldboy video tutorial, to learn the knowledge to summarize, knowledge content are from Oldboy video tutorial.###########################################################################1. Add Users. In the
Record your common Linux system commands, easy to access later, found that memory is getting worseFind the most CPU-consuming Java Thread PS commandCommand: PS-MP pid-o thread,tid,time or PS-LFP pidResults show:650) this.width=650; "Src="
http://blog.csdn.net/yuzhenxiong0823/article/details/7727133wxwidgets under Linux have WXGTK and wxX11 for use, each need GTK and X11 development environment;Wxwidgets has WXGTK and wxX11 for use under Linux, but the GTK and X11 development
Differences between ": wq" and ": x" in vim, vimwq
From: http://www.apelearn.com/bbs/thread-7146-1-1.html
The differences between ": x" and ": wq" are as follows:(1): wq is mandatory to write files and exit (Save the disk and exit write and quite )
Linux cloud computing cluster Architecture Study Notes: 1-3 View File Content, linux Study NotesView File Content 1.cat command
Purpose: view the File Content
Syntax: cat file name2. more command
Purpose: view the file content by page.
Syntax: more
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