LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what command will identify which dev file my device was assigned (http://www.linuxquestions.org/questions/linux-newbie-8/what-command-will-identify-which-dev-file-my-device-was-assigned-786407/)

kevmcool 02-02-2010 07:30 AM

what command will identify which dev file my device was assigned
 
hi folks
if i plug in a usb stick or need to specify a device what is the easiest way to get the
device file assigned to it eg. hdc or sdd

also if i want to test my connection speed when im on the internet what command
would i use

any replies much appreciated
kev

sohail0399 02-02-2010 07:36 AM

for testing you NIC
you can use the command

sudo /sbin/ethtool eth0

or through root

/sbin/ethtool eth0

for internet speed most of the cases for ISPs DSL service they provide modem device
which has its own configuration and web interface, through which you can check downlink and uplink.

pixellany 02-02-2010 07:49 AM

Code:

dmesg | grep <keyword>
For <keyword>, try things like the vendor name, model #, or just the possible device names.


Speed test:
http://www.speakeasy.net/speedtest/

AwesomeMachine 02-02-2010 07:54 AM

If you plug in a flash drive, just run dmesg. The last 10 lines or so will tell you all about the flash device, and what device file it was assigned to.

I use bwmonitor to measure bandwidth. You may need to install it.


All times are GMT -5. The time now is 01:35 AM.