Find the answer to your Linux question:
Results 1 to 4 of 4
hai, when iam doing kernel programming and when iam trying to see the information of what modules are already loaded.. these command are not working. lsmod modinfo insmod when i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Oct 2006
    Posts
    107

    problem with kernel commands


    hai,

    when iam doing kernel programming and when iam trying to see the information of what modules are already loaded..

    these command are not working.

    lsmod
    modinfo
    insmod

    when i type these commands , it shows me command not found.

    can anybody help me. pls


    Thanx

  2. #2
    Linux Enthusiast
    Join Date
    Aug 2006
    Posts
    631
    You must execute these commands as root.

    Regards

  3. #3
    Linux User fernape's Avatar
    Join Date
    Dec 2005
    Location
    Holland
    Posts
    301
    Quote Originally Posted by Franklin52
    You must execute these commands as root.
    Not accurate.

    Try in /sbin/

    If you want, you can add that directory to your $PATH variable.

    Best Regards

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie burntfuse's Avatar
    Join Date
    Nov 2006
    Location
    Laurel, MD
    Posts
    158
    True, but you do have to be root to use insmod (or modprobe or rmmod, for that matter).
    I have sold my soul to the penguin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •