System Uname-a # View kernel/operating system/CPU Information Cat/etc/issue # view OS version Cat/proc/cpuinfo # view CPU Information hostname # view computer name LSPCI-TV # List all PCI devices LSUS B-TV # list all USB devices Lsmod # list loaded
1 tar command1 from the network to download the source package, the most common is the. tar.gz package, and part of it. tar.bz2 package to decompress is simple:. tar.gz format decompression for TAR-ZXVF xx.tar.gz.tar.bz2 format to TAR-JXVF xx.tar.bz2
What is awkAwk is a programming language tool for working with text, a pattern-matching program. A typical example is the conversion of data into a formatted report. Enter the following awk command at the command line: awk -F":"'{print ' username:' $
TFTP (Trivial file Transfer Protocol, simple Document Transfer Protocol), is a UDP-based protocol implementationprotocol for simple File transfer between client and server, and is suitable for applications where there is little overhead and
The role of RWX is described in the basic permissions above. But perhaps someone in the right blue bar to see an S symbol, this is a special permission.Special permissions for files include:SUID,SGID, Sbit.1. SUID, lending permission to the
1, the original system JDK is 1.6, and the new project uses 1.7 of the JDK, the release of new projects need to make the following changes:Export Java_home=/usr/local/jdk1.7.0_80export classpath=.: $JAVA _home/lib: $JAVA _home/jre/lib:
1. First check the memory usage with the free tool:This is my Linux always data
Mem:
4046824
763620
3283204
9004
10284
61560
-/+buffers/cache:
691776
3355048
Here are some of the tips used in peacetime, not many, but will continue to update ....1. Need to create a hard link lnFull backup hard link requiredLn/etc/xxx/home/xxx2.root users can not remotely /etc/ssh/sshd_configPermitrootlogin NoAllowusers
Du-sh * shows the size of some files Df-h is there any remaining disk space?-a All file system list-H easy-to-read display of 1k=1000 instead of 1k=1024 copy source resources to target directory scp-r [email Protected]:/roo
1. DefinitionThe __read_mostly primitive defines the variable to be stored in the . data.read_mostly segment, and the prototype is defined in include/asm/cache.h: #define __read_mostly __attribute__ ((__section__ (". data.read_mostly")) 2.
The role is to specify the installation pathIf you do not specify prefix, the executable file is placed by default in/usr/local/bin, and the library file is placed by default in/usr/local/lib, and the configuration file is placed by default
Linux system cropping notes1. What is cut?The main purpose of this article is to give the author and readers a deeper understanding of how the Linux system works, the general content is to take Linux apart from the components to assemble, and then
Linux System has 7 runlevel (runlevel)runlevel 0: System down state, system default RunLevel cannot be set to 0, otherwise it will not start normallyrunlevel 1: Single User working status, root privilege, for system maintenance, remote login
Basic usage of SEDSed:stream EditorLine EditorBy default, the file content is not modified, only the data in the pattern space is processed, and after processing is finished, the pattern space is printed to the screensed [options] ' addresscommand '
One, program, process, thread1. A program is an ordinary file, a collection of instructions and data, a static entity, and a code that is stored on the peripherals by the programmer. It is "dead", and processes and procedures are "alive".2. A
Linux system logscontent in the 1.cat/etc/logrotate.conf file ( Dump = = Archive)# see ' Man logrotate ' for details# Rotate log Files WeeklyWeekly//= Cut once a week# Keep 4 weeks worth of backlogsRotate 4//After cutting, we retain up to 4 files
Start Nginx nginx-c/nginx path/nginx.confView Ps-ef | grep nginxKill Kill-quit Master Process numberForce stop pkill-9 Main process numberStop operation stop is done by sending a signal to the nginx process (see the Linux article for a signal) Step 1
"Background and purpose" to improve operational efficiency and Linux usage experienceStepsExample: (ESC +.) Indicates that the ESC key is pressed first and then in English.1, ESC +. Enter the last parameter of the previous command2,!! Execute the
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