Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: Evangelos on April 29, 2011, 02:24:03 PM
-
Hi all,
I check most of the TCL wiki to find answers (most of them are about UI operations)
My Questions (I need only answers for command line(ONLY) use, because I run my TCL pc via SSH)
1) How can I install an application i.e. something.tcz? OK
2) How can I list all the provided extensions/apps in command line? OK
3) How can I remove an extension/application ? OK
4) The default terminal is not bash, I installed bash, how can make bash the default terminal?
5) shutdown: exitcheck.sh shutdown and reboot: exitcheck.sh reboot commands
do they support backup before shutdown/reboot?
6) Which is the command for the backup? OK
I think that all the above questions are very useful for newbies who want to manage TCL remotely via SSH.
Thanks in advance,
Evangelos
-
4) The default terminal is not bash, I installed bash, how can make bash the default terminal?
bash is not a terminal, it is a command shell.
-
See the package manager cheat sheet on the wiki for 1/2.
-
5) shutdown: exitcheck.sh shutdown and reboot: exitcheck.sh reboot commands
do they support backup before shutdown/reboot?
6) Which is the command for the backup?
5) put 6) into it?
6) I use following command for backup in a terminal "filetool.sh -b". They the mydata.gz is automatically created at the right place (will overwrite the old one without asking)
-
Ok thanks for the 6).
If I correctly understand you said that I combine 5) and 6) commands?
-
4) The default terminal is not bash, I installed bash, how can make bash the default terminal?
bash is not a terminal, it is a command shell.
Be that as it may. You want to edit the "/etc/passwd" file and replace the shell command entry. Looks like they use "/bin/sh" out of the box, you'd replace that with "/usr/local/bin/bash" or whatever the full path is. Here's the passwd entry for user "tc": "tc:x:1001:50:Linux User,,,:/home/tc:/bin/sh". The stuff after the last colon is the default shell for the user "tc".
Then you'll have to make "/etc/passwd" persistent so it survives rebooting (I'm not 100% on how to do this, I'm actually trying to figure this part out myself for some other files).
eric
-
Then you'll have to make "/etc/passwd" persistent so it survives rebooting (I'm not 100% on how to do this, I'm actually trying to figure this part out myself for some other files).
This explains how to make /etc/shadow persistent. The same method should work.
http://wiki.tinycorelinux.net/wiki:passwd