Tiny Core Base > Micro Core
Microcore commands
Colin:
I hope I'm not being ignorant & that I won't get an angry response, but is there an easy way of listing all commands available in Microcore so I can > them into command.txt? I've tried tab tab but they scroll past too fast, & compgen doesn't seem to work.
Colin
:-[
curaga:
I don't think there is. "help" will list only busybox executables, otherwise maybe "ls /usr/bin" for all PATH directories?
Do you know you can scroll in a shell by shift-page up?
core-user:
I often make a quick listing of programs available on new systems, here's how I do it.
--- Code: --- ls -C /bin /sbin /usr/bin /usr/sbin /usr/local/bin >> progs
--- End code ---
This uses the -C option to arrange the output into columns.
(Use less progs to view.)
8)
Colin:
Sorry for the delay in getting back, but thanks both!
There do seem to be a lot of commands & executables I don't need, is it easy to get rid of them please?
And do you think MC can be stripped down to 999kb or less?
Thanks again
Colin :-\
Misalf:
Many of the builtin commands are just symlinks to busybox.
--- Code: ---ls -l /bin /sbin /usr/bin /usr/sbin /usr/local/bin | grep busybox
--- End code ---
/usr/local/bin/mc is just 972K
mcdiff, mcedit, mcview are the same size though, and seem to actually be just copies of mc . I wonder if those would work if they where just symlinked to mc just like with busybox.
EDIT:
Yep, that works. mc.tcz could be repacked using symlinks for mcdiff, mcedit, mcview .
However, this doesn't reduce the size of mc.tcz . I guess squashfs is smart enough to detect duplicates.
Navigation
[0] Message Index
[#] Next page
Go to full version