New to Linux and installed DSL, now what?

I forgot about wildcard!!!

Yes, busybox does support the -n option. I tried that, and it worked. The answer is not 4!!! It’s 424!!! Woohoo!!! Thankyouthankyouthankyou!!!

Edit because of double-post:
Oh, and if I had to cat only three of the four files (IE: leave out fstab), or put them in in a specific order (IE: hosts, then services, then motd), would I have to write:

cat hosts >> file1
cat services >> file1
cat motd >> file1
Then only go to:
cat -n file1
for the number of lines?

Yes… >> will append (add) to the bottom of the file.

Whereas > will overwrite the file.

So as long as file1 was empty (or didn’t exist), that would work… but just to be sure, it would probably be best to do:

cat hosts > file1
cat services >> file1
cat motd >> file1

if you see what I mean ?


Another way would be:

cat hosts services motd > file1

then

cat -n file1

or if you want the line numbers added to file1 itself:

cat -n hosts services motd > file1

I understand the “cat” function much better now. Thanks again, Mark.