GdbThe GCC compilation option plus –g adds debug information to the generated target code. Gcc–g–o Hello hello.cRedhat 6.3 Default is not to install GDB, if installed from the system CD (iOS image file), unzip it in the Packages folder to find gdb-7.
In Linux, use the pwd command to view the full path to the current working directory. Simply put, you will have a current working directory every time you operate in a terminal. When unsure of the current location, PWD is used to determine the exact
Basic concept: A child process inherits a copy of most of the content of the parent process environment and context, including the file descriptor table.The parent process fork out the child process, copying the parent process's file descriptor.
1. System Commands# uname-a # View kernel/Os/cpu info # head-n 1/etc/issue # view OS version # Cat/proc/cpuinfo # View CPU Info # hostname # View Meter Computer name # LSPCI-TV # List all PCI devices #
1, the Linux file system for an inverted single tree-like structure2, the root of the file system is "/"3. File system is strictly case-sensitive4, the path uses "/", and Windows use "\" differentThe tree-like structure is as follows:file name
View the file system usage and size of the folder in the Linux system:1,DF command can display all the current file system free space and use case[Email protected] linux_kernel]# df-hFilesystem Size used Avail use% mounted on/dev/sda2 28G 5.1G 21G 20
SCons is a python-written automated build tool that python and scons need to be installed before they can run and cross-platform . its integrated functionality is similar to Autoconf/automake and is a simple and reliable tool. Many systems now come
The Linux system is version redhat. In conjunction with the online information specific installation steps are as follows:Generally we need to first install Pcre, Zlib, the former in order to rewrite rewrite, the latter in order to gzip compression.1
This article draws from: http://blog.csdn.net/inthirties/article/details/5558030Environment:Oracle db 11.2.0.4,rhel 6.3 x86-64bitThe following files are required to compile bbed under 11.2.0.4 (to be exact 11GR2):SBBDPT.O from: rhel5.8 x86-64bit
SCP: Synchronizes data, can be copied incrementally (same without overwriting)Scp-r A/[e-mail protected]]ip:/b: Copy the files in directory A to directory BScp-r/root/10.10.10.26:/homt/champly/a/: If thisInstall Scp:yum install-y openssh-clients on
Embedded Primer-linux-yum a yum profileYum is a way to install Linux software, and it has the advantage of not having to solve dependencies and upgrades compared to RPM .Configuration file for two YumIn/etc/yum.repo.d/xxx.repo, there are some
First, ready to guide the development Board of the normal sourceSecond, under the driver directory of the kernel source kernel folder, create the Led_arm foldermkdir Drivers/led_armC. Copy the driver of "led drive experiment" to the Led_arm
Tips for using Linux
1. view the size of each file and directory in the folder.
Annotation: view the space occupied by all files and directories in the current folder with a depth of 2.
Du-h -- max-depth = 22. Set scheduled tasks
A) open a
Install OpenLDAP on CentOS6.5 and configure LDAP-based user logon1. To install PHP and apache, install yum install EPEL-release if no epel source exists. If not, create/etc/yum. repo. d/epel. repo.
[epel]name=Extra Packages for Enterprise Linux 6 -
Install mysql in Linux (CentOS6.5)There are many ways to install software in linux. Here we use simple and convenient yum for installation.1. Use yum to install the mysql service and client1. Check whether yum list installed | grep mysql has been
[O & M favorites] common CentOS commands
1. view the system Port and release the port
[Root @ my_nn_01 WEB-INF] # lsof-w-n-I tcp: 80
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
Java 24065 root 34u IPv6 269149 TCP *: http (LISTEN)
[Root @ my_nn_01
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