Zookeeper
Purpose:
Output valid user IDs and group IDs
Format:
Id [OPTION]… [USERNAME]
Description:
Output the user and group information of USERNAME. The missing time indicates the current user;
-
Ignore, only for compatibility
PHPChina news: Linus released the latest stable version kernel 2.6.27 this morning, nearly three months after 2.6.26 of the previous version 2008-07-14 (a new version of the Basic 3 months ), after 9 RC versions. 2.6.26 to 2.6.26.6, 2.4 series is 2.4
Bytes. Low-speed system calls are a type of system calls that may cause the process to be blocked forever. They include the following calls:
If the data of some file types (such as pipelines, terminal devices, and network devices) does not exist,
Some basic rules must be followed when writing daemon to prevent unnecessary interactions. The following describes these rules first, and then provides a function daemonize compiled according to these rules.
(1)The first thing to do is to call
We mentioned earlier that software on Linux can be installed by using the Tarball method, but it is too troublesome to download, compile, and install the software every time? Is there any vendor that compiles the software like windows? Can we
I. Common sense:
TabKeyCommand can be supplemented;
/Etc/vim/vimrcIf you want to configure a specific configuration file for a specific user, create ~ /. Vimrc file, and enter the configuration content;
: Help syntaxTo view the help
The following uses Eclips as an example.
On the DesktopAdd S. desktopFile, write the following code to it
Mark it as trust: Click it directly, and the prompt is marked as trust. Or right-click "select Properties" and select "allow program
Mainly refer to the http://www.slashroot.in/which-is-the-fastest-method-to-delete-files-in-linux
Create 0.5 million files first
➜ test i $( ); text >>$i.txt; 1. rm
➜ test -f * /home/hungerr/test [yn]?: -f * .63s user
Command for viewing the linux System Version
The following commands are available for reference:
# Lsb_release-
LSB Version: core-3.1-ia32: core-3.1-noarch: graphics-3.1-ia32: graphics-3.1-noarch
Distributor ID: CentOS
Description: CentOS
Introduction
The cut command is a command line program in Unix. The cut command isLine. The cut command processes standard input. Therefore, you can use the pipeline to process the text.Command Format
Cut Option... [File]…
The option part of
Two thread attributes are not included in the pthread_attr_t structure. They areCancelable statusAndCancelling type. These two attributes affect the behavior of the thread in response to the pthread_cancel function
We can see that a mobile image monitoring system built using motion on a blog is very powerful, but most of them lack remote monitoring capabilities, mostly limited to local area networks. OK, I have a 30 W pixel USB camera on hand, so I will also
The process is written as scripts, and the principles are all written in comments. One-click operation is sudo bash xxx. sh.
#! /Bin/bash # cd create the configuration file cd/tmp (cat SetOutputFilter RATE_LIMIT SetEnv rate-limit 30 EOF)>
1. SetUID
Q: Why can a common user change the password?
[Operation: which passwd; ls-l/usr/bin/passwd]
1. SetUID definition: When an executable program (usually a command) has the SetUID permission, the user executes the program as the owner of the
Question
Write a script calledHomebackupThat automates tar so the person executing the script always uses the desired options (Cvp) And backup destination directory (/Var/backups) To make a backup of his or her home directory. Implement the
Search for the abc. cpp file from the root directory, with no error outputFind/-name abc. cpp 2>/dev/nullFind the efg function in all. cpp files in the current directory.Find.-name "*. cpp" | xargs grep 'efg'Xargs expands the find result and uses it
1. Batch add users
1. Write the user information file users.info in the format of/etc/passwd.
For example, xiao01: 2001: 888:/home/xiao01:/bin/bash
[Note that you cannot leave blank rows. Otherwise, an error will be reported]
2. newusers
3.
1. Modify the partition target
Change "/oracle" partition to "/dba" partition
1.1 The disk is partitioned during Linux Installation
For example:
Serial number
Disk device name
Partition name
Remarks
1
/Dev/sda3
/Boot
--/Etc/fstab file Analysis
[Preface: in the previous section, partition mounting will expire after restart. To take effect permanently, you need to write it to the/etc/fstab file]
I. Format: Six Components
Physical partition name/volume label mount
During development, you often need to view the content of non-text files. The most common hexadecimal viewer is hexdump. Hexdump seems simple, but it still has some tips.The text file tmpfile is used as an example:
Click (here) to fold or open
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