Reprinted from: http://blog.tangjianwei.com/2009/01/02/how-to-create-and-extract-zip-tar-targz-and-tarbz2-files-in-linux/
Data Compression has been very useful for us over the years. Whether it is a zip file used for sending images in an email
First, create a file larger than the limit and use the DD command.Dd If =/dev/Zero of =/home/Leon/tmpfile BS = 1024 COUNT = 1048576In this case, a 1 GB file is created.TheProgram:
# Include # include # include # include int main (INT argc, char
Vim ~ /. Lftp/RC
Set ftp: charset "GBK"
Set file: charset "UTF-8"
Alias CN "set ftp: charset GBK; set file: charset UTF-8"
Alias utf8 "set ftp: charset UTF-8; set file: charset UTF-8"
"By default, files in simplified Chinese
GDB is a common C/C ++ debugging tool in Linux and has powerful functions. How can I use GDB for debugging complex systems, such as multi-process systems? Consider the following three-Process System:
Proc2 is a subprocess of proc1, and proc3 is a
Address: http://blog.csdn.net/kevined/article/details/2625095
Yesterday, a member of the team suddenly asked about the Linux latency function, which was specially organized for reference by new users:
Latency functions in Linux are divided into
Linux signal Mechanism
The signal provides a mechanism to notify process system events. It is also used for communication and synchronization between user processes.A primitive mechanism. How
Not long ago, anjuta was installed using the yum command in fedora 9, but it crashed for the first time. The phenomenon is as follows: anjuta cannot start after modifying the glade file, and anjuta cannot start any more, the Glade file loaden has
1. View System Load
If your computer is slow, you may want to check whether it is too heavy.
In Linux, we generally use the uptime command to view (W command and top command ). (They also apply to Apple's Mac computers .)
If you type uptime in the
Implement sniffer with ARP Spoofing
Transferred from: Alibaba Cloud security online
Generally, in the LAN environment, we access the Internet through the gateway in the exchange environment. In the exchange environment, we use netxray or Nai
Reference: http://qzone.qq.com/blog/119994997-1236688022 http://hi.baidu.com/colin719/blog/item/f6ea44e782e1152fb938205c.html
The exec function family contains six functions:
# Include Int execl (const char * path, const char * Arg ,...);Int
Search by File Name:
This method is as easy to understand as searching for files in windows. If you put this file in a single folder, you can easily find it by using the common "ls" command, using the "find" command to search for it will not impress
After the root permission is logged on, the/etc/shadow file is obtained and the text is opened.
Shadow file:
In Linux, the/etc/shadow file stores the user's password hash value.
The ciphertext format of the password stored in shadow is as follows:
$
3 best video players for Linux: smplayer, VLC and kaffeine
Source: tuxarena. BlogspotSmplayer
Smplayer is built in qt4 and it uses the mplayer engine for video playback. it's one of the most powerful applications out there for watching DVDs, and it
Today, I encountered a resolution problem in the virtual machine. I found the problem on the Internet and tried to keep it for future convenience.
May 10 th, 2010
Solve the problem that the Linux System in VMware cannot be full screen
535 million
Inode is an important concept and is the basis for understanding Unix/Linux file systems and hard disk storage.
I think understanding inode not only helps improve the system operation level, but also helps to understand the Unix design philosophy,
Recently, some development programs are closely related to Linux users. I have never done any relevant learning before. I just stayed at useradd under shell,Passwd command, but has little knowledge about user authentication and password management.
The Linux USB input subsystem is a single, harmonized way to manage all input devices. this is a relatively new approach for Linux, with the system being partly inconfigurated in kernel version 2.4 and fully integrated in the 2.5 development
Uevent in Linux kernel/Sys File System
Many kobject in sysfs have the uevent attribute, which is mainly used for a communication interface between the kernel and udev
Linux Doc by: zollty
The files written in notepad in windows are different from those written in vim or gedit in Linux!
For example, an SH script written in Windows may fail to be executed in Linux.
Solution:
The reason is: in windows, the line feed
Note: Sudo-I
1. Power on the wireless network card
Iwconfig wlan0 txpower on
2. List wireless networks in a region
Iwlist wlan0 Scan
3. If you want to connect to the network guys (that is, the network where Essid is guys, And Essid is the name
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