Add new comment
|
If you're a windows user following the instructions, you have to use Firefox. If you use Internet Explorer or one of it's derivatives the script will format wrong when you copy it and won't run properly when you paste it into the command line with Putty of whichever program you're using. For example, the above script comes out like this when copied from IE: APPS="/bin/bash /bin/ls /bin/mkdir /bin/mv /bin/pwd /bin/rm /usr/bin/id /usr/bin/ssh /bin/ping /usr/bin/dircolors"for prog in $APPS; do cp $prog ./$prog # obtain a list of related libraries ldd $prog > /dev/null if [ "$?" = 0 ] ; then LIBS=`ldd $prog | awk '{ print $3 }'` for l in $LIBS; do mkdir -p ./`dirname $l` > /dev/null 2>&1 cp $l ./$l done fidone
Reply |




Recent comments
2 hours 10 min ago
7 hours 36 min ago
8 hours 38 min ago
9 hours 25 min ago
11 hours 31 min ago
11 hours 41 min ago
14 hours 11 min ago
15 hours 1 min ago
17 hours 37 min ago
18 hours 2 min ago