Http://www.cnblogs.com/rootq/articles/1401850.htmlLsof (list open files) is a tool that lists open files for the current system. In a Linux environment, everything is in the form of files, with files that not only access regular data, but also
Zip:Compression:Zip [-acddffghjjkllmoqrstuvvwxyz$][-b ][-ll][-n ][-t ][-][compressed file] [ File ...] [-i Extract:Unzip [options] Compress file name. zipOptions:-X file list to unzip the file, but not include the specified file file.-V View the
Linux files have three time, respectively, access time, modification time, state change time, respectively, corresponding to Atime (that is, access times), Mtime (Modify times), CTime (change times).These three times are different.Atime: When the
1) Tool DescriptionIn the SSH login software such as SECURECRT, upload/Download the file by entering the Rz/sz command in the Linux interface. For RHEL5, Rz/sz is not installed by default so it needs to be installed manually.SZ: Sends the selected
http://blog.csdn.net/hguisu/article/details/7445768How processes communicate across the networkThe concept of process communication originated from a stand-alone system. Since each process operates within its own address range, it is guaranteed that
1. How to view Linux MailQueueCheck whether the sent e-mail is delivered or stuck in the mail serverSyntax:/USR/LIB/SENDMAIL-BP2. How to send mail1) Send files as email contentSyntax: mail-s "subject" User name @ Address Example: Mail-s "Send with
/** * Author:hasen * Reference: Linux device Driver Development Details * Introduction: Android Small rookie Linux * device driver Development Learning Journey * Topic: blocking and non-blocking I/o * date:2014-11-05 * * Blocking An action is when a
Declaration:int getrusage (int who, struct rusage *usage); The Getrusage function returns the current resource usage. Returns the resource usage for the current process when the WHO parameter is rusage_self, and returns the resource used by the
Mtime:modification timeWhen the "content data" of this file is changed, update the time! "Content data" means the contents of an archive, not attributes or permissionsExample: View Man.config's mtime, found to be 2006-07-13[Email protected] ~]# ls-l/
In Linux, uname is used to output a set of system information. If no parameters are followed, the default is to append-s parameters.-A: Output information by default in the following order-S: Output kernel name-n:nodename, the name of the host node
Process status Code and Description:
State code
Description
D
Non-disruptive sleep. is usually in I/O.
R
Run-in/can run. is in the running queue.
S
Sleep can be interrupted.
Here is the simplest list of test code, using the following interface:Initialize (Init_head), add (List_add), Traverse (List_for_each), and FETCH nodes List_entryFeatures to enrich, the current code is as follows:#include "list.h" struct
One, save the user information files
1/etc/passwd
Root:x:0:0: root:/root:/bin/bashpwftp:x:£ º:/alidata/www/ wwwroot/:/sbin/nologinapache:x:$:apache:/var/www:/sbin/ Nologinmysql:x:501::/home/mysql:/sbin/nologinAltogether 7 items,
Linux selinux and LinuxselinuxOperating mode of SELinuxSubject: SELinux mainly wants to manage programs. Therefore, you can set the "Subject" and "process" to an equal sign;Object: the Object resource that the subject program can access is generally
In linux, check the cpu cores of the machine.
Several CPUs
More/proc/cpuinfo | grep "physical id" | uniq | wc-l
The number of cores per cpu (assuming the cpu configuration is the same)
More/proc/cpuinfo | grep "physical id" | grep "0" |
CentOS proxy settingsYUM proxy settings edit/etc/yum. conf. After adding # Proxyproxy = http: // username: password @ proxy_ip: port/, you can also use proxy_username and proxy_password to configure the proxy user name and password, all users use a
Linux/CentOS6 forget root Password Solution
When using linux, you may sometimes forget the password of the root user (especially when the document content is incomplete during the handover ), at this time, we can enter single-user mode to reset the
Bind gateway ARP under CentOS1. view the current Gateway
Arp-
Run the preceding commands in SSH to check the gateway host name, gateway IP address, Gateway MAC address, and corresponding Nic, as shown in figure
2. Bind a gateway MAC
1) Bind
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