Directory1. Tree-like directory structure diagram2./catalogue3./etc/Catalogue4./usr/Catalogue5./var/Catalogue6./proc/Catalogue7./dev/CatalogueThis article mainly comes from the network to organize.Directory Structure Reference
1, above this colorful picture, from Linxu under the etc/passwd file.Let's take a detailed look at what these things are worth, which are separated by colons.2, Etc/shadow3, compare the permissions of the two files, why one is 644, and the other is 0
Special permissions:There are three kinds: suid,sgid,stickySUID: When running a program, the owner of the corresponding process is the owner of the program file itself, not the initiator.When we want an ordinary user to be able to run a command that
sudo adduser xxx This command will add an account in the home directorysudo useradd xxx is simply adding users and will not add accounts in the home directoryUbuntu offers two ways to add graphical interfaces like Windows, and there's another way to
while Introduction to Commands:While loop: For scenarios where the number of cycles is unknown, there is an exit condition, otherwise it becomes a dead loop.1 . Command format:Grammar:While CONDITION; DoStatement...Done2 . Command function:While
Network Remote Installation under Linux1. Install the first server with the RHEL6.5 CD2. Configure the Yum server on the first serverCreate a Mount First1 #mount 2 #umount/dev/cdrom3 #mkdir/mnt/rhel-DVD45 #vim/etc/ Fstab6 /dev/sr0 /mnt/rhel-dvd
Linux to create Tomcat boot
To create a Tomcat startup script
Put/etc/init.d/(/ETC/RC.D/INIT.D) directory, such as: Tomcat (no type)
Set execution permissions chmod 755 tomcat
Join Boot Chkconfig--add Tomcat
View boot entry
The first unit Kickstart script production1.kickstart ScriptKickstart script is a script file that automatically answers all problems during the installation of the systemThis file enables automatic installation of the systemAfter the system is
1. List the user name of all logged-in users on the current system, note: The same user login multiple times, only one time can be displayed650) this.width=650; "Src="
Second unit user Rights list1. Definition of permission listSpecify a record table that special users have special permissions on a file2. Recognition of permission lists-rw-rw-r--+ 1 root root Oct 21:20 file permission bit has plus permission list
Delay and timing mechanism of the third Unit system1.at delay at time at> Action At>ctrl +d at> at-l ATRM task number when an action is executed with output The output is sent to the initiator of the task in the form of a message at
Practice a1. Write a script1) display a menu to the userd| D) show disk usages.m| M) show memory usages.s| S) show swap usages.*) quit.2) Display the appropriate content when the user has given the option:Extended:When the user chooses to complete,
2. User Rights list ***********# 1. Definition of permission List # #Specify a record table that special users have special permissions on a file# 2. The tube of the permission list Daniel #-rw-r--r--. Permission bit. Permission list is not
When I modify the/etc/profile file, I want it to take effect immediately without having to log in again, and then think of using the source command, such as: Source/etc/profileThe source was studied and compared with the sh execution script, which
Linux under C Programming:GCC compilation common options:-I dir: Adds the dir directory to the list of search paths for the header file.-L dir: Adds the dir directory to the list of search paths for the library file.-fpic: The command uses a
How to add a piece of hard disk
Virtual machine plug-in drive
Partition
Formatting
Mount
One, upstairs, violent. command to view device mounts, with SDA partitioned, and SDB unpartitioned 2 disksLsblk–f Viewing device
The primary role of the/etc/fstab file is that the OS will automatically mount the file defined in theEach file system, load boot boot HDD detection and other functions.The contents of the/etc/fstab file are as follows:[Email protected] ~]#
Linux LVM Logical Volume configuration process detailedMany Linux users encounter the dilemma of installing the operating system: how to accurately evaluate and allocate the capacity of each hard disk partition, if the initial evaluation is not
--an example of this article expands on the operation of threads under linux, the synchronization of multithreading, and mutual exclusion.ObjectiveThread? Why are there processes that require threads, and what is the difference between them? What
Linux cainiao diary (5) and linux cainiao DiaryDetailed syntax and configuration of iptables:
SNAT: source address conversionDNAT: Destination Address TranslationPNAT: port address translation
----------------------------------Iptables rule
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