Editing Files with Vi to End of Line Dd* :N D :Sh Shell out Delete Character (Open Shell) the World’S Best Text Editor Under/Left of Cursor X/X*

Total Page:16

File Type:pdf, Size:1020Kb

Editing Files with Vi to End of Line Dd* :N D :Sh Shell out Delete Character (Open Shell) the World’S Best Text Editor Under/Left of Cursor X/X* vi Modes and Commands vi [ filename ... ] Command summary delete search for pattern lines before/after cursor delete from cursor goto line n Editing Files With vi to end of line dd* :n D :sh shell out delete character (open shell) The World’s Best Text Editor under/left of cursor x/X* Command h,j,k,l,7,9,8,6 Mode move cursor insert at cursor / i/I* one space at first of line :w [name] save file a/A* (stay in editor) append after cursor / at EOL :q! o/O* exit without saving open new line below or above cursor save and exit ! 5 : 5 * may preceed command edit / insert last line ex mode Copyright © 1998-2005 Delroy A. Brinkerhoff. All Rights Reserved. with an integer count mode !cmd5 (command args 5 ) CS 1400 The vi Text Editor Slide 1 of 18 CS 1400 The vi Text Editor Slide 2 of 18 Starting and Stopping vi Cursor Movement Commands Opening and closing files Navigation Pvi is modal (2 to 4 modes depending on who is counting) Ph, 7, ©H move cursor left one character (© is control) < Command mode: all keystrokes are interpreted as directives < Insert: most keystrokes are entered into the document Pj, 9 move cursor down one line < ex: (sub-command mode) interprets commands that begin with : < Last line (access to Unix commands): !command 5 Pk, 8 move cursor up one line Starting vi: P vi [+position] [filename ...] Pl, 6, <space> move cursor right one character < position: line number (end of file if number is omitted), /pat or ?pat for first or last occurrence of pattern pat Pw, b move forward, backward one word < If no file name is given, name the file at save with :w filename < If multiple files are named, the next file is opened with :n PW, B forward, backward 1 space-delimited word PClosing vi Pe move cursor to end of word < :w write (save) file, stay in vi. :w filename write to file filename P$ move to the end of the line < :q! without saving < :wq or ZZ write (save) and quite P^ move to first non-white character on line CS 1400 The vi Text Editor Slide 3 of 18 CS 1400 The vi Text Editor Slide 4 of 18 Scrolling Commands Line Positioning Commands Changing the displayed text Rapid file navigation P©F scroll forward one screen P:n, nG goto line n (:37 or 37G moves cursor to line 37) P©D scroll down ½ screen P:1, 1G move to the first line in the file P©B scroll backward one screen P:$, G move to the last line in the file P©U scroll up ½ screen PH top line on screen P©E, ©Y scroll screen down, up one line PL last line on screen P© denotes a control character PM middle line on screen P+, - next, previous line at first non-white space char P5 next line at first non-white space (same as +) CS 1400 The vi Text Editor Slide 5 of 18 CS 1400 The vi Text Editor Slide 6 of 18 Misc Movement Commands Inserting Text With vi “Advanced” movement commands Editing commands (insert mode commands) P©G, :f5 print the current line number and file status PInserting and appending (entering insert mode) P), ( next, previous sentence < i or I: insert before cursor / at beginning of line < a or A: append after cursor / at end of line P}, { next, previous paragraph < o or O: open a new line below cursor / above cursor P] ], [ [ next, previous section or function PInsert mode commands P% find matching (, ), {, or } < ESC terminate (i.e., exit insert mode and return to command mode) Pma mark current line with letter a < 5 (enter) start a new line < ² (backspace) erase last character P`a move cursor to line marked a < ©W erase last word P'a move cursor to first non-white char on line marked < ©D backtab over outoindent with a (see above) < ^©D backtab to the beginning of the line < ©Vc insert non-printing character c CS 1400 The vi Text Editor Slide 7 of 18 CS 1400 The vi Text Editor Slide 8 of 18 Editing Commands Deleting Text With vi Changing existing text Deleting commands Pcw change word from cursor position to end of word Prc replace character under cursor with character c Px, X delete character under cursor or right of cursor PR replace all characters until <ESC> Pdd delete current line Pxp transpose two characters (delete followed by put) PD delete line (from cursor to end of line) PJ join current and next line (separated by a space) Pdw delete current word (from cursor to end of word) P. repeat last change or command PSUGGESTION: save before deleting large blocks of text PU undo changes on current line-- before line change Pu undo most recent change-- before line change Pp put most recently deleted text (right/below cursor) PP put most recently deleted text (left/above cursor) P~ toggle case of character under cursor CS 1400 The vi Text Editor Slide 9 of 18 CS 1400 The vi Text Editor Slide 10 of 18 vi File Commands Searching In vi Miscellaneous commands Locating text P :r file5 read and insert file at current cursor line P/pattern5 search from current position forward for pattern P ©G, :f5 show line number and file name P?pattern5 search from current position backward for pattern P :n5 edit next file in command line file name list P/5, ?5 search forward, backward for last pattern P :rew 5 rewind to the first file in the argument list Pn, N search forward, backward for last pattern file5 edit file P :e Pfc, Fc find (move to) next, previous character c P :e!5 reedit, discard changes Ptc, Tc move to character before next, following previous P :e#5 edit last file edited (toggles between two files) c P :e!#5 edit alternate file, discard changes P ; , repeat, repeat inverse of last f, F, t, or T CS 1400 The vi Text Editor Slide 11 of 18 CS 1400 The vi Text Editor Slide 12 of 18 Searching In vi vi Multiple Line Commands Continued Searching, replacing, and deleting over multiple lines PCommands work over an optional range where ni is line i PSearching metacharacters (magic characters) < . (dot) current line $ last line in file < ^ beginning of line < < $ end of line P:n1,n2s/pat1/pat2/[gc]5 (substitute pat2 for pat1) < . (dot) any character < g global: replace all occurrences on the line < [xyz] any one of x, y, or z < c confirm: y5 or n5 can be interrupted with control-C < [a-z] any character in the range a to z < :1,$s/counter/COUNTER/g < [^xyz] any character except x, y, or z < :.,$s/\/tmp/\/home/ < * repeat preceding pattern 0 or more times < :1,.s/counter//g < \c treat c as non-magic :n ,n d (delete lines) < \<, \> beginning, end of word P 1 2 < :1,.d < :.,$d PSUGGESTION: save before using these commands CS 1400 The vi Text Editor Slide 13 of 18 CS 1400 The vi Text Editor Slide 14 of 18 Cut, Copy and Paste In vi Cut and Paste Yank and put Continued Pvi has 35 “text buffers” named 1-9 and a-z PDelete commands (x, and dd) place text in a delete buffer PCopy or yank text lines to a buffer: "bnyy (text buffer 1) < " Double-quote character < b buffer name (1-9 and a-z) PText in a delete buffer can be “put” with p or P < n optional number of lines (1 is the default) < p to the right of or below the cursor < P to the left of or above the cursor PDelete text to a buffer: "bndd PRead an existing file into the current file at the current cursor PText in buffers persists between file changes (:n or :e) position with :r filename PText is put at the current cursor position with: "bp PThere are many other versions of these commands < for example: "nyw yanks n words < "ny is followed by a cursor movement command CS 1400 The vi Text Editor Slide 15 of 18 CS 1400 The vi Text Editor Slide 16 of 18 Configuring vi UNIX Shell Commands Settings Accessing Unix from within vi P:set all show current settings (and what can be set) P :sh5 run shell (©D kills shell and returns to vi) P:set ai set (turn on) autoindent mode P :!cmd5 run cmd, then return < :set noai turn off autoindent mode < use % as the current file name for cmd arguments P:set nu turn on line numbering (display only) < must save (i.e., :w5) before running command < :set nonuturn off line numbering < :!spell % run spell command on current file Pset commands (without the colon) can be placed in the P !!cmd5 replace current line with output of cmd configuration file $HOME/.exrc and read each time vi starts < The last line should not be followed by a new-line Pset commands can be placed in the environment variable EXINIT (e.g., setenv EXINIT "set ai" ) CS 1400 The vi Text Editor Slide 17 of 18 CS 1400 The vi Text Editor Slide 18 of 18 .
Recommended publications
  • Windows Command Prompt Cheatsheet
    Windows Command Prompt Cheatsheet - Command line interface (as opposed to a GUI - graphical user interface) - Used to execute programs - Commands are small programs that do something useful - There are many commands already included with Windows, but we will use a few. - A filepath is where you are in the filesystem • C: is the C drive • C:\user\Documents is the Documents folder • C:\user\Documents\hello.c is a file in the Documents folder Command What it Does Usage dir Displays a list of a folder’s files dir (shows current folder) and subfolders dir myfolder cd Displays the name of the current cd filepath chdir directory or changes the current chdir filepath folder. cd .. (goes one directory up) md Creates a folder (directory) md folder-name mkdir mkdir folder-name rm Deletes a folder (directory) rm folder-name rmdir rmdir folder-name rm /s folder-name rmdir /s folder-name Note: if the folder isn’t empty, you must add the /s. copy Copies a file from one location to copy filepath-from filepath-to another move Moves file from one folder to move folder1\file.txt folder2\ another ren Changes the name of a file ren file1 file2 rename del Deletes one or more files del filename exit Exits batch script or current exit command control echo Used to display a message or to echo message turn off/on messages in batch scripts type Displays contents of a text file type myfile.txt fc Compares two files and displays fc file1 file2 the difference between them cls Clears the screen cls help Provides more details about help (lists all commands) DOS/Command Prompt help command commands Source: https://technet.microsoft.com/en-us/library/cc754340.aspx.
    [Show full text]
  • Creating Rpms Guide
    CREATING RPMS (Student version) v1.0 Featuring 36 pages of lecture and a 48 page lab exercise This docu m e n t serves two purpose s: 1. Representative sample to allow evaluation of our courseware manuals 2. Make available high quality RPM documentation to Linux administrators A bout this m aterial : The blue background you see simulates the custom paper that all Guru Labs course w are is printed on. This student version does not contain the instructor notes and teaching tips present in the instructor version. For more information on all the features of our unique layout, see: http://ww w . g urulabs.co m /courseware/course w are_layout.php For more freely available Guru Labs content (and the latest version of this file), see: http://www.gurulabs.co m/goodies/ This sample validated on: Red Hat Enterprise Linux 4 & Fedora Core v3 SUSE Linux Enterprise Server 9 & SUSE Linux Professional 9.2 About Guru Labs: Guru Labs is a Linux training company started in 199 9 by Linux experts to produce the best Linux training and course w are available. For a complete list, visit our website at: http://www.gurulabs.co m/ This work is copyrighted Guru Labs, L.C. 2005 and is licensed under the Creative Common s Attribution- NonCom mer cial- NoDerivs License. To view a copy of this license, visit http://creativecom m o n s.org/licenses/by- nc- nd/2.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 943 0 5, USA. Guru Labs 801 N 500 W Ste 202 Bountiful, UT 84010 Ph: 801-298-5227 WWW.GURULABS.COM Objectives: • Understand
    [Show full text]
  • The Frege Programming Language ( Draft)
    The Frege Programming Language (Draft) by Ingo Wechsung last changed May 14, 2014 3.21.285 Abstract This document describes the functional programming language Frege and its implemen- tation for the Java virtual machine. Commonplace features of Frege are type inference, lazy evaluation, modularization and separate compile-ability, algebraic data types and type classes, pattern matching and list comprehension. Distinctive features are, first, that the type system supports higher ranked polymorphic types, and, second, that Frege code is compiled to Java. This allows for maximal interoperability with existing Java software. Any Java class may be used as an abstract data type, Java functions and methods may be called from Frege functions and vice versa. Despite this interoperability feature Frege is a pure functional language as long as impure Java functions are declared accordingly. What is or who was Frege? Friedrich Ludwig Gottlob Frege was a German mathematician, who, in the second half of the 19th century tried to establish the foundation of mathematics in pure logic. Al- though this attempt failed in the very moment when he was about to publish his book Grundgesetze der Arithmetik, he is nevertheless recognized as the father of modern logic among philosophers and mathematicians. In his essay Funktion und Begriff [1] Frege introduces a function that takes another function as argument and remarks: Eine solche Funktion ist offenbar grundverschieden von den bisher betrachteten; denn als ihr Argument kann nur eine Funktion auftreten. Wie nun Funktionen von Gegenst¨andengrundverschieden sind, so sind auch Funktionen, deren Argu- mente Funktionen sind und sein m¨ussen,grundverschieden von Funktionen, deren Argumente Gegenst¨andesind und nichts anderes sein k¨onnen.
    [Show full text]
  • Lenovo Flex System FC3171 8 Gb SAN Switch Command Line Interface User’S Guide This Document Explains How to Manage the Switch Using the CLI
    Flex System FC3171 8 Gb SAN Switch Command Line Interface User’s Guide Flex System FC3171 8 Gb SAN Switch Command Line Interface User’s Guide Note: Before using this information and the product it supports, read the general information in “Notices” on page 391. First Edition, April 2015 © Copyright Lenovo 2015. LIMITED AND RESTRICTED RIGHTS NOTICE: If data or software is delivered pursuant a General Services Administration “GSA” contract, use, reproduction, or disclosure is subject to restrictions set forth in Contract No. GS-35F-05925. Contents Chapter 1. Lenovo Flex System FC3171 8 Gb SAN Switch . 1 Related documentation . 1 Notices and statements in this document . 3 Chapter 2. Command line interface usage . 5 Logging in to the switch . 6 Opening and closing an Admin session . 7 Entering commands. 7 Getting help . 7 Setting page breaks . 8 Creating a support file. 9 Downloading and uploading files. 10 Chapter 3. User account configuration . 13 Displaying user account information . 14 Creating user accounts . 15 Modifying user accounts and passwords. 15 Chapter 4. Network and fabric configuration . 17 Displaying the Ethernet network configuration . 17 Displaying name server information . 18 Configuring the Ethernet port . 19 IPv4 configuration . 19 IPv6 configuration . 20 DNS server configuration . 21 Verifying a switch in the network . 22 Verifying and tracing Fibre Channel connections . 22 Managing IP security. 23 IP security concepts . 24 Legacy and Strict security . 24 Security policies and associations . 24 IKE peers and policies . 25 Public key infrastructure . 25 Displaying IP security information . 25 Policy and association information . 25 IKE peer and policy information . 26 Public key infrastructure information .
    [Show full text]
  • PS TEXT EDIT Reference Manual Is Designed to Give You a Complete Is About Overview of TEDIT
    Information Management Technology Library PS TEXT EDIT™ Reference Manual Abstract This manual describes PS TEXT EDIT, a multi-screen block mode text editor. It provides a complete overview of the product and instructions for using each command. Part Number 058059 Tandem Computers Incorporated Document History Edition Part Number Product Version OS Version Date First Edition 82550 A00 TEDIT B20 GUARDIAN 90 B20 October 1985 (Preliminary) Second Edition 82550 B00 TEDIT B30 GUARDIAN 90 B30 April 1986 Update 1 82242 TEDIT C00 GUARDIAN 90 C00 November 1987 Third Edition 058059 TEDIT C00 GUARDIAN 90 C00 July 1991 Note The second edition of this manual was reformatted in July 1991; no changes were made to the manual’s content at that time. New editions incorporate any updates issued since the previous edition. Copyright All rights reserved. No part of this document may be reproduced in any form, including photocopying or translation to another language, without the prior written consent of Tandem Computers Incorporated. Copyright 1991 Tandem Computers Incorporated. Contents What This Book Is About xvii Who Should Use This Book xvii How to Use This Book xvii Where to Go for More Information xix What’s New in This Update xx Section 1 Introduction to TEDIT What Is PS TEXT EDIT? 1-1 TEDIT Features 1-1 TEDIT Commands 1-2 Using TEDIT Commands 1-3 Terminals and TEDIT 1-3 Starting TEDIT 1-4 Section 2 TEDIT Topics Overview 2-1 Understanding Syntax 2-2 Note About the Examples in This Book 2-3 BALANCED-EXPRESSION 2-5 CHARACTER 2-9 058059 Tandem Computers
    [Show full text]
  • RL78/G23 Unique ID Read Driver Introduction Each RL78/G2x Chip Is Programmed with a Unique ID
    Application Note RL78/G23 Unique ID Read Driver Introduction Each RL78/G2x chip is programmed with a unique ID. The unique ID can be used to prevent unauthorized use of software IP and is useful for managing products individually. This application note presents unique ID usage examples and describes how to use the unique ID read driver. The driver reads the 16-byte unique ID and 9-byte product name stored as ASCII code in the extra area and writes them to a specified area. Target Device RL78/G23 When using this application note with other Renesas MCUs, careful evaluation is recommended after making modifications to comply with the alternate MCU. R20AN0615EJ0100 Rev.1.00 Page 1 of 14 Apr.13.21 RL78/G23 Unique ID Read Driver Contents 1. Overview .................................................................................................................................... 3 1.1 About This Application Note .................................................................................................................... 3 1.2 Confirmed Operation Environment .......................................................................................................... 3 2. About the Unique ID .................................................................................................................. 5 2.1 Unique ID Specifications ......................................................................................................................... 5 2.2 Unique ID Usage Examples ...................................................................................................................
    [Show full text]
  • UEFI Shell Specification
    UEFI Shell Specification January 26, 2016 Revision 2.2 The material contained herein is not a license, either expressly or impliedly, to any intellectual property owned or controlled by any of the authors or developers of this material or to any contribution thereto. The material contained herein is provided on an "AS IS" basis and, to the maximum extent permitted by applicable law, this information is provided AS IS AND WITH ALL FAULTS, and the authors and developers of this material hereby disclaim all other warranties and conditions, either express, implied or statutory, including, but not limited to, any (if any) implied warranties, duties or conditions of merchantability, of fitness for a particular purpose, of accuracy or completeness of responses, of results, of workmanlike effort, of lack of viruses and of lack of negligence, all with regard to this material and any contribution thereto. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." The Unified EFI Forum, Inc. reserves any features or instructions so marked for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. ALSO, THERE IS NO WARRANTY OR CONDITION OF TITLE, QUIET ENJOYMENT, QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION OR NON-INFRINGEMENT WITH REGARD TO THE SPECIFICATION AND ANY CONTRIBUTION THERETO. IN NO EVENT WILL ANY AUTHOR OR DEVELOPER OF THIS MATERIAL OR ANY CONTRIBUTION THERETO BE LIABLE TO ANY OTHER PARTY FOR THE COST OF PROCURING SUBSTITUTE GOODS OR SERVICES, LOST PROFITS, LOSS OF USE, LOSS OF DATA, OR ANY INCIDENTAL, CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL DAMAGES WHETHER UNDER CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY WAY OUT OF THIS OR ANY OTHER AGREEMENT RELATING TO THIS DOCUMENT, WHETHER OR NOT SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
    [Show full text]
  • Standard TECO (Text Editor and Corrector)
    Standard TECO TextEditor and Corrector for the VAX, PDP-11, PDP-10, and PDP-8 May 1990 This manual was updated for the online version only in May 1990. User’s Guide and Language Reference Manual TECO-32 Version 40 TECO-11 Version 40 TECO-10 Version 3 TECO-8 Version 7 This manual describes the TECO Text Editor and COrrector. It includes a description for the novice user and an in-depth discussion of all available commands for more advanced users. General permission to copy or modify, but not for profit, is hereby granted, provided that the copyright notice is included and reference made to the fact that reproduction privileges were granted by the TECO SIG. © Digital Equipment Corporation 1979, 1985, 1990 TECO SIG. All Rights Reserved. This document was prepared using DECdocument, Version 3.3-1b. Contents Preface ............................................................ xvii Introduction ........................................................ xix Preface to the May 1985 edition ...................................... xxiii Preface to the May 1990 edition ...................................... xxv 1 Basics of TECO 1.1 Using TECO ................................................ 1–1 1.2 Data Structure Fundamentals . ................................ 1–2 1.3 File Selection Commands ...................................... 1–3 1.3.1 Simplified File Selection .................................... 1–3 1.3.2 Input File Specification (ER command) . ....................... 1–4 1.3.3 Output File Specification (EW command) ...................... 1–4 1.3.4 Closing Files (EX command) ................................ 1–5 1.4 Input and Output Commands . ................................ 1–5 1.5 Pointer Positioning Commands . ................................ 1–5 1.6 Type-Out Commands . ........................................ 1–6 1.6.1 Immediate Inspection Commands [not in TECO-10] .............. 1–7 1.7 Text Modification Commands . ................................ 1–7 1.8 Search Commands .
    [Show full text]
  • Fibre Channel Host Bus Adapter Diagnostics Profile DSP1104
    1 2 Document Number: DSP1104 3 Date: 2011-12-15 4 Version: 1.0.0 5 Fibre Channel Host Bus Adapter Diagnostics 6 Profile 7 Document Type: Specification 8 Document Status: DMTF Standard 9 Document Language: en-US Fibre Channel Host Bus Adapter Diagnostics Profile DSP1104 10 Copyright notice 11 Copyright © 2012 Distributed Management Task Force, Inc. (DMTF). All rights reserved. 12 DMTF is a not-for-profit association of industry members dedicated to promoting enterprise and systems 13 management and interoperability. Members and non-members may reproduce DMTF specifications and 14 documents, provided that correct attribution is given. As DMTF specifications may be revised from time to 15 time, the particular version and release date should always be noted. 16 Implementation of certain elements of this standard or proposed standard may be subject to third party 17 patent rights, including provisional patent rights (herein "patent rights"). DMTF makes no representations 18 to users of the standard as to the existence of such rights, and is not responsible to recognize, disclose, 19 or identify any or all such third party patent right, owners or claimants, nor for any incomplete or 20 inaccurate identification or disclosure of such rights, owners or claimants. DMTF shall have no liability to 21 any party, in any manner or circumstance, under any legal theory whatsoever, for failure to recognize, 22 disclose, or identify any such third party patent rights, or for such party’s reliance on the standard or 23 incorporation thereof in its product, protocols or testing procedures. DMTF shall have no liability to any 24 party implementing such standard, whether such implementation is foreseeable or not, nor to any patent 25 owner or claimant, and shall have no liability or responsibility for costs or losses incurred if a standard is 26 withdrawn or modified after publication, and shall be indemnified and held harmless by any party 27 implementing the standard from any and all claims of infringement by a patent owner for such 28 implementations.
    [Show full text]
  • Computation Reuse and Efficient Weight Storage For
    CREW: Computation Reuse and Efficient Weight Storage for Hardware-accelerated MLPs and RNNs Marc Riera, Jose-Maria Arnau, Antonio Gonzalez Abstract—Deep Neural Networks (DNNs) have achieved 100% 90% DS2 tremendous success for cognitive applications. The core operation 80% GNMT in a DNN is the dot product between quantized inputs and 70% Transformer 60% weights. Prior works exploit the weight/input repetition that Kaldi arises due to quantization to avoid redundant computations in 50% Input Input (%) Neurons PTBLM Convolutional Neural Networks (CNNs). However, in this paper 40% 30% we show that their effectiveness is severely limited when applied 20% to Fully-Connected (FC) layers, which are commonly used in 10% Cumulative Cumulative state-of-the-art DNNs, as it is the case of modern Recurrent 0% 0 36 96 12 24 48 60 72 84 156 216 120 132 144 168 180 192 204 228 240 252 Neural Networks (RNNs) and Transformer models. 108 To improve energy-efficiency of FC computation we present Unique Weights CREW, a hardware accelerator that implements Computation Fig. 1: Cumulative distribution of the unique weights per input Reuse and an Efficient Weight Storage mechanism to exploit the large number of repeated weights in FC layers. CREW neuron from all the FC layers of DeepSpeech2 [2], GNMT [1], first performs the multiplications of the unique weights by their Transformer [12], Kaldi [13] and PTBLM [14]. respective inputs and stores the results in an on-chip buffer. The storage requirements are modest due to the small number tures. Our proposal is motivated by the fact that state-of- of unique weights and the relatively small size of the input the-art models for sequence-to-sequence problems are either compared to convolutional layers.
    [Show full text]
  • L S Lenov SAN S Vo Th Switc Inksy H Ystem M DB6 620S FC
    Lenovo ThinkSystem DB620S FC SAN Switch Ultradense, highly scalable, midrange storage switch Admministrators can achieve optimal bandwidth <page and image anchors utilization, high availability and load balancing by combining up to eight ISLs in a 256Gbps framed-based trunk. This can be achieved through eight individual 322Gbps SFP+ ports or two 4×32Gbps QSFP ports. Moreover, exchange-based Dynamic Path Selection (DPS) optimizes fabric-wide performance and load balancing by automatically routing data to the most efficient, available path in the fabric. This augments ISL Trunking to provide more effective load balancing in certain configurations. U ltradense, Highly Scalable The Lenovo ThinkSystem DB620S Fibre Channel SAN Simplify Management S witch is built for maximum flexibility, scalability and ease of use. Organizations can scale from 24 to 64 Deesigned for maximum flexibility and value, this ports with 48 SFP+ and four Q-Flex ports, all in an enterprise-class switch offers “pay-as-you-grow” e fficient 1U package. In addition, a simplified scalability with ports on demand (PoD) capability. deployment process and a point-and-click user interface Organizations can quickly, easily and cost-effectively m ake the ThinkSystem DB620S easy to use. With the scale from 24 to 64 ports with a combination of 12-port ThinkSystem DB620S, organizations gain the best of SFP+ PoD and 16-port Q-Flex PoD. Each of the 48 SFP+ b oth worlds: high-performance access to industry- porrts supports 4, 8, 10, 16 and 32Gbps FC speeds, leading storage technology and “pay-as-you-grow” whhile each of the four Q-Flex ports is capable of scalability to support an evolving storage environment.
    [Show full text]
  • Unix Login Profile
    Unix login Profile A general discussion of shell processes, shell scripts, shell functions and aliases is a natural lead in for examining the characteristics of the login profile. The term “shell” is used to describe the command interpreter that a user runs to interact with the Unix operating system. When you login, a shell process is initiated for you, called your login shell. There are a number of "standard" command interpreters available on most Unix systems. On the UNF system, the default command interpreter is the Korn shell which is determined by the user’s entry in the /etc/passwd file. From within the login environment, the user can run Unix commands, which are just predefined processes, most of which are within the system directory named /usr/bin. A shell script is just a file of commands, normally executed at startup for a shell process that was spawned to run the script. The contents of this file can just be ordinary commands as would be entered at the command prompt, but all standard command interpreters also support a scripting language to provide control flow and other capabilities analogous to those of high level languages. A shell function is like a shell script in its use of commands and the scripting language, but it is maintained in the active shell, rather than in a file. The typically used definition syntax is: <function-name> () { <commands> } It is important to remember that a shell function only applies within the shell in which it is defined (not its children). Functions are usually defined within a shell script, but may also be entered directly at the command prompt.
    [Show full text]