Linux memory free:
The free value in the first line indicates the remaining physical memory.
Free in the second row indicates the total remaining memory (physical memory + cached + buffer), because the cached and buffers are automatically
The script from spirit Xi zhiqu has completed password-free verification, saving time and effort.
Execution method sh nopasswd user remote_host
Before executing this script, confirm:
Id_dsa.pub already exists on the local machine. If no. Run
Find the file mycprogram in the current directory and subdirectory. C # Find. -Name "mycprogram. C "Search for files without case sensitivity # Find. -INAME "mycprogram. C "Search does not contain mycprogram. c file find. -maxdepth 1-not-INAME
Introduction
Awk is a powerful text analysis tool. Compared with grep search and sed editing, awk is particularly powerful in data analysis and report generation.To put it simply, awk refers to reading files row by row. Each line is sliced with
SCPUse SCP to copy files on a remote machineFor example:Copy local files to a remote machineSCP/etc/Lilo. conf k@net67.ee.oit.edu.tw:/home/KCopy the local/etc/Lilo. conf file to the net67.ee.oit.edu.tw directory of user k.Copy the files on the
View the size of the Linux File directory and the total number of files contained in the folder
Du-SH xmldb/
Du-Sm * | sort-N // count the current directory size and sort the directory size.
Du-SK * | sort-n
Du-SK * | grep guojf // view the size
Copy the specified files under the directory (including subdirectories) to a specific directory, but does not contain the directory, only files.
Find ~ /My. Codes-name "*. c"-exec CP {}.\;
Search for 0-byte files in the directory and delete them.
In Windows, you can easily view disk space. But in Linux, you may be confused about the disk space. Don't worry. I will solve this problem for you.
In Linux, the DF command is used to view the disk space system in disk partitions. You can add
Q: How can I find the latest file in multiple files (for example, *. cpp) in Linux?A: You can use the following command format:
(1) sort the files from new to old and take the first one.
Ls-T *. cpp | head-1
(2) sort the files from old to new
I recently learned about Linux and found a very good resource to share with you.
This article is very good.CodeCompile to your own system, at the same timeArticleWith livecd. The other is the official documentation. You can go to the official
Start
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
#
Vncserver Graphic Interface
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
After
Compile with GCCProgram, The simplest usage is as follows:
GCC helloworld. C-o helloworld
To load the symbol file into the compiled file, you must use
GCC helloworld. C-g-o helloworld
You can use GDB for debugging., Similar to debug in
For beginners who come from windows, they often encounter problems. After writing something in VI, they habitually press Ctrl + S to save it, and then they die there. They don't reflect it at all, so they have to restart, use Alt + F2/3/4 in
I haven't written anything for a long time.
Floating point numbers have precision control on FPU processing. They can be single precision (24 bits in 32 bits), double precision (64 bits in length), and extended precision (80 bits in length and 64
Preface
Most file systems retain a portion of the space for emergency purposes (such as when the hard disk space is full). This ensures that some key applications (such as databases) have room when the hard disk is full, instead, crash will
Install and configure vsftpd on Linux
From: http://www.webarch.org/category/linux
My production environment is centos5.6. To provide the FTP service, I found a relatively small FTP server software, vsftpd (the name of vsftpd stands for "very secure
From: http://www.thegeekstuff.com/2011/02/linux-boot-process/
Press the power button on your system, and after few moments you see the Linux login prompt.Have you ever wondered what happens behind the scenes from the time you press the power button
Document directory
Tracing System calls
Tracking signal transmission
System Call statistics
Redirection output
Timing System calls
System Call time
Truncation output
Trace an existing process
Address:
Test Environment
CentOS 5.2, Apache 2.2.3Configure Apache
Open the Apache configuration file httpd. conf. For more information, see/etc/httpd/conf/httpd. conf.
Make sure that the mod_write and mod_mime modules have been loaded in the configuration
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