Discuss how to delet the file or folder in SSH mode? at the General - Hackint0sh.org; i am connected to iphone through winscp.
inadvertantly created some folder, how do i delet ...
-
how to delet the file or folder in SSH mode?
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!
-
-
Same here!
I add 2 modded .bat files to the Phone and now i cant delate tham with the same error
-
-
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
-
Senior Professional
Array
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
-
-
Senior Professional
Array
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!
Similar Threads
-
By neamuu in forum Hardware Unlock
Replies: 3
Last Post: 12-16-2009, 02:23 PM
-
By khaledome in forum Tools
Replies: 3
Last Post: 10-13-2007, 07:50 PM
-
By woody_net in forum iPhone "2G" (Rev. 1)
Replies: 4
Last Post: 10-08-2007, 03:07 PM
-
By 20LEGEND in forum General
Replies: 4
Last Post: 09-22-2007, 01:41 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks