|
|
#46 | |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,122
Karma: 3854695
Join Date: Feb 2012
Device: Intel 4004
|
Quote:
On the Kindle, you are not running Bash, you are running Ash. On most distributions: /bin/busybox ash will get you an instance of the Ash command line shell. (Most distributions have it installed because their "create initramfs" tools need it.)
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
#47 | |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,122
Karma: 3854695
Join Date: Feb 2012
Device: Intel 4004
|
Quote:
Code:
-c, --no-create
do not create any files
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
Enthusiast
|
|
|
|
#48 | |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2012
Location: Cape Town
Device: Kindle Touch
|
Within the framework of my question, the differences between bash, ash and sh are pretty much a red herring.
Quote:
I think it's pretty obvious that we all know that a *FILE* is created, current time and date, zero size. The script, whether you feed it to bash or ash, looks for a *DIRECTORY* and if said directory is present, starts the ad-support screensaver. Hence my question, why create a *FILE*? Not that it's important, mind. Idle curiosity and all of that. |
|
|
|
|
|
#49 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,122
Karma: 3854695
Join Date: Feb 2012
Device: Intel 4004
|
You did not include that specific question in your original post.
I.E: A better question will get you a better answer on any forum.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
#50 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,410
Karma: 1358805
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.2.1
|
|
|
|
|
|
#51 |
|
Mayan Goddess
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,294
Karma: 4929663
Join Date: Dec 2011
Device: K3/K4/K5/PW
|
Just as a P.S., for completion / clarification: because a FILE with the given name already exists, that existing file can neither be read (=interpreted) as a DIRECTORY, nor can a directory with the same name be created.
|
|
|
|
|
#52 | |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,023
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
Quote:
The USB drive is vfat, which is not sensitive to case, which means that "FILE.TXT" and "file.txt" should be the same file. On my kindle with SSH, I created two files named file.txt and FILE.TXT. Both existed, and both were visible from windows, but good luck opening the second instance of what windows sees as the same filename. Depending on what tool used, a windows disk repair tool would probably report that as an error. I was able to delete this "file" from windows (twice). This is actually a bug in the kindle. It should be smart enough to know that a vfat is not case sensitive.
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() |
|
|
|
|
|
#53 |
|
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 20654
Join Date: Aug 2012
Device: Kindle Touch
|
Doesn`t work with 5.1.2 FW
|
|
|
|
|
#54 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 37
Karma: 132550
Join Date: Aug 2012
Device: Kindle Touch
|
my ad randomly came back today, attempting to remove them again -.-
|
|
|
|
|
#55 |
|
Mayan Goddess
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,294
Karma: 4929663
Join Date: Dec 2011
Device: K3/K4/K5/PW
|
Last edited by ixtab; 01-23-2013 at 08:52 PM. |
|
|
![]() |
| Tags |
| k_touch, pathartl, remove ads, yifanlu |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Extended Linux Functionality - GUI Launcher Kindle Touch | dasmoover | Kindle Developer's Corner | 41 | 02-11-2013 06:05 PM |
| K5 GUI Launcher for Kindle Touch | yifanlu | Kindle Developer's Corner | 299 | 01-24-2013 01:59 PM |
| android launcher | Mark.S | Kobo Tablets | 4 | 12-26-2011 05:11 PM |
| how to uninstall Go Launcher | joshualintag | Kindle Fire | 1 | 11-22-2011 07:46 AM |