Mainos / Advertisement:

Ero sivun ”Nano/en” versioiden välillä

Kohteesta Taisto
Siirry navigaatioon Siirry hakuun
(Ak: Uusi sivu: Command listing in nano is simply shown on the bottom of the text editor. The ^ symbol means the CTRL key on your keyboard.)
(Ak: Uusi sivu: * CTRL + G = Get help * CTRL + X = Exit (Close file) * CTRL + O = WriteOut * CTRL + J = Justify * CTRL + R = Read File * CTRL + W = Where is (Fetch from file) ...)
Rivi 34: Rivi 34:
  
 
* CTRL + G = Get help
 
* CTRL + G = Get help
* CTRL + X = Exit (sulje tiedosto)
+
* CTRL + X = Exit (Close file)
 
* CTRL + O = WriteOut
 
* CTRL + O = WriteOut
 
* CTRL + J = Justify
 
* CTRL + J = Justify
 
* CTRL + R = Read File
 
* CTRL + R = Read File
* CTRL + W = Where is (hae tiedostosta)
+
* CTRL + W = Where is (Fetch from file)
 
...
 
...
  

Versio 30. heinäkuuta 2015 kello 05.58

Muut kielet:
English • ‎suomi

Nano is a common and easy to use text editor. It is available for Linux and Windows. Another very commonly used text editor is Vi.

Installation

Debian / Ubuntu

Nano comes installed by default in Debian and Ubuntu.

 aptitude install nano

Red Hat / CentOS / Fedora

 yum install nano

Other operating systems

http://www.nano-editor.org/download.php

Usage

Open nano using the command:

 nano

Open a file with nano (for example here we open the ssh configuration file):

 nano /etc/ssh/sshd_config

Nano opetus esimerkki ssh.png

Command listing in nano is simply shown on the bottom of the text editor. The ^ symbol means the CTRL key on your keyboard.

  • CTRL + G = Get help
  • CTRL + X = Exit (Close file)
  • CTRL + O = WriteOut
  • CTRL + J = Justify
  • CTRL + R = Read File
  • CTRL + W = Where is (Fetch from file)

...

Pikapainikkeita

Toiminto Näppäinyhdistelmä Huomoioitavaa
Kopioi rivi ALT+6
Poista rivi CTRL+K
Liitä rivi CTRL+U

Lähteet

http://www.nano-editor.org/

http://www.nano-editor.org/dist/v2.2/nano.html

Mainos / Advertisement: