opening bashrc file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RS02gnx3054
    Banned
    New Member
    • Mar 2010
    • 1

    opening bashrc file

    I have to run command called "bind_drive r", it's showing the command is not found.
    So, i need to make some changes in bashrc file, it's not getting opened.
    vi .bashrc

    I could open bashrc file by logging as root but still unable to make changes in it, so couldn't run bind_driver command yet.

    The thing is when enter "bind_drive r --list:
    terminal says: "command not found",

    Let's forget about bashrc.
    I want this command to run, may be it has to do sth with dependancy tree.
  • rski
    Recognized Expert Contributor
    • Dec 2006
    • 700

    #2
    You have to find where the program is and run command with full path
    Code:
    /path_to_file_bind_driver/bind_driver --list:
    of course it works if this soft is installed.

    Comment

    • Time
      New Member
      • Jan 2010
      • 77

      #3
      how come RS02gnx3054
      Banned is heading this post?
      It has been posted by me. How to do that?
      And why Banned is coming under this heading?

      Comment

      • Time
        New Member
        • Jan 2010
        • 77

        #4
        1. usbip@usbip-desktop:~/usbip-0.1.7 /src/cmd/.libs$ sudo ./bind_driver
        2. [sudo] password for usbip:
        3. Usage: bind-driver [OPTION]
        4. Change driver binding for USB/IP.
        5. --usbip busid make a device exportable
        6. --other busid use a device by a local driver
        7. --list print usb devices and their drivers
        8. --allusbip make all devices exportable

        1. usbip@usbip-desktop:~/usbip-0.1.7 /src/cmd/.libs$ sudo ./bind_driver --list
        2. List USB devices
        It's just describibg the option but not actually getting executed.

        1. usbip@usbip-desktop:~/usbip-0.1.7 /src/cmd/.libs$ sudo bind_driver --list
        2. sudo: bind_driver: command not found

        Comment

        Working...