1. Create CPP file: Vim sourcefile.cpp2. Generate executable file: g++-G sourcefile.cpp-o exename------is said to be required to add the-g parameter, otherwise it cannot be debugged3. Start Debugging: Enter GDB (Fuck it) into the GDB environment4.
Use of the help command:Internal commandHelp COMMANDExternal command:(1) command to use Help with a brief formatCommond--help(2) User manual ManualLocation/usr/share/manMans CommondSection:NAME: Description of functionalitySynopsis: Syntax
Method One:Find directory-name "*.ABC" | Xargs RMcommand is a bit dangerous, you can do the first half to see if you want to delete the file, and then the entire executionMethod Two:Find. -name ' *.exe '-type f-print-exec rm-rf {} \;(1) "."
After mounting the new hard drive, enter the FDISK-L command to see the current disk information.650) this.width=650; "src=" http://img1.51cto.com/attachment/200811/200811221227366545284.jpg "border=" 0 "style=" border:0px; "/>You can see a second
Basic command:LS Displays files and directories in the current directoryLs-l Listing File Details l-listLS-A lists all files and directories in the current directory, including Hidden A-allmkdir Creating a Directory-P Create directory, if no parent
Recently, due to the company's needs, need to be successful in the two-time QT development, but on-line information is very small, it is also basically other versions of the Linux build. The successful bidder's own information is also very good, and
Message Queuing is a way of interprocess communication that is not based on a stream of bytes, but rather as a message.In other words, Message Queuing is not necessarily FIFO.This time I'm using Message Queuing to implement a simple interprocess
One , download and install the lnmp One-click installation package:#tar-ZXVF lnmp1.2-full.tar.gz#cd Lnmp1.2-full#./install.sh LNMPInstallation Lnmp execution:wget-c http://soft.vpser.net/lnmp/lnmp1.2-full.tar.gz && tar zxf lnmp1.2-full.tar.gz && CD
1, Linux graphical interface and character command line interface switchSwitch from the graphical interface to the character interface, using the shortcut keys CTRL+ALT+F1Switch from the character interface to the graphical interface, using the
Need to use Linux for Remote Desktop Services, Xmanager used before, feel normal, this time to try VncMy operating system is CENTOS7.One service-side installation Vncserver#yum-y Install VNC *vnc-server*Set Password# VncserverYou'll require a
StepsCheck CacheFree-mReleasing the cacheCat/proc/sys/vm/drop-cahes0First, the value of/proc/sys/vm/drop_caches, which defaults to 0ReferenceSyncPerform the sync command manually (description: Sync command runs the Sync subroutine. If you must stop
How to debug: Set breakpoints, step through code, and output debugging information.Print Nehe Debug information: PRINTK. The PRINTK function runs in kernel space, and the PRINTK function runs in user space. Linux kernel programs such as Linux
1. Remote SSH login on the CentOS server and do the followingNote: The mount operation clears the data, please make sure that the Mount disk has no data or is not using 1, list all disksCommand: Ll/dev/disk/by-path (Note: ll is the lowercase letter
1. Hard Links: File aliasesWith the previous Linux ext2 file system, we know that in the block of the directory file, the file name and the corresponding inode are stored in the directory.Multiple filenames can be mapped to the same inode,Create a
An analysis of open system call http://www.embedu.org/Column/Column465.htm in Linux1. The Linux open system invocation process is briefly summarized:In a Linux application, call Open ("Dir/filename", O_RDWR);See x86 assembly result is call Open,
Recently learned pipeline pipe, here to summarize.Put a piece of your own real code herestructnode{intA;Longb;};intMain () {intfield[2]; pid_t pid; Charbuf[ the]; intReturned_count; Pipe (field); //fcntl (field[0], F_SETFL, o_nonblock);
1. Command format:tar[necessary parameters [selection parameters] [file]2. Command function:Used to compress and decompress files. The tar itself does not have compression capabilities. It is implemented by invoking the compression function3.
Linux command-Compression decompression commandCommand name: gzipCommand English original: GUN zipCommand path:/bin/gzipExecute Permissions: All UsersSyntax: gzip "file"Function Description: Compress the file ( and only compress the file, do not
Sysconf This function is used to obtain the configuration information of the system execution. such as page size, max pages, number of CPUs, maximum number of open handles, and so on.#include #include#defineONE_MB (1024 * 1024)intMain () {Number of
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