"0" Statistics file or number of rows in compressed fileZcat file.gz | Sed-n ' $= ' #迅速. How many lines are printed directly. -N Cancel the default output, use Quiet (silent) mode ' $= ' do not know what it means, (know the master, please leave a
Zip supports directory compression
Zip 2.zip 2.txt
Compressed file, support renaming, source file does not disappear
Zip-r test.zip?. /d6z/
Compressed directory, the source file does not disappear after
Linux view CPU and memory usage: http://www.cnblogs.com/xd502djj/archive/2011/03/01/1968041.htmlPhysical memory is one of the most important aspects of optimizing Linux systems. Naturally, Linux also provides a number of ways to monitor the use of
I. Introduction of RsyncThe rsync command is a remote data synchronization tool that enables fast synchronization of files between multiple hosts via Lan/wan. Rsync uses the so-called "rsync algorithm" to synchronize files between local and remote
--Previous time items on the busy, period notes are temporary existence of local txt, these days a little time, sorting out, so that later to view;Linux View memory Usage:Free-mTo release the
1.1 Linux Configuration IP address1?? Ifconfig command temporarily configures IP addressCan not automatically obtain the IP address and DNS address, to see if there is a DHCP serverWIN10, enter Ipconfig/all to see if there is a DHCP serverIfconfig
Compiled the embedded Linux Learning route for reference, I hope you have some reference value!First,Linux PrimerAt present, the main embedded development environment hasLinux、Wincesuch asLinuxlinux The operating system is also just a simple
Bo Master before this situation, is the ordinary user under the SU LS and other commands are still valid, can log into the root user after these commonly used commands have failed.Like thisThis is a simple question, but it's also tricky for those of
Text Processing sed!!! Sed is a row editor for modifying the contents of a fileFunction: Used to process editing one or more filesOfficial website: http://www.gnu.org/software/sed/manual/sed.htmlBy default, SED reads the data read into the pattern
http://blog.csdn.net/linuxmake/article/details/9246745Before installing Ubuntu Linux, you must first obtain the installation software, (there are many mirror platforms available for download on the network, you can burn your own discs after
When executing some programs in Linux, these programs must first authenticate the user who initiated it before executing, such as login, su , etc.The authentication procedure for identity or status in Linux is performed by Pam ,Pam(pluggable
There's a principle in safety, called the principle of least privilege.According to this principle, to start an application or process, you should give it the minimum permissions, according to the application permission requirements, create a user
Timing analysis of video learning process scheduling and process schedulingDifferent types of processes have different scheduling requirementsFirst Category:--i/o-bound:1. Frequent i/o;2. It often takes a lot of time to wait for I/O operations to
There are 5 types of compressed package formats common to Linux: Zip tar.gz tar.bz2 tar.xz tar. ZWhere tar is a packaging format, and the suffixes such as GZ and bz2 are the means of compression: gzip and BZIP2Unzip the filename. zip :Unzip Filename.
Solve the error prompt when running Linux commands
Have you ever received the "Permission denied" error message when running Linux commands? This may be because you are trying to perform an operation that requires the root permission. For example,
Memcached cache database application practices, memcached Cache1.1 database comparison
Cache:Store data in the memory. cache is enabled only when the disk is not competent.
Disadvantages: power-off data loss (dual-power), the purpose of using cache
Practical date and time modification method, practical date modification method
Date and Time Modification1. view the time and date
[Root @ qdy ~] # Date Monday, January 1, December 04, 2017 10:02:12 CST
Or
[Root @ qdy ~] # Clock-0.517451
Download the RPM package and all its dependent packages from CentOS
You must spend some time and manually searching for and downloading the software packages that the installed software depends on. However, we do not have. In this short tutorial, I
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