Mainos / Advertisement:

Nano

Kohteesta Taisto
Versio hetkellä 30. heinäkuuta 2015 kello 05.57 – tehnyt Frans (keskustelu | muokkaukset) (Ak: Uusi sivu: == Usage ==)
Siirry navigaatioon Siirry hakuun
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

Avaa nano - tekstieditori komennolla:

 nano

Avaa konfigurointi tiedosto (esimerkkinä ssh:n konfigurointi tiedosto):

 nano /etc/ssh/sshd_config

Nano opetus esimerkki ssh.png

Komentolistaus nano - tekstieditorissa näkyy yksinkertaisesti tekstieditorin alaosassa. ^ tarkoittaa siis CTRL painiketta näppäimistössä:¨'

  • CTRL + G = Get help
  • CTRL + X = Exit (sulje tiedosto)
  • CTRL + O = WriteOut
  • CTRL + J = Justify
  • CTRL + R = Read File
  • CTRL + W = Where is (hae tiedostosta)

...

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: