Use the console to log in to the device prompt forUsername:PasswordPower cycle Restart the device, pressCtrl + BGo to the Boot programStarting ...************************************************************************* ** H3C s5120-52p-si bootrom, Version 113 ** *************************************************************************Creation Date:jun 1 2009CPU L1 cache:32kbCPU Clock Speed:333mhzMemory SIZE:128MBFlash SIZE:128MBCPLD version:002PCB ve
portsPort State Service version25/tcp open SMTP?80/tcp open HTTP Apache httpd3128/tcp open HTTP Apache httpd8080/tcp open http-proxy squid WebProxy 2.5.stable14Warning: osscan results may be unreliable because we cocould not findLeast 1 open and 1 closed portDevice Type: General purpose | router | firewall | VoIP PhoneRunning: Linux 2.4.x, mikrotik routeros 2.x, Secure Computing embedded,Webvoize embeddedOS details: Linux 2.4.18-2.4.32 (Likely embedded), Linux 2.4.21-2.4.33, Linux 2.4.28-2.4.30
'/^. \ {65 \}/d' # method 2, a simpler method# Display part of the text-starting from the row containing the regular expression to the end of the last rowSed-n'/regexp/, $ P'# Display part of text -- specify the row number range (from 8th to 12th rows, including 8 and 12 rows)
Sed-n'8, 12p' # method 1Sed '8, 12! D' # method 2# Display rows 52ndSed-n '52p' # method 1Sed '52! D' # method 2Sed '52q; D' # method 3, which is more efficient in processing l
When I recently tried to change the interface of the Huawei s2300-52p switch from the previous trunk to access, the changes were unsuccessful and the error message was as follows:650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>[Zgk-bg-ethernet0/0/6]dis This#Interface ETHERNET0/0/6Port Link-type TrunkPor
'/BBB/B '-E'/CCC/B'-e d
Gsed '/./{H; $! D ;}; x;/AAA \ | BBB \ | CCC/B; D' # only valid for GNU sed
# Display rows containing 65 or more characters
Sed-n'/^. \ {65 \}/P'
# Display rows with less than 65 characters
Sed-n'/^. \ {65 \}/! P' # method 1, which corresponds to the above script
Sed '/^. \ {65 \}/d' # method 2, a simpler method
# Display part of the text-starting from the row containing the regular expression to the end of the last row
Sed-n'/regexp/, $ P'
#
[[email protected] nagios-4.2.4]# make allMake installMake Install-initMake Install-commandmodeMake Install-configMake install-webconfMake Install-exfoliation#ls/usr/local/nagiosBin etc libexec Sbin share Var
Third, install the Monitoring plug-in (software developers write good script)TAR-ZXF nagios-plugins-2.1.4.tar.gzCD nagios-plugins-2.1.4./configureMakeMake install#ls/usr/local/nagios/libexec/check_*Iv. start of monitoring services4.1 Starting the Service#/etc/init.d/nagios Status | Sta
Tags: symforware database nativeSymfoware Native DepartmentThe grammatical rules of common elementsCharacters: Numbers (0~9), English characters (a~z, a~z), special characters (,, (, =,%), Extended text (@, ¥, #), national characters;Constants: String constants, national string constants, DateTime constants, time interval constants, signed constants;Note: "--" or "/*...*/";Ii. Types of dataString type:CHARACTER (N)CHAR (N)CHARACTER VARYING (N)CHAR VARYING (N)VARCHAR (N)n:1~32000, default is 1;Na
gsed '/./{h;$!d;; x;/aaa\| bbb\| Ccc/b;d ' # only for GNU S Ed is valid
# Displays rows containing 65 or more characters Sed-n '/^.\{65\}/p ' # Displays rows containing 65 characters Sed-n '/^.\{65\}/!p ' NB Sp # method 1, corresponding to the above script sed '/^.\{65\}/d ' N Bsp NB Sp # method 2, simpler one The method # of the point displays part of the text-from the start of the line containing the reg
;/ccc/!d ' # Show paragraphs containing "AAA", "BBB", "CCC", any of the three strings (in any order)Sed-e '/./{h;$!d} ' E ' x;/aaa/b '-e '/bbb/b '-e '/ccc/b '-e DGsed '/./{h;$!d;}; x;/aaa\| bbb\| Ccc/b;d ' # is only valid for GNU SED # displays lines containing 65 or more charactersSed-n '/^.\{65\}/p ' # displays lines containing 65 charactersSed-n '/^.\{65\}/!p ' # method 1, corresponding to the above scriptSed '/^.\{65\}/d ' # method 2, a simpler way # Display part of text-from the start of th
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.