Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 11 Dec 2017, 19:02
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Top Puppy Linux Tips
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15235
Location: Paradox Realm

PostPosted: Tue 22 Aug 2006, 08:15    Post subject:  Top Puppy Linux Tips  

Here are some of my top Puppy tips
what are yours?

What is the linux kernel?
The Linux kernel is the core of the Linux operating system.
To find out which version of the Linux kernel you are running,
type uname -r in console (see desktop).
Linux kernel info http://www.kernel.org∞

How do I change screen managers

ctrl + alt + backspace will take you to the prompt
then (assuming they are installed)

xwin JWM (this is the default - others must be installed)
xwin fv95wm
xwin xfce
xwin icewm
(xwin = xstart on other Linux systems)

How do I reboot my Puppy from the console?
reboot
shutdown -r now
You can also press (all at once) the control, alt and delete keys.

How do I shut down my Puppy from the console (are you feeling like A Linux Guru yet)?
ctrl + alt + backspace
poweroff

How do I remove/uninstall Lilo/Grub?
If you want to remove the Lilo or Grub boot loader from your system (if you are uninstalling linux etc) follow the procedures below:

For Windows 95/98 etc:
Use a dos boot disk and at the command prompt type:
fdisk /mbr

For Windows XP:
Boot off the XP Installation CD and go into rescue mode. From there run the command:
fixmbr

How do I change directories?
cd - Used to change directories
Usage: cd [directory]
Example: cd /root/my-documents/
Example: cd ../ (to move back one directory)
Example: cd (to return to your home directory)

How do I copy files?
cp - Used to copy files/directories from one location to another
Usage: cp file newlocation
Example: cp /home/joey/index.html /var/www/index.html
Example: cp /home/joey/* /var/www/ (this will copy everything in /home/joey to /var/www/)
For more information, in a terminal, type cp --help

How do I rename files?
mv - Used to move or rename files
Usage: mv file location (to move)
Usage: mv filename newfilename (to rename)
Example: mv index.html /var/www/index.html (to move)
Example: mv index.html index2.html (rename)
For more information, in a terminal, type mv --help

How do I list directory contents?
ls - To list the contents of a directory
Usage: ls [flags] directory
Example: ls (To list the current directory)
Example: ls /home/joey (To list the contents of /home/joey)
Example: ls -a (To list hidden files)
Example: ls -l (To list file/directory permissions and file sizes)
Example: ls -al /home/joey (To list all files and permissions in /home/joey)

How do I delete files?
Drag them from Rox to the trash
- they stay there until you empty the trash

How do I delete directories?
If you have ownership to the directory and the directory is empty, you can simply type rmdir directoryname to remove the directory. If the directory is not empty and you wish to simply delete it and all its contents, run rm -rf directoryname
Please be careful with the -rf flag, as it will remove everything in the specified directory including sub directories. With root access and the rm -rf command you can wipe out your entire system if you make an error.

How do I access my cdrom drive?
Click on "Drives"
or from the console
mount /dev/home/cdrom

How do I access my floppy drive?
mount /dev/home/fd0

How do I unzip a .tar.gz/.tgz file?
click on it
To extract .tar.gz or .tgz files, run the following command in a terminal:
tar -zxvf file.tar.gz (or file.tgz)
This will normally create a new directory based on the filename. If you want to extract a filename called file.tar (without the .gz) simply run:
tar -xvf file.tar

How do I unzip a .bz2 file?
click on it
To extract .bz2 files, run the following command in a terminal:
bunzip2 -dv file.bz2

How do I zip files?
Drag them from Rox to Pupzip icon on the desktop

How do I run a program?
Try: dillo, gimp, ical
from the console (command line terminal or CLI)

How do I check HD errors
fsck.ext2 -vfn /mnt/home/pup001

_________________
YinYana AI Buddhism

Last edited by Lobster on Fri 01 Sep 2006, 05:18; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13648
Location: Karlsruhe, Germany

PostPosted: Tue 22 Aug 2006, 09:20    Post subject:  

cp -ax copies folders recursivly including hidden files and overwriting existing ones.
It is my preferred method.
Mark
Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 12712
Location: Arizona USA

PostPosted: Tue 22 Aug 2006, 10:22    Post subject:  

What does recursively mean, in this context?
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13648
Location: Karlsruhe, Germany

PostPosted: Tue 22 Aug 2006, 10:52    Post subject:  

with all subfolders.

We often have the question:
"how do I copy files from devx_202.sfs" to a full harddisk-installation of Puppy 2.02?

Answer:
mkdir /root/mount
mount -o loop /mnt/hda1/devx_202.sfs /root/mount
cp -ax /root/mount/* /

This mounts the file, and then copies the contents completely to the harddisk, including subfolders, hidden files, and overwriting all existent ones.

Mark
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15235
Location: Paradox Realm

PostPosted: Tue 29 Aug 2006, 18:59    Post subject: Change default editor  

Want the simple "leafpad" as your default editor?

right click on the "edit" desktop icon
Select "File edit / Open as text"
change the line
exec geany "$@"
to
exec leafpad "$@"

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15235
Location: Paradox Realm

PostPosted: Fri 01 Sep 2006, 05:03    Post subject:  

Cool It took me a while to find my hard disk with Rox in Puppy 1.xx

Mnt/hda

on Puppy 2.xx running from CD

it is at

mnt/home

_________________
YinYana AI Buddhism

Last edited by Lobster on Fri 01 Sep 2006, 08:53; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
trapster


Joined: 28 Nov 2005
Posts: 2098
Location: Maine, USA

PostPosted: Fri 01 Sep 2006, 07:06    Post subject:  

Quote:
on Puppy 2.xx

it is at

mnt/home



It seems on my puppyoffice203CE frugal install that my hard drive is at:
/initrd/mnt/dev_ro1

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15235
Location: Paradox Realm

PostPosted: Fri 01 Dec 2006, 03:07    Post subject:  Puppytude
Subject description: Puppy Love
 

Develop Puppytude

A special 1 day course (just click on the chat icon on the Puppy desktop) and type in a good nickname will be happenning on 3rd Dec 2006

http://tmxxine.com/Wikka/wikka.php?wakka=PuppyLove

Puppytude - frisky kindness to all Penguins and ex-XP users goes a long way to making Puppy Fun Smile

It is part of BowWow - Puppy Geek Leet
http://puppylinux.org/wikka/BowWow

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4722
Location: Southeast Georgia, USA

PostPosted: Mon 18 Dec 2006, 10:22    Post subject: Re: Top Puppy Linux Tips  

Lobster wrote:
Here are some of my top Puppy tips
what are yours?


Could you add "How to make a symlinked icon on the desktop?"

Every now and then I want to create an icon on the desktop to open an app and I
never remember from occasion to occasion the correct steps.

I create a script.

I edit the script to point to the correct directory.

I edit the script with the correct instructions, e.g. "java -jar thingamablog.jar"

When I click it does nothing ... so I look closely and notice that my icon does
not have a symlink element so I missed that step.

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
TahrPup64 & Lighthouse64-b602 & JL64-603
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0427s ][ Queries: 14 (0.0037s) ][ GZIP on ]