Tiny Core Linux
General TC => General TC Talk => Topic started by: jhaveri_hiral on October 07, 2010, 01:42:54 PM
-
Hello ,,
When I start my Tiny Core Linux from Live USB, there appears 4 icons at the centre-bottom of the Desktop. these are for Exit, ATerm, App and Panel..
I want to that when I click on these icons, what are the commands that run in the Background???
Which files are getting executed and where are these located???
Thank You!! :)
-
Look at the files in /home/tc/.wmx, eg:
$ cat /home/tc/.wmx/Appbrowser
#!/bin/sh
exec appbrowser
-
Thanks for the reply.. :) :)
I already got these files, but I want to know from where does "appbrowser" gets executed in the following code :
#!/bin/sh
exec appbrowser
Even if we type appbrowser at the Terminal, it gets executed. So from where is this command located ??? ??? ???
-
which appbrowser
-
Even if we type appbrowser at the Terminal, it gets executed. So from where is this command located ??? ??? ???
If you enter: $ echo $PATH
..this will show you where tc looks for applications to execute if the full path to the application is not specified.
If you enter $ which appbrowser
..this will show you the full path of the first instance of "appbrowser" found in $PATH
-
@Juanito :
Thank you a lot for your reply.. The code that you gave worked well..
echo $PATH
I got the path from where commands like exittc, appbrowser, etc gets executed..
The path is following -->
/usr/bin
I changed their content and kept my script and hurray!! they are working...
So Thanks a lot... :D :D :D ;D