, compresses all files in that directory and its subdirectories.-C Returns the compressed data to standard output, and by default compresses the data back to the file when the file is compressed.-V Displays the percentage of compression per folder.Explanation: When compressing a file with compress, the extension is added after the original file name. Z. If you do not specify a file, the standard input is compressed, and the result returns standard output.Example: Purpose: Compress/mnt/
For many users, it is easier to compress or decompress files by using tools such as ARJ and WinZip in DOS and Windows environments. However, in Linux, how does one compress and decompress files? Based on Red Hat 6.0, this article introduces several methods and techniques for compressing and extracting files, hoping to help readers.
Command: Compress
Format: compress option file list
Function: uses the Lempel-Ziv compression method to compress files or compress standard input.
Option:-r recursiv
Linux file management-compression and decompression command: tar format: tar option file directory list function: Package and back up the file directory www.2cto.com option: -c create a new archive file-r append a file to the end of the archive file-x extract the file from the archive file-O extract the file... capital
Linux file management-compression and decompression command: tar format: tar option file directory list function: Package and back up the file directory www.2cto.com option: -c cr
Vmware-tools-distrib, folder name according to your own)
and then you can run it:
sudo./vmware-install.pl (sudo assign permission installation)
then enter the password, all the way to return, the installation is finished.
here is a few additional commands to make a record.
TarFormat: tar [options] [file directory list]Function: Package A backup of the file directoryOptions:-C to create a new archive file-R appending files to the end of the archive file-X Extract files from archive-O unlock
following executionCD Vmware-tools-distrib (Enter extracted folder Vmware-tools-distrib, folder name according to your own)Then you can run it:sudo./vmware-install.pl (sudo assign permissions to install)Then enter the password, all the way to enter the installation is finished!After rebooting, you can drag files from the physical host to the virtual machine.Add a few commands below to make a record!TarFormat: tar [options] [file directory list]Function: Package Backup of File directoryOptions:-
Use GNU/Linux to play TV programs
At present, many things in life can be completed in front of the computer, reading books, writing programs, listening to music, watching videos, etc. It would be better if you could watch cable TV programs on your computer. For this reason, I purchased the yuangang video capture card AverMedia C725B. As shown in.
The official introduction to this card is as follows ):
The C725 SD card is a PCI-E acquisition card that
Summary of onCreate execution caused by sqlite's storage location on the mobile phone, sqliteoncreateReprinted please indicate the source, thank you: http://blog.csdn.net/harryweasley/article/details/46467495
We all know that in order to operate databases, android generally inherits the SQLiteOpenHelper class and implements its three functions.
As follows:
package jz.his.db;import android.content.Context;import android.database.sqlite.SQLiteDatabase;import android.database.sqlite.SQLiteDatabase
for %s", "Cocos2d-html5"}
In this way, message strings can be reused to the maximum extent and facilitate management.
Reprinted: http://www.douapp.com/post/2454
The size of one-to-one math required to be compared: 1. If 1 is less than x Dizzy · This indicates that the method is really cool. Isn't it lg at the bottom of log? You just wrote (lgx) 2, lgx 2, and lg (lgx
Reprint please indicate the source, thank you: http://blog.csdn.net/harryweasley/article/details/46467495As we all know, Android in order to operate the database, generally inherit the Sqliteopenhelper class, and implement his three functions.As shown below:package jz.his.db;import Android.content.context;import Android.database.sqlite.sqlitedatabase;import Android.database.sqlite.sqlitedatabase.cursorfactory;import Android.database.sqlite.sqliteopenhelper;public class Messagedatabase extends Sq
synchronization link (link) for a file in another location. The most common parameter is-s, which creates a soft link (symbolic)
When we need to use the same file in different directories, we do not need to put a file that must be the same under each required directory. We only need to put it in a fixed directory, put the file and use the ln command to link it to other directories without occupying disk space repeatedly.
In the following example, we link workspace/Test to the file.
Ln-s/home/
Select: SELECT * FROM table1 where rangeInsert: INSERT INTO table1 (field1,field2) VALUES (value1,value2)Delete: Delete from table1 where rangeUpdated: Update table1 set field1=value1 where rangeFind: SELECT * FROM table1 where field1 like '%value1% '---the syntax of like is very subtle, check the information!String N=name.gettext (). toString (); String E=email.gettext (). toString ();//string add= "INSERT into lgx_table (name,email) VALUES (' LGX ',
link (symbolic symbolic)When we need to use the same file in different directories, we do not need to put a file in every required directory, we just put it in a fixed directory, and then use the LN command to link it in other directories without having to use disk space repeatedly.As an example, we link the workspace/test to the fileLn-s/home/lgx/workspace/tset/home/lgx/fileSo under the/home/
Select: SELECT * FROM table1 where rangeInsert: INSERT INTO table1 (field1,field2) VALUES (value1,value2)Delete: Delete from table1 where rangeUpdated: Update table1 set field1=value1 where rangeFind: SELECT * FROM table1 where field1 like '%value1% '---the syntax of like is very subtle, check the information!String N=name.gettext (). toString (); String E=email.gettext (). toString ();//string add= "INSERT into lgx_table (name,email) VALUES (' LGX ',
label
The label provides four aspects of information:
(1) Hostname (host name)
Include the machine name and the full domain name of the machine. The format is: localhost.local domain, for example, Lgx.linux.net, where LGX is the local machine main name, linux.net is the domain name of this machine.
(2) Domain (field name)
The full domain name of the machine, that is, "in the host name." "Back section. Here input: linux.net
(3) Search for hostna
execution of a command;[Email protected] ~]# history |grep 10021002 PWD1015 History |grep 1002[Email protected] ~]#!1002Pwd/root History Command if the environment variable has not been changed, the last 1000 commands can be printed by default.3)! string (string greater than or equal to 1), for example!PW represents the last instruction in the command history to begin with ' PW '.[Email protected] ~]#!PWPwd/root8.3 Command Completion and aliasesCommand completion is to press the TAB key, which
" (File defragmenter) to Windows and provided "Taskmonitor" (Task monitor) to track disk activity during program startup to facilitate "disk defragment" Able to work more effectively. "Taskmonitor" is automatically run with Windows startup (of course, "Taskmonitor" is selected in "Startup"). When an application is loaded, it monitors the disk's access actions to understand which files are searched and invoked when the program starts, locates the desired files, and stores the monitoring results i
, and when the InstallDefaultComponents value is yes, TCP/IP is installed by default on the target computer, DHCP is enabled, the Microsoft Network User protocol is installed, and so on.
InstallDefaultComponents = YES
[identification]; flag a workgroup or domain
JoinWorkgroup = "Workgroup"; add a native to a workgroup named Workgroup, you cannot use spaces in group names. If you want to join this computer to a domain, you can overwrite it as:
Joindomain=domain joined Domain field
DOMAINADMI
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.