LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-02-2010, 06:30 AM   #1
kevmcool
Member
 
Registered: Dec 2009
Location: London
Distribution: CentOS
Posts: 36

Rep: Reputation: 15
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
 
Old 02-02-2010, 06:36 AM   #2
sohail0399
Member
 
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154

Rep: Reputation: 23
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.
 
Old 02-02-2010, 06:49 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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/
 
Old 02-02-2010, 06:54 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/initctl .. What is this device file for. misbahuddin Linux - General 1 11-13-2006 11:56 PM
how to check that any /dev/ device file in use b123coder Programming 2 04-08-2006 07:17 AM
Cannot read CD - no device assigned? arobinson74 Linux - Hardware 2 01-16-2006 07:47 PM
external cdrw assigned to /dev/uba instead of /dev/sr0 gchew Slackware 0 11-14-2004 03:22 AM
/dev (file type: socket device?) blackzone Linux - Networking 1 08-10-2004 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration