关于busybox的问题!!!
小弟开发一个嵌入式项目,文件系统是busybox1.0编译的,我的问题是:我自己写的一些shell脚本,在目标板上运行,系统不认识我的脚本,把我的脚本名称当成了命令,这是怎么回事啊?比如:脚本名称"mem_load"
$./mem_load
$-sh:./mem_load:not found
请大家指教!谢谢 检查一下文件属性,如果文件可执行,就是你的脚本开始部分没有指明它使用的shell. Have you check the working and you path setting Why not login by console telnet or something, and use ftpget fetch file from ftp server;
Another choice is by scp see http://support.real-time.com/linux/web/scp.html 好像要注意扩展名吧,必须为。sh的扩展名才可以用,我碰到这样的问题,另外就是可执行属性 及在脚本中注明使用的shell:#!/bin/sh
页:
[1]