echo "ls *.$2 | While read File;do Grep-n $ $file | while read out; Do echo $file, $out;d one; Done ">search.shSearch: sh search.sh get_longest_overlap CYou can search for files containing get_longest_overlap content and line numbers in the C file
To turn off the system firewall step1 shutting down the firewall:Iptables:chkconfig Iptables off2 Turn off Selinux: Double-click Open /etc/sysconfig/selinux file, then modify "selinux=disabled"Save exit.3 rebooting the
1. Connect the PC and the Development Board to the switch using a network cable.2. Make sure windows can ping Linux.2.1. Turn off other network connections in the Windows system, leaving only the network adapters that are used to connect to the
The meaning of initrd is initialized RAM disk. RAM disk simulates a disk with a portion of memory, allowing the operating system to access it.The initrd.img file is a RAM disk image file. RAM disk is a standard kernel file-aware device (/DEV/RAM0)
Sometimes we need the Linux system to automatically load some scripts or system services when booting upThis is done in three main ways:Ln-s a soft link to the/etc/init.d/service in the/ETC/RC.D/RC*.D directory (* represents one of the 0~6 seven
(Take Ld_library_path as an example)
Settings for the staging environment variable (valid only for the current process)[root@localhost scripts]# Export $LD _library_path=/opt/postgresql/9.4/lib/
Persistent environment variable setting (
types of variables for LinuxAccording to the lifetime of the variables, the Linux variables can be divided into two categories:1 Permanent: The configuration file needs to be modified, and the variable will take effect permanently.2 Temporary: With
Search features when the Find command does not add-nameMany documents that introduce the Find command do not describe the search feature without-name, as summarized below1, contain * and other meta-characters, search words do not add "" or "2,
Just solved 530 of the problem, and came to a linux-500 oops:cannot change directory:/root, what is the reason, the Internet to check a bit, the main reason is that the system enabled SELinux settings. When the system is installed, the default
Create a hard diskcd/dev/Fdisk-l: Viewing the capacity of a disk partitionFdisk-l/dev/sda/: View the capacity of the first SCSI hard disk partitionFdisk-l/dev/hdb/: View the capacity of the second IDE hard disk partitionMan fdiskll/proc/: Storage
The atop command is a monitoring command for a terminal environment. It shows the synthesis of various system resources (CPU, memory, network, I/O, kernel), and is color-coded in the case of high loads.Install Rpmforge FirstFor Rhel/centos 6 32-64
1, the first time to write a blog, this afternoon struggled for an afternoon, finally understand how to connect the virtual machine above the Linux system.2, how to connect the system and configuration, I do not say, there is a
Want to install in Linux development, but want to use the window interface and operating system. You can try this method. Attach the project file of window directly to Linux.
Create an account with user name and password in window650) this.width=
Some classic books in Linux and classic books in LinuxI. Road to linux 1. Getting Started
《LINUX authoritative guideThe book is good, and it is comprehensive and widely written. It is not deeply involved. As an entry-level book, it is good. You can
Add jar packages to Maven projects in EclipseAfter creating an Eclipse project in Eclipse, how can we add a jar package?
Click the pom. xml file. We can see 7 labels below.The meaning of each label is as follows:
Overview: displays some basic
Modify hosts in Ubuntu and windowsFirst, provide a hosts file
Http://pan.baidu.com/s/1jGMptxOUbuntu
After the file is downloaded, open it with gedit, copy all the content in it, open the terminal, and enter`Sudo gedit/etc/hosts restartAfter
Intuitive Git common command charts
Git is a powerful distributed version control system. It not only applies to managing the source code of large open-source software, but also has many advantages in managing private documents and source code.
Install Apache2.4 + PHP5.6 + MySQL5.5 (LAMP) in CentOS 6.5)
I always think that the best PHP framework in China is ThinkPHP, but some friends say that the Where condition will be lost in the case of DB updates, it means that when conditional updates
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