sudo chmod 600xxx (only the owner has read and write permissions)sudo chmod 644xxx (owner has read and write permissions, group user only Read permissions)sudo chmod 700xxx (only the owner has read and write and Execute permissions)sudo chmod 666xxx
recursively Modify permission methods for all files in a directory: Enter the directory input command chmod 777-r * (where-R means recursive processing, * represents all files) orchmod 777-r/home/abc/dirctoryname, this command does not go into the
Each file and directory in a Linux system has access permissions, which are used to determine who can access and manipulate files and directories.Access to a file or directory is divided into read-only, write-only, and executable three types. As an
(1) The difference between multi-threading process
Dimension of
Multi-process
Multithreading
Summarize
Data sharing, synchronization
The data is separate: the complexity of sharing, the need for IPC;
Each file and directory in a Linux system has access permissions, which are used to determine who can access and manipulate files and directories.Access to a file or directory is divided into read-only, write-only, and executable three types. As an
Groupadd 1. functionThe Groupadd command is used to join the new group to the system.2. FormatGroupadd [-G GID] [-o]] [-R] [-F] GroupName3. Main parameters-G GID: Specifies the group ID number.-O: Allow group ID numbers, not unique.-R: Add group ID
Wide limit to work hard to lag Xuesaitong one, the user:When you create a user, you specify a user group for the new user, and if you do not specify a workgroup to which the user belongs, automatically generates a workgroup with the same name as the
Deep understanding of daemon processes from the concept of process groups, sessions, and endpoints
First, write in front"Daemon" is a long-running background service process of Linux, and some people call it "daemon process". Our common httpd,
Basic file permissions in Linux every file in Linux is associated with multiple permission types. Among these permissions, we mainly deal with three types of permissions: user, user group, and other users (others ). A user is the owner of a file. A
First of all, for the theory of literacy, you need to understand ha what it is and whether it is similar to other high availability, not much to say. You can look down.Juniper-netscreen os ha High availability configuration
HA
This article mainly introduces the ThinkPHP permission authentication Auth instance. if you need it, you can refer to the following example code to thoroughly analyze the implementation principles and methods of ThinkPHP permission authentication
Function Description: Manipulate file characteristics According to the file description.#include #include int fcntl (int fd, int cmd);int fcntl (int fd, int cmd, long arg);int fcntl (int fd, int cmd, struct flock *lock);DescriptionFCNTL () provides
What does the group identification code and process identification code for the process under Linux mean? Process Group ID: a process can belong to a process group. You can send a signal to a set of processes.For the process group ID, in general, a
(1) Fork system call DescriptionThe fork system call is used to create a new process from an existing process called a child process, and the original process is called the parent process. The fork is called once, returned two times, and the two
File control functionsFunction Description: describes the features of a file based on its description.# Include ;Int fcntl (int fd, int cmd );Int fcntl (int fd, int cmd, long Arg );Int fcntl (int fd, int cmd, struct flock * Lock );[Description]Fcntl
AliasNote: Set aliases and display aliases for commands.
Syntax: alias [alias] = [command name] % is an alias starting with [command name.
Alias [alias] % displays the command corresponding to [alias.
Alias % displays all alias settings.
Bg Note:
In Linux, the CHMOD/chgrp/chown folder permission is set to 1777. This number indicates that all users can create files in this directory, but only the file owner can delete the files.
First, let's take a look at the file attributes,In the shell
Original article address:
A number indicates the file permissions of other user groups.Linux File permissions are divided into three types:
Read (r = 4), write (W = 2), and execute (x = 1 ). In combination, there are also readable executable
Task_struct structure comment
======================================
Long state task running status (-1 is not running, 0 is running (ready),> 0 is stopped ).
Long counter task running time count (descending) (tick answer count), run time
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.