We know that there are two very powerful tools winrar and compression tools available in Windows, and there is a powerful decompression and compression tool in Linux as well. That's the famous tar. Let's first look at the format of the tar command
Files need to be processed and analyzed in the project, first need to find the file according to requirements, such as the last modified fileCode implementation:1#include 2#include 3#include 4 5#include 6 7 using namespacestd;8 9 intMainintargcChar**
In the work, we often need to modify the contents of all the files under a folder, for example, to replace the date in a new date, or a string of characters replaced by another string of characters, then we can use the SED command:Sed-i "s/oldstring/
Linux kernel-system call1. Communicating with the kernel#系统调用在用户空间进程和硬件设备之间增加了一个中间层Functions: 1. Provides a hardware abstraction interface for user space2. System call to ensure the stability and security of the system3. Considerations for each
1. The file name is preceded by a ".", which means " hidden file ".2.chgrp: Change the user group to which the file belongschown: Changing the file ownerchmod: Change the permissions of the file//r=4,w=2 x=1;3. File default permissions:umasK;umask's
Linux Tour (1): diff, Patch and quilt (bottom) 2 quiltOur own projects can manage all the code with CVS or SVN. But sometimes we use projects that other developers maintain. We need to change some files, but we cannot submit the code directly to the
Linux boot process1. Start process (bios->mbr:boot code-> boot grub-> load kernel, execute init->runlevel)2,/boot/grub/There are multiple files where stage1 is MBR mirroring (512 bytes) Stage2 as the bootloader3./boot/grub/grub.conf as the boot
1, private data for the thread:Click to open linkThe reason for the thread to have private data: 1, sometimes need to maintain data based on each thread, 2, to adapt the process-based interface to multi-threaded environment,How thread-private data
Software Environment: Ubuntu 13.10Hardware environment: TQ2440 Development BoardBecause my PC operating system is win8.1, somehow not installed in the sky embedded USB download driver, so in PC burning write Development Board system and bare-metal
Unable to mount a NTFS partition after replace Windows after Linux install?
Unable to mount a NTFS partition after replace Windows after Linux install?Today, I replaced Win7 with Win8.1, the outcome of this action are that the grubfails, and I had
Linux Startup Process notes, linux Startup notesLinux Startup Process
1. Startup Process (BIOS-> MBR: Boot Code-> Boot GRUB-> load kernel-> execute init-> runlevel)2. There are multiple files under/boot/grub/. stage1 is an MBR image (512 bytes) and
The relationship between LD_LIBRARY_PATH and-L, ld_library_path-l
LD_LIBRARY_PATH is an environment variable, which is used to let the dynamic link library loader (ld. so) there is an additional option at runtime (run-time) to add a search path list.
Determine whether a software has been installed in CentOS
My system is centos6.5I run the command rpm to check whether a software is installed (such as matlab and fluent). The following results are obtained:I use rpm-qa (| grep) matlab and press
Enable sudo in CentOS and disable root remote logon.
By default, CentOS does not enable sudo and can directly log on to the server as a super administrator. Ubuntu is better in this aspect. To ensure security and reduce the loss caused by
Install and configure VNCServer and VNCClint in centosI. VNC
VNC (Virtual Network Computer) refers to a Virtual Network Computer. VNC is an excellent remote control tool software with powerful remote control capabilities and high efficiency and
Linux Process Real-time Monitoring-htop, linux real-time monitoring-htop
For linux Process Management, top commands are commonly used, but the results displayed by top commands are not intuitive and difficult to find information. In addition to top
File permissions in linux
In linux, we found that the linux system has stricter file permission management than windows.
Create a new group in linux: groupadd group name
New linux User: useradd User Name
Create and group users: useradd-g group
Install adobereader on centos
Download the adobereader installation package at the following address
Ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/
Download the. rpm package
Download Chinese package FontPack81_chs_i486-linux.tar.gz
Manage icons in the centos6.5 Application
Previously, yongzhong office was uninstalled when it felt bad. Later, it was found that there were still some residual files in it. The address is as follows:
/Usr/local/Yozosoft/Yozo_office
/Etc/Yozosoft
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