Linux lsof Command detailed

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

Linux. zip decompression command Set

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

Three time about Linux files

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

How to install and use Linux under Rz/sz

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

Linux Socket Programming Detailed

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

Linux Mail simple operation

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

Hasen Linux device Driver Development learning journey-blocking and non-blocking I/O

/** * 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

Linux Common directives

Lookup statements:Find. -name "*orz (file type, etc.)" | Xargs grep "string"Grep-i-R ' string './*grep ' String ' *-rngrep ' String ' *-rlNETSTAT directiveCommands are used to display various network-related information, such as network connections,

The use of Getrusage in Linux

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

The mtime,atime,ctime of Linux is differentiated

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/

One day a Linux command--uname

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

Linux status (Linux process state Codes)

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.

Linux Linked list: Initialize (init_head), add (List_add), Traverse (List_for_each), and FETCH nodes List_entry

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

Users and groups of Linux commands

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,

The jar file is executed under Linux through the SH script.

Public class HelloWorld { public static void Main (string[] args) { System.out.println ("Hello World!"); } } #!/bin/ksh echo "--------helloWorld------->>" Java_home= "/usr/jdk/jdk1.6.0_34" Java_options= "

Linux selinux and Linuxselinux

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.

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 settings

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

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 CentOS

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

Total Pages: 5467 1 .... 3389 3390 3391 3392 3393 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.