1. Linux zip commandCompressionZip-r filename.zip./*//Compress all files and folders in the current directory into filename.zip files-R means recursive compression of all files in subdirectoriesExtract unzip-d test Filename.zip//Extract the Filename.
This article was transferred from: http://www.cnblogs.com/li-hao/archive/2011/10/03/2198480.htmlExtractSyntax: tar [main option + Secondary options] file or directoryWhen using this command, the main option is required, and it tells Tar what to do,
Set the file or directory permissions for a particular user, using Setfacl.First open the file system ACL function, add CALs in Mount parameters, and then save exits such as/home partition:1 Vim/etc/fstab 2 /dev/sda2/home ext3
1. Enter the catalogue Linux-kernel-samsung-dev\drivers\char2. Create a new target directory of 01.led, copy the drive related files to this directoryNote: You need to ensure that the copied driver files are drivers that work3. Write Kconfig file in
"One" starts at line No. 3000 and displays 1000 rows. The 3000~3999 line is displayed Cat FileName | Tail-n +3000 | Head-n 1000 "Two" displays 1000 rows to 3000 rows Cat filename| Head-n 3000 | Tail-n +1000 * Note the order of the two methods
1. Why continuous physical memory is required:The Linux kernel manages physical memory through a paging mechanism that divides the entire memory into countless 4k (in the i386 architecture)-sized pages, so that the basic unit of allocating and
1. Change the owning user group Chgrp:CHGRP users Install.log, change the user group for Install.log to users.2. Change the file owner chown:Chown bin Install.log, change the owner of the Install.log to bn.Chown root:root Install.log, change the
The ifconfig in Centos7Today to minimize the installation of CENTOS7, installation completed, want to check the network configuration:Ifconfig command after display-bash:ifconfig:command not foundSolution: Determine if Ifconfig is installedFirst see
The use of dynamic libraries under Linux is very common and very useful.Step One:Create a. h header file that declares a function in the dynamic library in a header file#ifndef _test_h_#define _test_h_#ifdef __cplusplus /*c C + + mixed
1. Application execution requires library supportWhen making your own distribution, it is often necessary to determine which shared library files The command needs to support, to ensure that the specified commands can be reliably run in a
Original URL: http://my.oschina.net/u/1377657/blog/281875I re-installed Ubuntu12.04.4 LTS, put the Ubuntu boot item in the/boot partition inside, start the time directly into the window, do not prompt me to enter Ubuntu, here is a solution.One:
Linux Process understanding
# Include # include pid_t wait (int * status); pid_t waitpid (pid_t pid, int * status, int options );
If the call is successful, the cleared sub-process id is returned. If an error occurs in the call,-1 is returned.
Linux compression and decompression commands1. linux zip command
Compression
Zip-r filename.zip./* // compress all files and folders in the current directory into filename.zip files.
-R indicates recursively compressing all files in the subdirectory
Configure svn and http access in ubuntu
Assume that the apache server has been installed and started on port 80. All operations are performed under the root user. The created warehouse folder and the repository created on the svn server are all
Linux learning-advanced shell script programming (I) Functions
Citation:When writing shell scripts, you will find that the same code or functions are used in many places. It doesn't matter if it's a small piece of code. But if you use the same code
LFS (Linux From Scratch) learning, lfsscratch
I. Introduction
LFS-Linux from Scratch is a method for directly downloading source code from the Internet and compiling LINUX from Scratch. It is not a release version. It is just a recipe that tells
How to install and configure vsftpd in CentOS
Bad environment:CentOS 1, 7.0
There is not much gossip. Let's get started with the subject.Step 1: Install vsftpd and run it on the terminal
yum -y install vsftpd
Test whether the installation is
Linux regular expression-expression
You may be familiar with the expressions interpreted by a calculator. See the following arithmetic expressions:2 + 4"2 + 4" represents several constants or literal values and an operator. The calculator program
Arp for linux commandsArp commands are used to display and modify IP addresses used by the Address Resolution Protocol (ARP) to the Ethernet MAC (Ethernet physical address) conversion table.Arp syntax format:
arp [-evn] [-H type] [-i if] -a
Linux route command details: View and operate IP route tables
The route command in Linux is used to display and operate the IP route table (show/manipulate the IP routing table ). To achieve communication between two different subnets, you need a
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