Tiny Core Linux

General TC => General TC Talk => Topic started by: Scooby on February 11, 2013, 02:28:17 PM

Title: Perl script
Post by: Scooby on February 11, 2013, 02:28:17 PM
I want to start Tiny Core micro . only commandline

Automatically run a perl script and then reboot

I was tryin Tiny core with gui to learn but gui didnt start - I boot from ISO on USB stick.

Since I am not really interested in GUI I wondered if there is commandline extension mangement
like sudo apt-get?

Where would you place a script to be executed at startup.

If I get it to work I'm thinkin remaster ISO but thats later.
Title: Re: Perl script
Post by: gerald_clark on February 11, 2013, 02:58:24 PM
http://tinycorelinux.net/
Please read core concepts and the wiki.
Title: Re: Perl script
Post by: Scooby on February 11, 2013, 03:18:14 PM
yeah I've read up some and tested some

I think I know now how to remaster and where to put startup script
I found tce to download packages from commandline.

I installed perl5.tcz

I run my script but gets message

"The selected directory contains no file!"

When I check the directory there is files? Am I missing any perl module?
I found 81 of em and installed some  but to no success?
Title: Re: Perl script
Post by: gerald_clark on February 11, 2013, 03:30:16 PM
Teaching perl programming / troubleshooting perl scripts is really  not the goal of the forum.
If you have a tiny core related question, we can address that.
Title: Re: Perl script
Post by: Scooby on February 11, 2013, 04:21:16 PM
Okay I dont want teaching in pearl anyway

the perlscript I was using was calling command below

Code: [Select]
filefrag

this seems not be present in TinyCore

No hits in search or google search in connection with tiny core?
Not found in repo

Is there some commandline utilitys package
Title: Re: Perl script
Post by: gerald_clark on February 11, 2013, 04:28:58 PM
filefrag is in e2fsprogs.tcz.
You really need to learn how to use the tce and apps utilities.
Title: Re: Perl script
Post by: Scooby on February 11, 2013, 04:44:32 PM
yep I found it also

But not via tce - it would give me no results on filefrag

Thanks for your patience
Title: Re: Perl script
Post by: gerald_clark on February 11, 2013, 05:28:47 PM
It is a provides, not tag.