|
|||||||||
|
|||||||||
|
|||
|
i am connected to iphone through winscp.
inadvertantly created some folder, how do i delet it? tried but alway get an error! 'Command 'rm -f -r "car"' failed with return code 127 and error message -sh: line 44: rm: command not found this is what i get! how to deal with it? thanks! |
|
|||
|
That's probably because you don't have rm installed on the iPhone. Have you installed the iPhone binaries kit?
The easiest way is to use Installer.app and install the BSD Subsystem package |
| Sponsored links Remove advertisements | |
|
|
|
|
|
|||
|
The answer to your problem is that you all dont have the bin-kit installed. Installing SSH is only one part, you need to copy over the entire bin-kit in its respective directories to gain access to commands like delete, chmod, etc. Without it you will get a command not found because those commands truly are not on the iphone bin.
Dixit |
|
|||
|
You may have the binkit installed, but your PATH environment variable is almost certainly not setup correctly.
just type this on the command line: export PATH=/bin:/usr/bin:/usr/sbin:/sbin:. Then, if you type 'rm file', it will either tell you that it can't find it (in which case, you dont have the binkit installed), or it will remove the file. If you dont setup the PATH env variable, try typing '/bin/rm file'. If that fails to run, then you certainly dont have it installed. Also, DO NOT use '-f -r' when using 'rm' if possible, it is a recursive delete which won't stop if it gets an error. If you typed 'rm -fr /' as root, wave goodbye to your stuff. To remove a directory, you should really type 'rmdir directory' unless it has things in, in which case just 'rm directory/* ; rmdir directory'. Good Luck! |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FW 2.x](2G&3G) DFU and recovery mode (getting in and out of) | volkspost | General | 36 | 01-16-2010 06:26 PM |
| [INFO] Various Mac/Unix Terminal Commands | DaxTsurugi | Genuine Mac Support | 11 | 02-09-2009 11:31 AM |
| Virginized but can't activate | amagab | Older Software Unlock Solution | 3 | 10-27-2007 05:18 AM |
| Uphuck 10.4.9 v1.3 - A different approach to installation -4- People who cant install | mysticusa | Archiv (Leopard) | 0 | 07-17-2007 04:07 AM |
| HOWTO: remote movie folder mounted in FRONTROW / BACKROW | cousincocaine | AppleTV | 0 | 04-11-2007 09:56 AM |
|
|