(019) Linux File Search

Fundamentals of the ten-year OPS series-LinuxZeng LinContact: [Email protected]Website: www.jplatformx.comCopyright: Please do not reprint the article without permission First, IntroductionThe Linux system contains very many files! This

Linux self-security selinux

To view the SELinux status:1,/usr/sbin/sestatus-v # #如果SELinux The status parameter is enabled is turned onSELinux status:enabled2. Getenforce # #也可以用这个命令检查To turn off SELinux:1, temporarily shut down (do not restart the machine):Setenforce 0 #

View TCP connections and status under Linux

Netstat-n | awk '/^tcp/{++s[$NF]} END {for (a in S) print A, s[a]} 'Time_wait 8947Fin_wait1 15Fin_wait2 1Established 55Syn_recv 21CLOSING 2Last_ack 4 TCP Connection Status detailedLISTEN: Listening for connection requests from a

Join your own kernel and RAMFS based on existing Linux LiveCD

Original Livecd:install-amd64-minimal-20130711.iso (Gentoo)Working system: CentOS1. Copy the contents of the original LiveCD:[[email protected] downloads]# mkdir/mnt/livecd[[email protected] downloads]# Mkdir/mnt/img[[email protected] downloads]#

Linux Load Balancing Notes

1.linux LVS NAT for load BalancingAdd two Nic and turn on routing pipelineEcho 1 // Start Routing PipelineInstalling IpvsadmYum Install IpvsadmConfigure IpvsadmIptables-f//Clear FirewallIpvsadm-c//Clear Ipvsadm ConfigurationIpvsadm-at8.8.8.8: the-S

Linux instructions detailed Find search

command: FindFind, searchWith the characteristics of immediacy, do not need the database, relatively slower1. Search for files recursively down from the specified path2. Support Search by various conditions3, support the search to obtain the file

Linux Find and manipulate

Find-depth 1-name ' aa* ' | Xargs TAR-CVF Aa.tarThis command will look for files that start with all AA in the current directory, and then "package" all the results into Aa.tarContrast:Find.  -maxdepth 1-name ' aa* '-exec tar-cvf fff.tar {} \;

Linux shortcut Key command

Commands in the Linux environment:Ctrl+alt+t: Calling the terminal's LinuxCTRL + C: Terminate a running process: kill foreground processCtrl+l: Clear ScreenShortcut keys under Win7:Win+tab: Show DesktopWin+d: Minimized window, display desktopWin+p:

Use Mutt to send mail under Linux

1.Installsudo apt-get install mutt MSMTP2.Configsudo vim/etc/muttrcAdd the following contentSet sendmail= "/usr/bin/msmtp" set Use_from=yesset envelope_from=yesset realname= "yourname" set [email protected]Then msmtp configuration file for

Unix & Linux University Tutorials (ii):

11th Chapter ShellShell two families: Bourne Shell family (Bourne shell, bash, FreeBSD, Korn Shell, Pdksh, Zsh) and C-shell family (C-shell, Tcsh).To temporarily change the shell, just run the shell directly at the command line, enter the shell name,

See if RAID is enabled under Linux

[Email protected] ~]$ CAT/PROC/SCSI/SCSI Attached devices: Host:scsi0 channel:02 id:00 lun:00 Vendor:dell Model:perc H710 rev:3.13 Type:direct-access ANSI SCSI revision:05 Host:scsi5 channel:00 id:00 lun:00 Vendor:hl-dt-st

Linux command logging

The first day after today's work, but also always in the memory of the holiday, the previous use of some of the commands are always forgotten, hereby recorded:1, check the current user's home directory $homeEcho $HOME2. View current working

Linux User and Permissions details (note)

The command replaces the key on the top of the command or "anti-quote precedence" of the Commands tab keyBASH-supported quotes' Anti-quote command replacement '"" Double quote weak reference, you can implement variable substitution.' Single quote

Install jdk in linux and linuxjdk

Install jdk in linux and linuxjdk1. Download the jdk installation packageJdk-7u71-linux-x64.rpm2. Install jdk# Rpm-ivh jdk-7u71-linux-x64.rpm3. Configure Environment Variables# Vi/etc/profile JAVA_HOME =/usr/java/jdk1.7.0 _ 71JRE_HOME

Delete the first few characters in a line in linux.

Delete the first few characters in a line in linux. Netstat-an-t | grep ": 3306"Tcp 0 0: 3306: * LISTENTcp 0 0: ffff: 192.168.0.128: 3306: ffff: 192.168.1.203: 58468 ESTABLISHEDTcp 0 0: ffff: 192.168.0.128: 3306: ffff: 192.168.0.88: 65460

Apache2: bad user name $ {APACHE_RUN_USER} solution, apacheuser

Apache2: bad user name $ {APACHE_RUN_USER} solution, apacheuser After the project is started, an apache Virtual Machine fails to run. After calling apache2-k start, the following message is displayed: Apache2: bad user name $ {APACHE_RUN_USER}  

Tomcat memory overflow in Linux

xms

Tomcat memory overflow in LinuxTomcat itself cannot run directly on a computer. It depends on the operating system and a Java virtual machine. When the JAVA program starts, the JVM allocates an initial memory and the maximum memory to the APP. When

Introduction to Sed Regular Expressions in Linuxshell scripts

Introduction to Sed Regular Expressions in Linuxshell scriptsSed IntroductionSed is a lightweight stream editor, short for stream editor. Sed is also called a row editor because it is used to edit a file in a behavior unit. It can automate editing

Whereis command), whereis command

Whereis command (convert) and whereis command Original article: http://www.cnblogs.com/peida/archive/2012/11/09/2761928.html The whereis command can only be used for searching program names, and only binary files (parameter-B), man description files

Locate command), locate command

Locate and locate commands Original article: http://www.cnblogs.com/peida/archive/2012/11/12/2765750.html Locate allows users to quickly search for specified files in the file system. The method is to first create a database that includes the names

Total Pages: 5467 1 .... 5062 5063 5064 5065 5066 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.