Bash on Puppy lacking certain commands

Booting, installing, newbie
Post Reply
Message
Author
mihailolja1
Posts: 2
Joined: Mon 16 Jul 2018, 07:45
Location: UK

Bash on Puppy lacking certain commands

#1 Post by mihailolja1 »

Hello,

I'd love to use Puppy for learning the Linux command line, in particular to pass the Comptia Linux plus exam. (I have it installed on an ancient 10 yr old netbook device)

My issue is that many commands seem to be missing, lsdev for example or who-r.

Do I need to install something else and if so what?

Thanks in advance.

Mihailo

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#2 Post by Dingo »

Puppy provides a set of standard linux commands bundled with busybox. These have not all the switches of standard linux commands, to have these, you can compile or download the coreutils package

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#3 Post by greengeek »

Don't just use one distro.

If you plan to end up working in a server environment you will probably need to focus on a combination of Redhat (or CentOS as an easier variant) and also Debian because they are so different. (Redhat and Debian are the best examples of distros that use the very different RPM and DEB packages), but also work with Slackware because it teaches you to be more self reliant (doesn't contain bloat to do your work for you).

SUSE might also be worthwhile depending on your future employment choices.

There is also value in using Arch at the beginning (because it's documentation is great) but you may also want to get started with Ubuntu because it is bloated, broadly functional and helpful (the opposite of Slackware). Ubuntu will be mostly useful if you want to work in an informal, small business environment. Otherwise for Enterprise use - stick with the aforementioned major distros.

Puppy is a cutdown distro and will help you build a skinny system that does basic stuff but will lead you astray if you want to learn mainstream stuff.

mihailolja1
Posts: 2
Joined: Mon 16 Jul 2018, 07:45
Location: UK

That's great

#4 Post by mihailolja1 »

Thanks so much both of you for the advice.

I will look into coreutils and perhaps installing a very light version of Centos/Debian/Slackware on this ageing netbook.

And yes of course I will be experimenting with various distros, probably several VMs is the best way to go? That way I can test commands on various distros.

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#5 Post by tallboy »

Run busybox without options, as shown, and you'll get a list of available commands, but they again may have limited options.
Edit: they use arguments and functions, but you know what I try to say... :D
Attachments
shot.png
(37.58 KiB) Downloaded 131 times
True freedom is a live Puppy on a multisession CD/DVD.

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#6 Post by Mike Walsh »

@ tallboy:_

Yah, I agree, Olaf; easiest way to find out what commands are available. But it's still an impressive list for such a tiny OS, ain't it??

(Needless to say, core-utils would have to be compiled for the specific kernel you're using...)


Mike. :wink:

jafadmin
Posts: 1249
Joined: Thu 19 Mar 2009, 15:10

#7 Post by jafadmin »

Debian based distros use the "runlevel" command instead of "who -r", I think.

Post Reply