Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 12-06-2004, 03:21 AM   #1
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
how to reload sbp2 module /Flush terminal command cache

after initiating the following command
su -c "/sbin/rmmod sbp2"
my iPod tells me it is now ok to disconnect. Problem being, I need to reboot before I can get linux to acknowledge the iPod is reconnected. I found a script which claims to rectify this problem called Upon reconnecting iPod it automatically goes to the Ok to disconnect screen, I run as root and it acknowledges my Epson printer, but finds no new devices (wishfully my firewire iPod). Next I thought maybe try loading sbp2 by hand. Must be doing it wrong because terminal window barks back
[root@]# modprob sbp2
bash: modprob: command not found
[root@]# insmod sbp2
insmod: can't read 'sbp2': No such file or directory


Figured it out, as you see I had no idea how to load a module by hand, just thought to see how Mandrake does it, and looked at my etc/modprobe.devfs file and voila not only did I get a spelling lesson (modprobe not modprob) I learned proper command:
# /sbin/modprobe sbp2
or better yet, as regular user:
su -c "/sbin/modprobe sbp2"
Anyway, tried it out and iPod found after loading module, without rebooting. I'm happy.

This does lead me to another problem though. As you can see I type all kinds of foolish crap into the terminal trying to figure out what works. I quite like using page up to find commands rather than remember them. Is there a way to clear the cache of commands, so I can flush out a huge number of bad commands and have it start fresh?

Last edited by Lakota; 12-06-2004 at 03:26 AM.
Old 12-07-2004, 03:08 PM   #2
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Original Poster
Rep: Reputation: 30
Ok, found that on my own now to. Any other newbies trying to flush cache, open .bash_history and delete the crap out using Kate or whatever.


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
how-to flush dns cache PlatinumRik Linux - Networking 6 07-27-2011 03:47 PM
flush my swap/ram? command? lefty.crupps Linux - General 34 04-02-2011 01:59 AM
sendmail, command to flush queue? glock19 Linux - Software 10 11-19-2010 12:23 AM
Display and Flush DNS cache click Linux - Networking 7 11-10-2009 02:00 PM
buffer/cache variable for free command... audibel Linux - Software 3 12-14-2007 03:54 PM

All times are GMT -5. The time now is 06:07 AM.

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