Week -9 vim contd.. and System Configuration tools.

Презентация:



Advertisements
Похожие презентации
Running Commands & Getting Help. Running Commands Commands have the following syntax: command options arguments Each item is separated by a space Options.
Advertisements

Unit 3 Text Processing and System Configuration tools.
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Managing Your Network Environment Managing Cisco Devices.
Standard I/O and Pipes. Standard Input and Output Linux provides three I/O channels to Programs Standard input (STDIN) - keyboard by default Standard.
© 2006 Cisco Systems, Inc. All rights reserved. CIPT1 v Administration of Cisco Unified CallManager Release 5.0 Implementing Disaster Recovery.
COMPUTERS 1. Computers and computer equipment. screen/monitor CD-ROM drive printer floppy disc mouse mouse pad/mat modem floppy disc drive CD-ROMS keyboard.
Using Bash Shell. Command Line Shortcuts File Globbing Globbing is wildcard expansion: * - matches zero or more characters ? - matches any single character.
© 2006 Cisco Systems, Inc. All rights reserved. CIPT1 v Deployment of Cisco Unified CallManager Release 5.0 Endpoints Configuring Cisco Unified CallManager.
PAT312, Section 21, December 2006 S21-1 Copyright 2007 MSC.Software Corporation SECTION 21 GROUPS.
© 2006 Avaya Inc. All rights reserved. Embedded File Management and SD-Card Handling.
USB Download Manual (v1.3) (GP2 Year 2010) LG Electronics/ LCD TV Division Feb. 17 th, Applied Models & Notice - File Copy - User Download Mode.
© 2005, Cisco Systems, Inc. All rights reserved. IPS v Lesson 4 Using IPS Device Manager.
© 2006 Cisco Systems, Inc. All rights reserved. SND v Configuring a Cisco IOS Firewall Configuring a Cisco IOS Firewall with the Cisco SDM Wizard.
© 2009 Avaya Inc. All rights reserved.1 Chapter Two, Voic Pro Components Module Two – Actions, Variables & Conditions.
S15-1 PAT318, Section 15, March 2005 SECTION 15 MSC.PATRAN FILES.
© 2004, Cisco Systems, Inc. All rights reserved. CSIDS Lesson 7 Using the Intrusion Detection System Device Manager to Configure the Sensor.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Applying Route-Maps as BGP Filters.
© 2005 Cisco Systems, Inc. All rights reserved.INTRO v Operating and Configuring Cisco IOS Devices Configuring a Router.
© 2006 Cisco Systems, Inc. All rights reserved.CIPT2 v Monitor and Manage IP Telephony Introducing Cisco Unified CallManager Serviceability.
Copyright CCNA 2 Chapter 12 Configuring a Router By Your Name.
Транксрипт:

Week -9 vim contd.. and System Configuration tools

Put (paste), Undoing changes P or p – paste copied or deleted data p - puts the data below the current line or after the cursor P – puts the data above the current line or before the cursor Undoing changes: Command Mode u – undo most recent change U – undo all changes to the current line since the cursor landed on the line Ctrl-r – redo last undone change

Visual mode Allows selection of blocks of text v – starts character-oriented highlighting V – starts line-oriented highlighting Activated with mouse in gvim visual keys can be used in conjunction with movement keys: w, ), }, arrows etc Highlighted text can be deleted, yanked, changed or filtered, search/replaced etc.

Using multiple windows Multiple documents can be viewed in a single vim screen ctrl-w, s splits the screen horizontally ctrl-w, v splits the screen vertically ctrl-w, Arrow moves between windows Ex-mode instructions always affect the current window :help windows displays more window commands

Configuring vi and vim Configuring on the fly :set or :set all Configuring permanently ~/.vimrc or ~/.exrc A few common configuration items :set number :set autoindent :set textwidth=65 (vim only) :set wrapmargin = 15 :set ignorecase Run :help option-list for a complete list

System Configuration tools

system-config-printer System ->Administration ->printer Supported printer connections: Local (parallel, serial or usb) Unix/Linux print server Windows print server Netware print server HP JetDirect Configuration stored in /etc/cups/printers.conf

Printing Commands Ipr sends a job to the queue to be printed Accepts ASCII, PostScript, PDF, others Ipq views the contents of the queue Iprm removes a job from the queue System V printing commands such as lp, lpstat and cancel are also supported.

Printing Utilities evince views PDF documents lpstat –a lists configured printers enscript and a2ps convert text to PostScript ps2pdf converts PostScript to PDF mpage prints multiple pages per sheet

Setting the Systems Date and Time GUI: system-config-date System->Administration->Date & Time Can set date/time manually or use NTP Additional NTP servers can be added Can use local time or UTC CLI: date [MMDDhhmm[[CC]YY][.ss]] #date #date