Lab 11: nano — Text Editing
Objective
Step 1: Install and Verify
apt-get update -qq && apt-get install -y -qq nano
nano --version | head -1 GNU nano, version 6.2Step 2: nano Interface Overview
GNU nano 6.2 filename.txt Modified
─────────────────────────────────────────────────────────
(your file content here)
─────────────────────────────────────────────────────────
^G Help ^O Write ^W Where ^K Cut ^X Exit
^F Find ^R Replace ^T Execute ^U Paste ^J JustifyStep 3: Create and Edit a File
Key
Action
Step 4: nano Command-Line Options
Step 5: Creating a Shell Script with nano
Step 6: Search and Replace in nano
Step 7: nano for System Configuration
Step 8: Capstone — Edit a Simulated NGINX Config
Summary
Shortcut
Action
Last updated
