


End of line differencesĪ small problem you may run into is that there is a difference between Linux and Windows in the way “end of line” is represented. This includes the way to search for text, the way to delete lines and much more. 'Ctrl' + 'G' will display some useful help information. 'Ctrl' + 'o' will write the file to disk (normally denoted as 'Save'). The main commands are listed at the bottom of the screen. You can move around the cursor using the arrow keys (given that there is text to move to). In this screen you can just start typing at the cursor. ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos This will start nano, and you will be presented with the following screen: So we can use the following to create a jobscript named mandelbrot]$ nano mandelbrot.sh nano will open this file, or start a new one if the file does not exist. Nano can be started with the name of a file as an argument. So you can always use this if other options are not available. The main advantage of nano is that it is a relatively simply to use editor, available on the command line. In contrary to the graphical MobaXterm editor, the file does not have to be temporarily copied to your local machine in order to edit it. There are several editors available for the Linux command line, which can be useful when you have to make a quick/simple change, or if you want to change a large file.

This can be achieved by using the 'q' (short for quit) key. The question you now probably have is how to leave less. To go back to the prevous occurence you can use uppercase 'N'. When you want to move to the next occurrence you use the 'n' key. If you for example type: '/software' followed by the Enter key, the text software will be searched for and highlighted. You can also use the PageUp and PageDown keys.Īnother useful feature is searching for text using the '/' key. When the window is open you can use the arrow keys on your keyboard to scroll up and down. Schweda,Ĭhristian Spieler, Cosmin Truta, Antoine Verheijen, Paul von Behren, Kai Uwe Rommel, Steve Salisbury, Dave Smith, Steven M. Miller, Sergio Monesi, Keith Owens, George Petrov, Greg Roelofs, Jean-loup Gailly, Hunter Goatley, Ed Gordon, Ian Gorman, Chris Herborth,ĭirk Haase, Greg Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz,ĭavid Kirschbaum, Johnny Lee, Onno van der Linden, Igor Mandrichenko, Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois, All rights reserved.įor the purposes of this copyright and license, "Info-ZIP" is defined as The definitive version of this document should be available atĬopyright (c) 1990-2007 Info-ZIP. This is version 2007-Mar-4 of the Info-ZIP license. This will open the file for reading in your terminal, starting at the top of the file. For longer files the command less is less LICENSE
