Unzip tar-zxf file name decompressing-zzip method-x decompress-f name-C put the extracted content in another directory and make a compressed package tar-zc...
Compression and decompression in Linux
.Tar.gz zip package
.Tar.bz2 zip
Linux command: cat/proc/cpuinfo use the command to determine the number of physical CPUs and cores: number of logical CPUs: # cat/proc/cpuinfo | grepprocessor | wc-l number of physical CPUs: # cat/proc/cpuinfo | grepphysicalid | sort |...
Linux
String-related operations are often involved in shell batch processing. There are many command statements, such as awk and sed, which can perform various string operations. In fact, shell has a series of built-in operation symbols, which can achieve
What I saw in a SHELL programming book is interesting. I recorded the code :#! /Bin/bashfor (i1; I & lt; 8; I ++) dofor (j1; j & lt; 8; j ++) dolet & quot; tmp ($ I + $ j) % 2 & quot; if [$ tmp-eq0]; t...
What I saw in a SHELL programming book is
Experimental environment: 1) vmwere-based virtual machine implementation 2) This configuration has two Test nodes, node1.a.com and node2.a.com, with the IP addresses 172.16.4.11 and 172.16.4.22 respectively. 3) the simulated cluster service is a web
When I think of a linux teacher from Neusoft, I told me that Tianji has finished the book and just bought it, you must have read "debughacks" in a week. Fortunately, I have practiced it. what should you do ~ First ulimit-c kernel dump file size
(1) find the findcontents in the file content of all files in the current directory (case insensitive, listing the row of the file where findcontents is located) & mdash; suitable for the current directory, the number of files and directories is
Step 1: Add a common user to create a user, set the password, modify the user, and delete the user: useraddtestuser create user testuserpasswdtestuser to set the password description for the created user testuser: the new user will create a user
Sometimes, we need to calculate the number of rows containing a special string in the next file. The first thing I think of is grep + wc. I don't know what you think of, but we do have multiple methods. Suppose our file is msg, which contains 2338009
I just wrote out my installation process. I don't know some specific things in it, so I have any errors. if you know something, please let me know! To install vim with gdb, you need to re-compile and install vim; 1. I first uninstalled the existing
Installed Ubuntu11.10, and found that you did not right-click the desktop as before to add a desktop starter, which is similar to the desktop shortcut function in Windows. There is a solution for installing files through command lines on the
1. modify network settings. open/etc/network/interfaces and add the following # Theloopbacknetworkinterface (configure the loopback interface) # Auto-boot lo interface autolo # configure the lo interface as the loopback interface ifaceloinetloopback
In Linux, many operations are performed on the anti-linked list, including/linux/list. h is a key file. below we record several important linked list operation macros: list_for_each_entry (pos, head, member). function: cyclically traverse the member
With your experience in Dos and Windows, you probably know that there are several types of files in the system, such as system files, read-only files, and hidden files. In Linux/Unix, file types are far more diverse and complex than Dos/Windows
Add eclipse under the/usr/share/application folder. desktop file content: [export topentry] Name [zh_CN] eclipseExec/home/corey/tools/eclipse/eclipseIcon/home/corey/tools/eclipse/icon. xpm
Add the eclipse. desktop file under
A friend's house uses the China Telecom Wireless cat PPPOE for dial-up Internet access and does not have a wireless route. Therefore, he has to use pppoeconf under ubuntu to configure dial-up Internet access, result after the configuration is
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