• • Ctrl+K
  • • Ctrl+U
  • • Ctrl+C
  • | 31 Nano Quick Reference




    Download 4,86 Mb.
    Pdf ko'rish
    bet17/18
    Sana23.12.2023
    Hajmi4,86 Mb.
    #127288
    1   ...   10   11   12   13   14   15   16   17   18
    Bog'liq
    introductiontolinux

    31
    Nano Quick Reference
    • Ctrl+X Exit the editor. If you’ve edited text without saving, you’ll be prompted as to whether you 
    really want to exit.
    • Ctrl+O Write (output) the current contents of the text buffer to a file. A filename prompt will 
    appear; press Ctrl+T to open the file navigator shown above.
    • Ctrl+R Read a text file into the current editing session. At the filename prompt, hit Ctrl+T for the 
    file navigator.
    • Ctrl+K Cut a line into the clipboard. You can press this repeatedly to copy multiple lines, which 
    are then stored as one chunk.
    • Ctrl+J Justify (fill out) a paragraph of text. By default, this reflows text to match the width of the 
    editing window.
    • Ctrl+U Uncut text, or rather, paste it from the clipboard. Note that after a Justify operation, this 
    turns into unjustify.
    • Ctrl+T Check spelling.
    • Ctrl+W Find a word or phrase. At the prompt, use the cursor keys to go through previous search 
    terms, or hit Ctrl+R to move into replace mode. Alternatively you can hit Ctrl+T to go to a specific 
    line.
    • Ctrl+C Show current line number and file information.
    • Ctrl+G Get help; this provides information on navigating through files and common keyboard 
    commands.


    32
     |
    Useful commands to 
    research and try
    • 
    ssh – Secure Shell – used to remote control a system via the command prompt
    • 
    scp – Secure Copy – used to transfer files between computers over SSH
    • 
    cat – Concatenate – used to print a view the contents of a file.
    • 
    chmod – Change file mode bits – used to change permissions of a file for user, group & other
    • 
    chown – Change Owner – used to change the user ownership of a file
    • 
    chgrp – Change Group – used to change the group ownership of a file
    • 
    gzip – Gunzip – file compression / decompression command for the .gz format
    • 
    tar – file compression / decompression command for the .tar format
    • 
    sudo – command to gain root access to a system (useful when combine with su. e.g: ‘sudo su’)
    • 
    lynx – console-based web-browser
    • 
    alpine / pine – an email client
    • 
    nano – text editor (See previous pages for a brief How-to)
    • 
    vim – advanced text editor – not for the faint hearted (try the command ‘vimtutor’)
    • 
    ping – Sends ICMP ECHO_REQUEST to network hosts to determine their connectivity status
    • 
    nc – netcat, used to listen / send TCP & UDP packets
    • 
    nmap – Network Mapper – Tool for network exploration & Security auditing – Very involved
    • 
    telnet – basic (unencrypted) method of controlling a system. Useful for interrogating ports

    Download 4,86 Mb.
    1   ...   10   11   12   13   14   15   16   17   18




    Download 4,86 Mb.
    Pdf ko'rish