Unix Technical Forum

/bin/sh and /sbin/depmod needed

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 07:11 PM
Gijs
 
Posts: n/a
Default /bin/sh and /sbin/depmod needed

I need /bin/sh and /sbin/depmod to make some driver work. How do I get these
(I know I am lame )

Tnx for the help


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 07:11 PM
Gijs
 
Posts: n/a
Default Re: /bin/sh and /sbin/depmod needed

It is for distro Slackware 9.1


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 07:11 PM
Joost Kremers
 
Posts: n/a
Default Re: /bin/sh and /sbin/depmod needed

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... ;-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 07:12 PM
@micro$oft.com
 
Posts: n/a
Default Re: /bin/sh and /sbin/depmod needed

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=-=-=-=-=-=-=-=



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 07:13 PM
Mark Hill
 
Posts: n/a
Default Re: /bin/sh and /sbin/depmod needed

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 07:13 PM
Mark Hill
 
Posts: n/a
Default Re: /bin/sh and /sbin/depmod needed

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-18-2008, 07:14 PM
Two Ravens
 
Posts: n/a
Default Re: /bin/sh and /sbin/depmod needed

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..."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-18-2008, 07:15 PM
Jurgen Philippaerts
 
Posts: n/a
Default Re: /bin/sh and /sbin/depmod needed

-----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-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-18-2008, 07:15 PM
Joost Kremers
 
Posts: n/a
Default Re: /bin/sh and /sbin/depmod needed

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... ;-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-18-2008, 07:15 PM
George Georgakis
 
Posts: n/a
Default Re: /bin/sh and /sbin/depmod needed

-----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-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:09 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com