There are many shortcut keys under CentOS, and the level of operation is higher when you master it.CTRL series:1.ctrl+c or ctrl+\ keyboard interrupts the request and decisively kills the current task.2.ctrl+z interrupts the current process, does not
How to use the LS and ll for Linux:LL: lists the details of the current file or directory, including information such as time, read and write permissions, size, time, and more, like Windows displays. LL is an alias for "Ls-l". Equivalent to a
See if physical space is insufficientDf-hfilesystem Size used Avail use% mounted on/dev/xvda1 20G 9.3G 9.4G 50% / Tmpfs 3.9G 0 3.9G 0% /DEV/SHM You can see that there's a lot left.See how inodes is
Find the specified content in the file look for the specified content in the file, all the information on the line where the content is printedgrep is searched for content file path name>grep var passwd//In the passwd file to output the contents of
1. JPS ———— View the current process Java process2. kill-9 [process number] ———— end the process3. tail-f [filename] ———— View the end of the file (you can use it to view the real-time log when you debug the program)4, Chmod-r [permission code ABC]
Riding, behind;Date command:We can come to man. Date command, which can be seen in the meaning of date-print or set the system date and time, we illustrate the date command from the following aspects.1. Show TimeDate[option] ... [+format]format :
Deploy your own IM-to-linux system: need to generate related jar packages to deploy1, the MyEclipse on the OpenFire source code added in the load, do the corresponding adjustment, run the test no problem2, compile Admin-jsp.jar ( all JSP file
[Basic]Man: Show Command documentInfo: Online Document/usr/share/docprintf: Formatting the display of dataEcho: Display a line of text[Date Time]Date: Display and set dates and times[+format]: In what format to display the dateHwclock: Querying and
Log in to Linux and enter the root directory "/"by default.LS can query the current directory of files and folders;The ls directory path can query files and folders under directory pathExample:ls/home the absolute path of the home directory starting
Delete all the log files and directories under the $crs_home/log/$HOSTNAME/down, so that has not started, single-Step execution:Sh-x/ETC/INIT/OHASDPID of Strace-p OHASDView/var/log/messages, $ORACLE _home/log/$HOSTNAME/alert_$hostname.log, discover
The Linux Sync command is used for data synchronization, and the Sync command is used when shutting down the Linux system.The Linux system to write to the hard disk data sometimes will be more efficient, will write to filesystem buffer, this buffer
The Linux terminal is the console, the user interacts with the kernel platform, through the input instructions to control the kernel to complete the task operation. The shape is a box with the cursor flashing.Ctrl+alt+f1-6 represents 6 virtual
LinuxRegular Expressions1.1definitionFilter, find something in a fileEasy, improve our efficiencyRegular expressions are a set of rules and methods that are defined to handle a large amount of text, text, and strings.Linux regular expressions are
Script Requirements :1. Write a script createuser.sh, the execution syntax of the script must be:createuser.sh-u username-m password, options and parameters can support multiple spaces, but can not be reversed in order. When the correct option or
1. Virtual Address to Physical addressThe X86 chip accesses memory and requires the use of the MMU function to achieve a virtual address to a linear address to a physical address.The fragmentation mechanism of X86 is mandatory, and the paging
Shell function,The following example defines a function and calls it:
#! /Bin/bashdemoFun () {echo "this is my first shell function! "} Echo" ----- function execution started ----- "demoFunecho" ----- function execution completed -----"Output result:
Linux File System mounting management, linux File MountingAttach
For example.
Mount
Practice: Mount/dev/sdb1 to/mnt.
Uninstall
Since it can be mounted, it can also be detached.
Practice:
Automatic mounting
We can also perform
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