Portál AbcLinuxu, 25. prosince 2025 17:41
rm /bin/sh odstraní ten link...
$ ls -l /bin/sh lrwxrwxrwx 1 root root 4 2006-12-16 15:02 /bin/sh -> bash
/bin/sh. Pak chci teda videt jak bude upravovat hlavicky u vsech skriptu
ktery maj #!/bin/sh na #!/bin/bash
/etc/passwd
PS: Bash je TAKY shell!!
/etc/passwd
/bin ls, cat, cp, rm, chmod, chown atd.. a nejsou to jenom linky na busybox, tak by tam ten bash jet mohl.
ipkg install bash

na to aby to umelo tolik veci (myslim ten router). No nic, diky za info.
[root@wl-500gp root]$ ll /bin/sh lrwxrwxrwx 1 root root 7 Nov 6 14:08 /bin/sh -> busybox
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.