Linux Script test network speed

Example:./netspeed eth01 #!/bin/bash23 interval= "1" # Update INTERVAL in seconds45 if [-Z ']; Then6 Echo7 echo Usage: $ [network-interface]8 Echo9 echo e.g. $ eth0Ten EchoesExitFi13If=$115While True+ Dor1= ' Cat/sys/class/net/$1/statistics/rx_bytes

Linux "ls-l" File list permissions detailed

LsLinux "ls-l" File list permissions detailed1. The results of the execution using the LS-L command are as follows (/var/log):Drwxr-x---2Root ADM4096 -- ,- - One:Genevaapache2 drwxr-xr-x2Root root4096 -- ,- - the: +AppArmor drwxr-xr-x2Root root40

One misuse of the Linux RM

Today, under Linux misuse of a rm-rf, experience painful, record.The reason is I deleted a file to the Recycle Bin, then the wrong thing to delete everything under the home to the Recycle Bin, and then I copied from the Recycle Bin back home

Installing the build Toolchain on Linux

Install the build tool chain on Linux, install it will rely on dpkg-dev,g++,libc6-dev,make, etc., so the dependent tools will be installed after installation. So described in the Ubuntu Software LibraryInformational List of build-essential

Linux Common Command Exercises

Practice One:1. Create the following folder in the/tmp directory A_b,c_b,a_d,c_d2. Create a root tree in the/tmp directoryExercise two:Create an empty directory in the/tmp/mytest directory that begins with TestDir, followed by a date and time, as

View txt document under Linux

When we use the Windows operating system, the most likely to use the text format is txt, but when we copy the TXT text document under the window platform to view under the Linux platform, we find that the original Chinese has become garbled. Yes,

Porting mt7620a+mt7610e driver to OpenWrt trunk (Linux Kernel 3.14.18)

MT7620Modify Trunk/build_dir/target-mipsel_24kec+dsp_uclibc-0.9.33.2/linux-ramips_mt7620a/mt7620/rt2880/os/linux/rt_ linux.c:1201 LineWill:  Posfsinfo->fsuid = Current_fsuid ();Posfsinfo->fsgid = Current_fsgid ();Modified to:Posfsinfo->fsuid = *

Linux Disk Partitioning

Original address: http://www.jb51.net/LINUXjishu/57192.htmlCentOS under Disk Management1. Disk partition Format descriptionThe Linux partition differs from the Windows,linux under the hard drive device name (IDE hard disk is HDX (x is from a-d)

Linux under the unzip command Daquan

Article mainly transferred from: http://www.cnblogs.com/eoiioe/archive/2008/09/20/1294681.html. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression

Linux Performance Analysis command: Top FREE PMAP PS

Top-u User NamePmap-d PIDFreePS-E-O ' pid,comm,args,pcpu,rsz,vsz,stime,user,uid ' (Rsz is the actual memory)PS-E-o ' pid,comm,args,pcpu,rsz,vsz,stime,user,uid ' |  grep Oracle | Sort-nrk5Reference:Linux view CPU and memory usage-Eggplant _2008-Blog

Linux Bridge configuration Command: Brctl (2)

The BRCTL is used to manage the Ethernet bridge, establish, maintain, and check the Network Bridge configuration in the kernel. A bridge is typically used to connect multiple different networks so that these different networks can communicate like a

Linux Configuration Firewall port

Configure with/etc/sysconfig/iptables-A input-m state–state new-m tcp-p tcp–dport 80-j ACCEPT (allow 80 ports through the firewall)-A input-m state–state new-m tcp-p tcp–dport 3306-j ACCEPT (Allow 3306 ports through the firewall)(22 ports are added

LL in Linux

ll (RPM) operating systems in Linux: Ubuntu9.04ll is not the next basic Linux command, it's actually LS-an alias for L. Ubuntu default does not support the command ll, must use LS-L, this is not very convenient to use. If you want to use this

Linux virus sfewfesfs, linuxsfewfesfs

Linux virus sfewfesfs, linuxsfewfesfs Due to the accident of rm-fr/on the Intranet server A yesterday, server A is finished. After the system is reinstalled, the LAN cannot access the Internet due to the fault, finally, we found A process sfewfesfs

[Linux] Error: failure: repodata/repomd. xml from fedora: [Errno 256] No more mirrors to try., repodatarepomd. xml

[Linux] Error: failure: repodata/repomd. xml from fedora: [Errno 256] No more mirrors to try., repodatarepomd. xmlThe following error occurs when you use the yum source of the fedora17 system: Error: failure: repodata/repomd. xml from fedora: [Errno

The problem that Jboss cannot access the web through ip address installed in linux

The problem that Jboss cannot access the web through ip address installed in linux Decompress the downloaded jboss package to the path/opt/java according to the online statement, Because the Jboss-4.2.2 is used, you need to add-B 0.0.0.0 or-B xx.

Write the simplest kernel: HelloWorld and helloworld

Write the simplest kernel: HelloWorld and helloworld The kernel is the core of the operating system. It mainly provides hardware abstraction layer, disk and file system control, multi-task, and other functions. It involves a wide range of computer

Garbled characters in Linux

Garbled characters in LinuxModify the/etc/sysconfig/i18n file, as shown in figureLANG = "en_US.UTF-8", xwindow displays the English interface,LANG = "zh_CN.GB18030", xwindow displays the Chinese interface.Another method is cp/etc/sysconfig/i18n $

Principles of the tratc (TrafficControl) Framework

Principles of the tratc (TrafficControl) FrameworkRecently, my work is more or less related to Linux throttling. Since I learned about TC a few years ago and understood its principles more or less, I have never touched it any more, because I do not

CentOS6.4 install BCM4313 wireless NIC Driver

CentOS6.4 install BCM4313 wireless NIC Driver After a few days, I finally got it done. I found a lot of information on the Internet. The speed of the 3G network card on mobile is really poor and unstable. I can imagine how difficult it is. OK. Now

Total Pages: 5467 1 .... 2797 2798 2799 2800 2801 .... 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.