Tar-zcvf/home/xahot.tar.gz/xahotTAR-ZCVF the directory to be packaged when the file name full path is generated after packagingExample: Package the/xahot folder into a/home/xahot.tar.gz file.Zip compression method:Compresses the current folder Zip-r.
Each file can obtain the file information through a struct stat structure, where one member St_nlink the number of links representing the file.When using the shell's Touch command or open a nonexistent file with O_creat in the program, the number of
All of a sudden the session failed, and the death of the cache. Follow the solution: Program--Re-check program--File permissions--View server configurationI just want to say one thing, I'm a damn. A variety of self-abuse, all kinds of debugging.
LN is another very important command in Linux, Its function is to create a synchronized link for a file in another location. When we need to use the same file in different directories, we don't need to put a file in every required directory, we just
Linux User Management|-User Management configuration file|-User Management commands|-User Group Management commands|-Batch Add users|-User Authorization***********************************************************************Configuration fileUser
Linux System version commandFirst, check the system Kernel version command:1) [[email protected] ~]# cat/proc/version Linux version 2.6.18-238.el5pae ([email protected]) (GCC version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Sun Dec 14:42:44 EST 2010
http://czmmiao.iteye.com/blog/1058215OverviewWith the rapid development of hard disk capacity and speed, the reliability of hard disk is becoming more and more important, today's single-block hard disk storage capacity can easily reach 1TB, the
Configuration rules for variables Variables and variable contents are linked with an equal sign "=", as follows:"Myname=vbird" The equals sign cannot be directly connected to a space character, as shown in the following error:"myname =
Many fragmented command highlights:1. How to download FTP files by commandRead-s-P "Your passwd:" passwd; wget--user=yourusername--password= $Passwd ftp://IP/dir/fileRead-s-P "Your passwd:" passwd; Axel Ftp://yourusername:[email Protected]/dir/file2.
Yesterday I learned the command to create files and directories mkdir, today learn about the commands for deleting files and directories in Linux: RM command. RM is a commonly used command that removes one or more files or directories from a
1. View the SSH client versionSometimes it is necessary to confirm the SSH client and its corresponding version number. Use the SSH-V command to get the version number. It is important to note that Linux generally comes with OpenSSH: The following
Some time ago, with a AES encryption and decryption method, see the previous blog AES encryption and decryption . encryption and decryption method on the window to test the time there is no problem, the encryption process on the Android, Decryption
Linux is a very automatic file generation system, log, mail, backup and so on. Although now hard disk cheap, we can have a lot of hard disk space for these files wasted, so that the system regularly clean up some unnecessary files there is a
Expect is developed by Don Libes based on the Tcl language and is widely used in interactive operations and automated test scenarios, expect allows shell scripts to automate interactive communication without human intervention.The core function of
Tried all night and finally tried out .... True twists and turns, investigating Linux scripts.Here are the points to note:1. The SH bash inside Linux is not the same, and the presence on different systems is different. SH is designed for UNIX,
Environment: CentOs 6.5 (minimized installation)Reference:http://www.iusesvn.com/subversion/tortoisesvn_doc/[[email protected] ~]# yum -y install subversion[[email protected] ~]# mkdir /svn/ -p[[email protected] ~]# useradd svn[[email protected] ~]
Do you ever because a file occupies a large space, and the space shortage of the USB stick can not store this file. Have you ever had too many files in the software to make it easy to copy and carry? Have you ever had a headache because you need
1. Checkout files to a local directory under the Linux command lineSVN checkout Path (path is a directory on the server)Example: SVN checkout Svn://192.168.1.1/pro/domainShorthand: SVN Co2. Add new files to the repository from the Linux command
Once, it was tortured by the system () function, because the system () function was not well understood. Simply knowing that using this function to execute a system command is not enough, it is not sufficient, its return value, the return value of
Original: http://www.nixtutor.com/linux/all-the-best-linux-cheat-sheets/1. Linux Command Line Linux Reference card-great Reference published on Fosswire website One page Linux manual-great one page reference to the most popular Linux