On the previous blog we introduced some of the basic features of bash, which we usually operate most frequently. In this blog we introduce the variables of bash, laying the groundwork for scripting shell scripts later.1. What is a variableA variable
First, PS view processPS gives us a one-time view of the process, it provides a view of the results is not dynamic and continuous, if you want to monitor the process, you should use the top toolThere are 5 states of processes on Linux:1. Running
CentOS7 Set host Name: Command hostname to view the current host nameVirtual Recruit (Temporary): Restart the machine after the failure: hostname XXXConfess (permanent):Move one: Will /etc/sysconfig/network , the hostname column changes (although
This article transferred from: http://blog.csdn.net/xyw_blog/article/details/16861681The first applet in the book "Python stunt" first showed the ability to hack against the shadow file password in a UNIX system, because it was previously just a
Linux System shutdown Command:#关机命令1.halt2.poweroff3.shutdown-h now shuts down immediately (with root access for users)#重启命令1.reboot2.shutdown-r now restart immediately (with root user access)Shutdown syntaxShutdown [OPTION ...] [TIME] [WALL
First, the basic knowledge of the computer (I wish I could enjoy learning more about this system) /c8>1. Computer Systems650) this.width=650; "Src=" Https://s5.51cto.com/oss/201711/14/6f8203e94ea4616763839184ed85e0ff.png-wh_500x0-wm_3 -wmp_4-s_400
First, install the package three ways:RPM ToolsYum Tools (auto-install dependencies)The source code package can be seen, and need to compile files.Second, RPM introductionDf-hMount/dev/cdrom + Directory mount directoryRPM Package Format:Package Name-
Categories of basic permissionsAccess mode (permissions):-read/write: Allow viewing of content-read R-Write: Allow content to be modified-write W-Executable: Allow to run and switch-execute xFor text files:R:cat Head Tail LessW:vimX: RunPermissions
Linux command explanation: [7] Get command HelpListen to the Voice
|
Browse:4601
|
Updated: 2015-01-30 20:21
|
Tags:linux
1
2
3
4
5
Step through ReadingIn the maintenance and use
Mkdirmake directory 1) mkdir directory name example: MkDir dir02) mkdir-p parent directory/subdirectory mkdir-p DIR1/DIR2 where-P is the abbreviation for Parents continuous creation of multi-level directories, such as parent directory and
Archiving and compression of Linux:1. Space saving2. Facilitate the management of fragmented documentsTar Integrated Backup tool:-C: Create an archive-X: Release Archive-F: Specify the Archive file name-Z,-j,-j: Call the GZ, bz2, XZ format tools for
When we use Linux, we do not deal directly with the system, but through the Shell's intermediate programs. In order to realize the input and output of windows in the graphical interface, the Linux system provides us with Terminal Simulator terminal,
Disclaimer: The above content is reproduced, the individual to this piece of knowledge after the put together, not original, later this block has problems will continue to add.
The Tomcat logs fall into the following 5 categories:
The startup process of a Linux system can be divided into five phases:
Boot of the kernel
Run Init
System initialization
Set up terminal
User Login System
1. Kernel Boot:When the computer is powered on, start with the
Http://www.51testing.com/html/48/202848-249774.htmlTime_wait too many workarounds for Linux and Windowshttp://m.sohu.com/a/122714498_412810Windows time_wait Too many workaroundsBath Dawn:is a problem with the configuration:Besides the need to
Linux disk device Partition1. View and use devices 1. device status 1) discover devices in the system
fdisk -l
cat /proc/partitions
2) devices discovered by the system that are ready for use but not in use
blkid3) discover devices in use
Df # The
Common Linux commandsCommon commands
Ls display file or directory
-L list file DETAILS l (list)
-A: List all files and directories in the current directory, including hidden a (all)
Mkdir create directory
-P: Creates a directory. If no parent
Logical volume Management in linux-lvmI. Theoretical Principles
LVM (Logic Volume Manager) logical Volume management is a mechanism for managing disk partitions in linux.
LVM is a logical layer built on disks and partitions to improve the
Linux static library and dynamic library
A large number of libraries exist on windows and linux platforms. Essentially, a library is an executable binary code (but cannot be executed independently) that can be loaded into memory and executed by the
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