1 / 27

UNIX TERMINAL

UNIX TERMINAL. Knoppix Linux. Knoppix v. 3.6. Q: What exactly is Knoppix?

oakley
Download Presentation

UNIX TERMINAL

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. UNIX TERMINAL

  2. Knoppix Linux

  3. Knoppix v. 3.6 • Q: What exactly is Knoppix? • A: Knoppix is a bootable CD with a collection of GNU/Linux software, automatic hardware detection, and support for many graphics cards, sound cards, SCSI and USB devices and other peripherals. Knoppix can be used as a Linux demo, educational CD, rescue system, or adapted and used as a platform for commercial software product demos. It is not necessary to install anything.

  4. Q: What are the minimum system requirements? • A: Intel-compatible CPU (i486 or later), 16 MB of RAM for text mode, at least 96 MB for graphics mode with KDE (at least 128 MB of RAM is recommended to use the various office products), bootable CD-ROM drive, or a boot floppy and standard CD-ROM (IDE/ATAPI or SCSI), standard SVGA-compatible graphics card, serial or PS/2 standard mouse or IMPS/2-compatible USB-mouse.

  5. Q: Where did the name "Knoppix" come from? • A: Knoppix's inventor, Klaus Knopper.

  6. Q: How is Knoppix started? • A: To start the CD, set up the BIOS of your computer to boot off the CD, put the CD in the drive, and power up the computer. If your computer doesn't support this option, you have to use a boot disk. You can create this disk from the image in Knoppix/boot.img on the CD or order it using the web form. You can find additional information at this address regarding the Knoppix platform, or order a version specifically adapted for your project.

  7. Q: I have Microsoft Windows already, what should I do? • A: You can still boot and run Knoppix even if you have windows installed. Knoppix will not interfere with your windows install, when you are finished with Knoppix you can just remove the cd and you're back to your old windows.

  8. Q: I have linux already, what should I do? • A: You can still use Knoppix. Just remove the cd after use and you're back to your old linux.

  9. Q: What else is there to be aware of? • A: DISCLAIMER: THIS IS EXPERIMENTAL SOFTWARE. USE AT YOUR OWN RISK. KNOPPER.NET CAN NOT BE HELD LIABLE UNDER ANY CIRCUMSTANCES FOR DAMAGE TO HARDWARE OR SOFTWARE, LOST DATA, OR OTHER DIRECT OR INDIRECT DAMAGE RESULTING FROM THE USE OF THIS SOFTWARE. IN SOME COUNTRIES THE CRYPTOGRAPHIC SOFTWARE AND OTHER COMPONENTS ON THE CD ARE GOVERNED BY EXPORT REGULATIONS AND THUS MAY NOT BE FREELY COPIED IN THESE COUNTRIES AS IS OTHERWISE NORMAL FOR SOFTWARE UNDER THE GPL LICENSE. IF YOU DO NOT AGREE TO THESE CONDITIONS, YOU ARE NOT PERMITTED TO USE OR FURTHER DISTRIBUTE THIS SOFTWARE.

  10. The terminal type • Use set command to view the terminal type. • TERM=vt100 Here TERM is an environment variable. Another type: Local variable

  11. stty command • Command format: • stty –a {option} {metacharacterString <value>} • Example: (in standard Unix system)\ • stty -a • stty –a –echo – Don’t echo typed characters • stty –echo will do the same in our Linux bash shell • stty supports the modification over more than 100 different settings.

  12. File Editors – vi and emacs • The two most popular UNIX text editors are vi and emacs. • vi editor comes with every Unix/Linux and emacs doesn’t. • Bill Joy of Sun Microsystems, Inc., developed the vi editor for BSD UNIX at University of California at Berkeley. • Full name – visual editor

  13. vi editor • 1. Command Mode • 2. Text Entry Mode

  14. Text Entry Mode Commands • I – Text is inserted at the beginning of the cursor • i – Text is inserted in front of the cursor • A – Text is added to the end of the line. • a – Text is added after the cursor. • o – Text is added after the current line. • O – Text is added before the current line. • R – Text is replaced (overwritten).

  15. To switch between the two modes • ESC and a legal option of the Text entry mode. • d+w to delete a word • :3 d – delete the line 3. • *** Note the ‘ : ‘ in front of the command.

  16. Other options in command mode • 1, $ d – delete all of the lines in the file. • 2. 1,. d – delete all of the lines from the start of the file to the current line, inclusive. • .,$ d – delete all of the lines from the current line to the end of the file, inclusive.

  17. Searching under vi editor • Example: • 1. Search forward from current positionfor string www -- /www/ <enter> • 2. Search backward from current position for string linux -- ?linux? • 3. Repeat last search -- n • 4. Repeat last search in the opposite direction -- N

  18. Saving and loading files • 1. Save file as <name> :w <name> <enter> • 2. Save file with current name – w <enter> • 3. Save file with current name and exit— :wq <enter> or ZZ (without  :) • 4. Read in contents of another file at current position -- :r <filename> <enter> • 5. Editor file <name> instead of current file -- :e <filename> <enter> • 6. Save only certain lines to another file -- :<range> w <name> <enter>

More Related