Linux - PowerCram Blog - Page 2

Use Iperf to Measure Network Throughput (Bandwidth) on Windows or Linux

Iperf was developed by NLANR/DAST as a modern alternative for measuring maximum TCP and UDP bandwidth performance. Iperf allows the tuning of various parameters and UDP characteristics. Iperf reports bandwidth, delay jitter, datagram loss. Install iperf on Windows – just download, unzip and run iperf.exe. Install iperf on Ubuntu:     sudo apt-get install iperf Iperf supports several options, […]

Open a Website from the Windows Command Line

Here are three ways to open a web page from the command prompt from Windows 7, Windows Vista, Windows XP, etc. All of the following examples will open the designated web page in Internet Explorer or other default browser. start <website>Example: start www.powercram.comOR start progra~1intern~1iexplore <website>Example: progra~1intern~1iexplore www.powercram.comOR progra~1intern~1iexplore “program filesinternet exploreriexplore” <website>Example (must include quotes): […]

Bandwidth Monitoring Tools for Ubuntu

bmon – Bandwidth monitor and rate estimator bwm-ng – Bandwidth Monitor NG (Next Generation), a live bandwidthmonitor for network and disk IO cbm – displays the current traffic on all network devices iftop – Real-time bandwidth usage information on a specified interface iperf – Tool for measuring maximum TCP and UDP bandwidth performance ibmonitor – interactive bandwidth monitor pktstat – shows the […]

How To Find DNS Server Addresses in Linux

The resolver is a set of routines in the C library that provide access to the Internet Domain Name System (DNS). The resolver configuration file contains information that is read by the resolver routines the first time they are invoked by a process. In Linux/BSD/Unix systems you can run the following command to view the current DNS seerver(s) […]

How To Use grep Command In Linux

The grep command searches the given file for lines containing a match to the given strings or words. By default, grep prints the matching lines. grep can be used to search for lines of text that match one or many regular expressions, and outputs only the matching lines. grep Syntax grep ‘word’ filenamegrep ‘string1 string2’ filenamecat otherfile | […]

Upgrade Ubuntu Server From 8.10 to 9.10 – How To

You can use the following steps to easily upgrade Ubuntu Linux server (or workstation) 8.x to 9.10 (latest version as of this posting), either locally or remotely over ssh from a terminal command line. Note: Backup important data and configuration files first. First, apply latest updates to Ubuntu 8.x using: sudo apt-get updatesudo apt-get upgrade Next, install update-manager-core […]

How to update software on Ubuntu / Debian Linux

Ubuntu (and Debian) software can easily be updated using the apt-get command line tool. apt-get can be used from a terminal window as follows: apt-get update: Update is used to resynchronize the package index files from their sources over the Internet.To retrieve updated software list, enter:sudo apt-get update apt-get upgrade: Upgrade is used to install the newest versions […]