PuppyLinux : QuickDoc

PuppyLinuxMainPage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
* What is Linux?
Linux is an Open Source, free Operating System created by Linus Torvalds.

* 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 a terminal.
Linux kernel info http://www.kernel.org

* How do I change screen managers
xwin JWM
xwin fv95wm
xwin xfce
(xwin = xstart on other Linux systems)

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

* How do I shut down my Puppy?
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 move 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)
For more information, in a terminal, type man ls

* How do I delete files?
To delete a file you must first have write permission to it.
There is no "Recycle Bin" in Linux so once you delete a file, it's gone for good.
When removing files, you may use an astrix (*) as a wildcard flag to remove certain files, for example if I wanted to remove all files that began with the letter j, I would run rm j*
If anyone tells you to run rm -rf / as root, DO NOT LISTEN TO THEM. Running this command will delete all the files/directories on your Linux system.

* 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?
mount /dev/home/cdrom

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

* How do I unzip a .tar.gz/.tgz file?
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
For more information, in a terminal, type man tar

* How do I unzip a .bz2 file?
To extract .bz2 files, run the following command in a terminal:
bunzip2 -dv file.bz2
This will normally create a new directory based on the filename. For more information, in a terminal, type man buznip2

* How do I run a program?
Try: dillo, gimp, ical

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

CategoryDocumentation

There is one comment on this page. [Display comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0
Page was generated in 0.0751 seconds