Same Commands?

Booting, installing, newbie
Post Reply
Message
Author
Raybrite
Posts: 23
Joined: Wed 01 Jun 2011, 03:17

Same Commands?

#1 Post by Raybrite »

I have several books on Ubuntu 11.04 on my Kindle. There don't seem to be any inexpensive ones for Puppy 5.2.5.
I am wondering if the commands on the console for Ubuntu will work on the Puppy 525.
I really don't want to buy another book right now.

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

Re: Same Commands?

#2 Post by RetroTechGuy »

Raybrite wrote:I have several books on Ubuntu 11.04 on my Kindle. There don't seem to be any inexpensive ones for Puppy 5.2.5.
I am wondering if the commands on the console for Ubuntu will work on the Puppy 525.
I really don't want to buy another book right now.
The commands will depend on the shell being used. However, many (currently most?) systems seem to use Bash these days, so it's likely to be the same.

http://ss64.com/bash/

http://penguin.dcs.bbk.ac.uk/academic/u ... /index.php

You shouldn't need to buy any books, if you're willing to do some legwork and Google searches...
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#3 Post by Flash »

This might help: To see all the commands that a Puppy console can execute, open a console, maximize it (so it fills the whole screen), hit the Tab key twice, then the Y key. Hold down the Enter key after that until the last command is listed. Here's a partial result of doing this in a non-maximized console window in Puppy 245:

Code: Select all

# 
Display all 1466 possibilities? (y or n)
:                                      mkfs.reiser
!                                      mkfs.vfat
./                                     mkfs.vfat-BB-NOTUSED
[                                      mkisofs
[[                                     mklost+found
]]                                     mknod
{                                      mkntfs
}                                      mkpasswd
7za                                    mksquashfs
915resolution                          mksquashfs3
a52dec                                 mksquashfs4
abiword                                mkswap
accept                                 mkswap-BB-NOTUSED
aconnect                               mktemp
acpid-BB-NOTUSED                       mktemp-BB-NOTUSED
addgroup                               mkzftree
adduser                                mmc-tool
alias                                  modemdisconnect
alsa                                   modemprobe
alsaconf                               modemprobe_erase
alsactl                                modemprobe_help
alsamixer                              modem-stats
You should be able to find at least something out about any of the commands listed by typing the command followed by a space and then --help.
example: cp --help.

p310don
Posts: 1492
Joined: Tue 19 May 2009, 23:11
Location: Brisbane, Australia

#4 Post by p310don »

Raybrite,

I'm not sure what is and isn't interchangeable command line wise between Ubuntu and Puppy. A lot of command line stuff though, is Linux, rather than distro specific, and as such does work. The biggest difference between the two is Ubuntu uses the sudo command a lot, but, because Puppy is running as root, that is not necessary.

There was a book, in PDF format for an older Puppy, I think it was 4.21, that can give you some good insight in how to work things. I have a copy at home, but can't remember where I got it from. It is a free download.

See here though

http://puppylinux.org/main/Manual-English.htm

http://www.lulu.com/product/file-downlo ... 10/4204807


B.S.J.W.S
Posts: 2
Joined: Sat 24 Mar 2012, 20:33

sAME cOMMANDS

#6 Post by B.S.J.W.S »

The problem is :-- Just which formatting tool to use and what does ' BB ' reference . I want to format a 8GB TF stick on usb . I require both ext4 and vfat so that it can be accessed by Windows XP . I have given the three vfat partitions id 52 . Which mkfsvfat should I use ? Should I remove one of them as cruft , or is 'BB' going to break , after all we would not want miss ? To be faulty ?

Post Reply