View GCC version numberRpm-qa | grep gccThe GNU GCC was developed under Linux/unix and cannot be run directly under Windows.There is a ported version of GCC under window. It was upstairs, MinGW and Cygwin, GCC.Cygwin is a virtual UNIX environment
1. Get the file full pathEach piece of the path is troublesome, I hope a command can give the full path containing the machine name:$ ls | Sed "s:^: ' pwd '/:" | Sed "s/^/$HOSTNAME:/g"[[email protected] test]# ls | Sed "s:^: ' pwd '/:" | Sed
Special usage of COMMON commands CPCp-i # Overlay hint alias cp= "Cp-i" mv-i # Overlay hint alias mv= "Mv-i"Cp-r # Copy directory cp-a # reserved permissionsCp-s a B # link file, only with current directoryln-s a B # A To use absolute path, B
Linux has dynamic libraries and static libraries, dynamic libraries with. So as the extension, and static libraries with. A as the extension. Both are widely used. This paper mainly discusses the knowledge of dynamic library. Basically, every Linux
Standard input (stdin): code 0, using
Standard output (STDOUT): Code 1, using > or >>;
Standard wrong Output (stderr): Code 2, using 2> or 2>>;
1>: The "Correct information" is added to the specified file or device in a
Brnshop is the most recent open source mall on the community's fire. Jexus is a Web server on Linux, simply say Linux IIS. Special thanks to the author woo The guidance of the cloud I. Set up according to
Timing Tasks for Linux systems:1:linux the system to perform periodic tasks: The system periodically performs tasks such as polling system logs, backing up system data, cleaning up system caches, and so on.[Email protected] ~]#
Linux location parameter variable, linux Parameter Variable
Understanding of various variables in linux
Technically, variables can be divided into two types: environment variables and shell variables.1. Environment variables can be regarded as
Linux pre-defined Variables
Example
Definition of Linux environment variables
I. Temporary UseThat is, it becomes invalid after restart or logout.Use PATH = $ PATH: Directory: directory... to directly assign values. For example, export
Linux network settings (version 2) and linux Version 2Linux network settings-Internet addressing Process
1. Comparison of TCP/IP and OSI Reference Models
TCP/IP
OSI
Physical Layer
Nic
Data Link Layer
*
In linux, how does one operate folders with spaces in the folder name?
In Windows, you can easily create, move, or delete folders with spaces in their names,
In linux, some special processing is required to implement the above functions.
(1) create
Multi-command sequential execution in Linux and command sequential execution in Linux
Command input for sequential execution of batch processing files in linux
You can add a semicolon between two or more commands. For example, if you want to
FreeBSD modify root Password error passwd: pam_chau (www.111cn.net) thtok (): error in service module from: http://www.111cn.net/sys/freebsd/66713.htm,error1904.module
Some errors may occur when changing the account and password in FreeBSD. the
Find out large file commands in CentOS
Q. How can I find all the large files in the directory?
A.
1) syntax forRedHat/CentOS/FedoraLinux
Find {/path/to/directory/}-type f-size + {size-in-kb} k-exec ls-lh {}\; | awk '{print $9 ":" $5
Centos6.4 use wireless networks on the Character Interface
1. Software wireless-tools-29-5.1.1.el6.x86_64.rpm to be installed, which has been installed by default in centos6.4
2. Disable the NetworkManager service and start it. Then, run the
Practical linux skills: You should use ctags to find the source code1. ctags introduction:"Oh, how can I view the implementation of XX functions for this many files !" I believe this is a complaint from many friends. Too many files make it
Install the Realtek wireless NIC Driver in CentOS6.
I. Preface
CentOS6.5 does not have the wireless NIC Driver Installed automatically as CentOS7 and Unbuntu, so we need to make a try.
2. Preparations before installation
[A] Check the installation
CentOS6.5 yum install snorby
bundle exec rails server -e production
If one of the following components has been installed, ignore
1. Snort
Refer to CentOS6.5 to install snort
2. GIT
Built-in System
3. Ruby version limit> 1.9.2
The system's built-in
CentOSps aux | grep Query Process
Ps aux | grep XXX Query Process
Ps a shows all programs under the current terminal, including those of other users.Ps-A shows all programs.When listing programs in ps c, the real command name of each program 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