The composition of the Linux system
Linux kernel: The kernel is the "heart" of the system and is the core program for running programs and managing hardware devices like disks and printers.
Linux Shell:shell is the user interface of the
The 1.useradd command is used to create a new user: (useradd [option] User name)Appendix:-D Specify the user's home directory-D Show default values-e account expiration date, format: YYY-MM-DD-g Specifies an initial user group-g specifies one or
1. CD entry2. cd. Exit3, cd ~ Enter the root directory4. LS Display file5. Ls-a can show hidden files6, Ls-al display the file, and can see the type of the file; start with D is a folder7. mkdir + Name Create folder8. Touch + file name creation file9
1.cat command to view plain text files (shorter): (Cat [Options] [file])Appendix:-N Display Line number-B Displays line numbers (not including blank lines)-A shows "invisible" symbols, such as spaces, tab keys, and so on2.more Command View plain
Ls/boot View Directory contents Ls/boot -a/boot See everything in the directory Ls-a/boot -d/boot View only the directory information, with the-l Ls-ld/boot -l/boot with a long grid Display directory contents ls-l/boot -h/boot display directory
Memo, quoted from: http://blog.csdn.net/lzwglory/article/details/542332481. Permanent modification, valid for all users# Vi/etc/profile//Press keyboard [Shift + G] To add the following at the end of the profile file:Export Java_home
Swap configuration method under Linux environmentScene:Install a CentOS6.5 operating system this afternoon and forget to configure the swap partition. After looking at how to install the system, add and remove swap partitions.Here's how:1. Memory
CTRL + AMoves the cursor to the first of the current contentCtrl+eMoves the cursor to the end of the current contentCTRL + CVoid the currently entered contentCtrl+dDelete the right side of your cursorCtrl+lClear screen, equivalent to command
First, the tar commandThe tar command is used to package and unpack.The gzip command is used for compression, decompression.The BZIP2 command is used for compression and decompression.These three are commonly used in Linux, and there are a few that
Common commands
CDs are commonly used as directory switching commands to enter the directory. Usage:
Mikdir to create a new folder
Vim is used to compile a file
VI FileName: Opens or creates a new file and
One, grep commandgrep (Global search Regular expression (RE) and print out of the line, full search of regular expressions and print out rows) is a powerful text search tool that uses regular expressions to search for text. and print out the
goal: reduce the volgroup-lv_home to 20G and add the remaining space to the Volgroup-lv_root1. Check disk usage First[[Email protected]~]# df-hFile system capacity has been used with available% mount pointsFilesystem Size used Avail use% mounted
Weekend a database backup server relocation, after the move to start the server to check the network is normal. Monday morning came to find the data synchronization anomaly, the check found that the main library network (note: The repository and the
1.PID trigger any event, the system will define him as a program, and give the program an ID, called PID, and according to inspire the user of this program and related attributes, give this PID a group a valid permission setting. The PID used by
First, about eclipseWhen eclipse is installed normally, when Java and Javac commands are displayed (that is, the Java environment is configured), Eclipse new option at noon Java Project, a lot of heavy-load online, etc. The most practical and simple
I. INTRODUCTION of LinuxLinux is a free and open source Unix-like operating system. is currently the most widely used, most people operating system. The kernel of the operating system was first released by Linus Torvalds on October 5, 1991. After
Modifying configuration aliases in Linux# # # #用到的命令:Alias is used to see what aliases are in the systemSource let configuration take effectMethods for temporarily canceling aliasesUnalias temporarily cancel aliases\cp/mnt/test.txt/tmp using \
UBUNTU12 is installed properly under the VM11 version of the virtual machine, UBUNTU14 is not resolved under the virtual machine 11-14 version because some file permissions are not sufficient for installation to fail (UBUNTU14 installation failed).
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