This is a discussion on /bin/sh and /sbin/depmod needed within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I need /bin/sh and /sbin/depmod to make some driver work. How do I get these (I know I am ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Gijs wrote: > I need /bin/sh and /sbin/depmod to make some driver work. How do I get these now, i *could* tell you to do this (as root): # cat /dev/null > /bin/sh # cat /dev/null > /sbin/depmod but i'm not sure you would take me seriously. anyway, you should *have* these files. your system is quite broken without them. > (I know I am lame yes, you are. > Tnx for the help i'm trying to think of the best way to point you to the place where you'll find the information you seek. i think mentioning the file MANIFEST.bz2 should be enough. then it'll be up to you to find that file, find out how to look at its contents, and find in it what you need to know. now go and do that. you will learn a lot. then when you've done that, ask and answer yourself these questions: why am i thinking that i don't have these files? what messages am i getting to make me think that? what symptoms? could there perhaps be another reason why i see those messages and those symptoms? might there be something else wrong? how can i find out whether i have those files? where is google? when you've done that, you've taken your first step on the road to Self-Reliance. and trust me, that's a nice little town, where life is good. teach a fish to man, and all that stuff, you know. -- Joost Kremers since when is vi an editor? a discussion on vi belongs in comp.tools.unusable or something... ;-) |
| |||
| Gijs wrote: > I need /bin/sh Good God! The guy has no shell! What on earth are you using to give commands to the OS? Punch cards? Smoke signals? ;p Try 'which bash' or 'which zsh'. Hell, cat /etc/shells and see'em all... /bin/sh is sometimes a soft link to the real shell. I use zsh (the Z shell!), but my /bin/sh links to bash. You can make it like: ln -s /bin/bash /bin/sh to put the link back, but I tend to think your path is not set, if you can't see a shell or depmod. -- -=-=-=-=-=-=-=-=-=-=-=The New Atr2.Ath.Cx=-=-=-=-=-=-=-=-=-=-= - jayjwa *Https Only* Mod-SSL / PGP Key / CA Onsite Was I helpful?: https://atr2.ath.cx/papers/affero.php What every Windows user needs: https://atr2.ath.cx/pub/pic.jpg Mail: jayjwa@hotspam.com Spam servers: listme@listme.dsbl.org /cgi-bin/ping-jay.cgi or finger for GPG & info /pub is public WWW directory Registered Linux fanatic #37 =-=-=-=-=-=-=-=Linux Tough.Powered By Slackware=-=-=-=-=-=-=-= |
| |||
| On 26 Oct 2003 21:25:16 GMT, Joost Kremers <joostkremers@yahoo.com> wrote: > > teach a fish to man That leaves me with very strange imagery in my head. :-) -- Mark Hill <usenet@mark.ukfsn.org> The address in the From: line is not read |
| |||
| On Sun, 26 Oct 2003 21:52:54 +0100, Gijs <gijs@members.ee> wrote: > I need /bin/sh and /sbin/depmod to make some driver work. How do I get these You most likely have these installed. (If you don't I'd be very worried). Try doing: $ ls -l /bin/sh $ ls -l /sbin/depmod in a shell. This should show that they are both on your system. Note that to run depmod properly, you need to be root. (That is why it is in /sbin and not /bin). -- Mark Hill <usenet@mark.ukfsn.org> The address in the From: line is not read |
| |||
| Mark Hill mark_usenet@yahoo.co.uk wrote: <snip> >> teach a fish to man > > That leaves me with very strange imagery in my head. :-) I think it's the fish that's always riding the bicycle in the other 'figure of Speech'. How does it type to get to the Man pages though? Specially adapted fins? -- Two Ravens "...hit the squirrel..." |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, Oct 26, 2003 at 01:25:16PM PST, Joost Kremers wrote in article <slrnbpoetj.ob6.joostkremers@j.kremers4.news.arnhe m.chello.nl>: > # cat /dev/null > /bin/sh > # cat /dev/null > /sbin/depmod UUOC # touch /bin/sh /sbin/depmod Jurgen. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/nazQ1ucXIiwNwbURAsLiAJ9s2fKFNddE57bQC2Nu3BKFJfEIbw CgmvXK G2OjmvApkcZ4khc1iE29jpA= =dC5S -----END PGP SIGNATURE----- |
| |||
| Jurgen Philippaerts wrote: > > On Sun, Oct 26, 2003 at 01:25:16PM PST, Joost Kremers wrote > in article <slrnbpoetj.ob6.joostkremers@j.kremers4.news.arnhe m.chello.nl>: > >> # cat /dev/null > /bin/sh >> # cat /dev/null > /sbin/depmod > > UUOC > > # touch /bin/sh /sbin/depmod not if they already exist, jurgen. (which they probably do. yes, i was being mean. ;-) -- Joost Kremers since when is vi an editor? a discussion on vi belongs in comp.tools.unusable or something... ;-) |
| ||||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jurgen Philippaerts <jurgen@see.my.pgp.key> wrote: >> # cat /dev/null > /bin/sh >> # cat /dev/null > /sbin/depmod > > UUOC > > # touch /bin/sh /sbin/depmod Actually, Joost's suggestion was deliberate as a great way of paralyzing a newbie's system. Touch doesn't have the same result. - -- George Georgakis - geeg AT tripleg net au - http://www.tripleg.net.au/ SlackBuild Central - http://slackpack.tripleg.net.au/ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com> iQA/AwUBP50kKElp3nJf7PixEQIVAwCfTwfwnjSYbamOJ47cQbgmJZ jRuZUAoKDZ c9jgBQbCKLWzvuGI0P4U9HyX =ELgl -----END PGP SIGNATURE----- |