Linux Crash Course - nano (command-line text editor)

  Рет қаралды 39,094

Learn Linux TV

Learn Linux TV

Күн бұрын

When you're working with Linux servers, you may or may not always have access to a GUI, which is why it's important to learn at least one command-line text editor. In this video, we'll explore the core fundamentals of nano. nano is a text editor that's among the easiest to learn.
Brand New Ansible Course Available
Check out the new course on Udemy! It covers everything you need to get started with Automation.
➜ learnlinux.link/ansible
Check out the Linux Shop
In the official shop, you'll find Shirts, hats, stickers, bags and more!
➜ merch.learnlinux.tv
5% discount on LPI exam vouchers
After you finish Jay's new course, get 5% off an LPI exam voucher here:
➜ learnlinux.link/lpi-voucher
Become a Patron
Show your support for Learn Linux TV on Patreon and get access to exclusive perks!
➜ learnlinux.link/patron
Become a Channel Member
Show your support for Learn Linux TV here on KZfaq and get access to exclusive perks!
➜ learnlinux.link/member
Mastering Ubuntu Server: 4th Edition
Jay's latest book covers everything you need to know in order to master Ubuntu Server. It's available here:
➜ ubuntuserverbook.com
Linux Gear and Kits
Check out Jay's choice of hardware products, audio/video equipment, and more.
➜ learnlinux.link/amazon
Grab an awesome Pi-powered KVM
Support Learn Linux TV and grab yourself a TinyPilot KVM here:
➜ learnlinux.link/tinypilot
Note: Royalties and/or commission is earned from each of the above links
#*Time Codes*
00:00 - Intro
00:46 - Checking/installing nano
01:46 - Launching nano
02:27 - CTRL commands, and saving/exiting
03:26 - Editing an existing file
04:47 - Searching for text
06:24 - Cutting and pasting text
07:23 - Viewing the help screen
07:43 - Starting nano at a specific line number
08:23 - View-only mode
09:28 - Moving to a specific line number after opening a file
10:37 - Checking spelling
Full Courses from Learn Linux TV
• Linux Essentials Certification Workshop ➜ learnlinux.link/lpi-course
• Linux Crash Course series ➜ linux.video/cc
• Learn how to use tmux ➜ linux.video/tmux
• Learn how to use vim ➜ linux.video/vim
• Bash Scripting Series ➜ linux.video/bash
• Proxmox VE Cluster Full Course ➜ linux.video/pve
• Learn Ansible ➜ linux.video/ansible
Linux-related Podcasts
• Enterprise Linux Security ➜ enterpriselinuxsecurity.show
• The Homelab Show ➜ thehomelab.show
Learn Linux TV on the Web
• Main site ➜ www.learnlinux.tv
• Community ➜ community.learnlinux.tv
• Enterprise Linux Security Podcast ➜ enterpriselinuxsecurity.show
• The Homelab Show Podcast ➜ thehomelab.show
• Content Ethics ➜ www.learnlinux.tv/content-ethics
• Request Assistance ➜ www.learnlinux.tv/request-ass...
Disclaimer
Learn Linux TV provides technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content. The person viewing Learn Linux TV's content is expected to follow their best judgement and to make their best decisions while working with any related technology. Always make sure you have written permission before working with any infrastructure. Also, be sure that you're compliant with all company rules, change control procedures, and local laws.
#nano #Linux #CLI

Пікірлер: 52
@AkebonoRadio
@AkebonoRadio 2 жыл бұрын
Jay, love your work. Been using Linux for years. However, love learning the fundamentals.
@tigerfish66
@tigerfish66 2 жыл бұрын
Love your content, way back in 90's when i started learning Unix as sideline to my job supporting DOS/Windows banks trading floor workstations that my company supplied with our real time market data product, the biggest learning curve i had was learning the locations of various files and the unix commend line editors as they were so different to DOS 'edit', i recall the commend back then was 'ed'....i wish Nano was available back then, thanks for the trip down memory lane.
@faustipez
@faustipez 2 жыл бұрын
Thank you for all your videos, these are really straight to the point and very easy tu understand, I'm learning a lot! ❤️
@AnzanHoshinRoshi
@AnzanHoshinRoshi 2 жыл бұрын
Thank you, Jay. Nano's limitations are offset by how easy it is for quick work.
@mikehensley78
@mikehensley78 2 жыл бұрын
Ive been using nano since it was pico(in the pine email pkg)! I love it.
@DL-xf3ur
@DL-xf3ur 2 жыл бұрын
Awesome as always Jay! Thanks!
@YrmiZ
@YrmiZ 2 жыл бұрын
You done a great work. This was just what I needed
@tyler5888
@tyler5888 2 жыл бұрын
No wonder Mork from Ork liked Nano so much. Very useful little tool
@aaronperl
@aaronperl 2 жыл бұрын
Back in university, the first Computer Science course was taught using Pascal on DOS. The next class was using a language called Modula-3 on UNIX (Solaris), or Linux for those who wanted to try to run it at home, though that's a whole other story about the libc6 disaster). I didn't know how to use any UNIX text editors in those days except for pico, which I believe nano is based on / a clone of. It was pretty terrible for writing code. After the first assignment I was determined to figure out how to use something better. I used Emacs for a while, and then started learning some Vim and never looked back. Unfortunately, the early experience with pico left a bad taste in my mouth and I tend to avoid using nano as a result. I will agree that it's a better first editor when you're only used to DOS/Windows text editing, though...
@AriannaEuryaleMusic
@AriannaEuryaleMusic 2 жыл бұрын
As a Beginner Linux user, I found nano really easy for basic things (Changing .conf files) but when I used Vim I almost panicked cuz I didn´t know how to save a file and much less getting out of that thing.
@kim-hendrikmerk4163
@kim-hendrikmerk4163 Жыл бұрын
Ed is the best
@wildmanjeff42
@wildmanjeff42 2 жыл бұрын
Thanks for the video Jay !
@froid_san
@froid_san 2 жыл бұрын
Thanks for the video, as a new linux user, I learned a few new tricks on using nano.
@meowcula
@meowcula 2 жыл бұрын
Nano has been my CLI text editor of choice for a long time now. Just never bothered nor had need to learn vim. It does all I need it to do.
@olivergarcia6309
@olivergarcia6309 5 ай бұрын
Thanks bro, your way to explain thinks is inspiring
@brandon_wallace
@brandon_wallace 2 жыл бұрын
Thanks for this video. I use Vim for so long I never learned how to use Nano.
@nicholasobrien5914
@nicholasobrien5914 Жыл бұрын
Awesome !!! Lovely and clear
@thelowerping8053
@thelowerping8053 Жыл бұрын
Thanks for the video, Nano is awsome! ops , sudo apt install spell, Ctrl + T, awesome!
@13thravenpurple94
@13thravenpurple94 Жыл бұрын
Great work! Thank you
@rhax_ffm
@rhax_ffm 2 жыл бұрын
9:31 you said without leaving vim :D
@arijitkumarhaldar3197
@arijitkumarhaldar3197 2 жыл бұрын
Vim doesn't only create muscle-memory for your fingers 😀
@user-pk8gk1nl8k
@user-pk8gk1nl8k 2 жыл бұрын
i love micro text editor
@jonspoonamore3721
@jonspoonamore3721 2 жыл бұрын
I agree. Micro is like having Gedit/Pluma on the command line. Using standard editor functions like CTRL-C and CTRL-V (copy and paste).
@BigBlueMotors
@BigBlueMotors 2 жыл бұрын
Thanks for the video. Seems that spell check process with Nano is different in Kali Linux. I guess each distro has a different way to use spell check.
@hehermosilla13
@hehermosilla13 6 ай бұрын
thank you!
@tambokavz
@tambokavz 2 жыл бұрын
Thanking you.
@AndrettiUA
@AndrettiUA 2 жыл бұрын
Esc + Shift + 4 -- to soft wrap text in nano
@sussusamogus7831
@sussusamogus7831 10 ай бұрын
nano is quite cool actually
@dailyjavafx9542
@dailyjavafx9542 2 жыл бұрын
Nano is great 👍
@litebkt
@litebkt 2 жыл бұрын
Many years ago, vi was my editor. I wonder if I still remember how to use it.
@kim-hendrikmerk4163
@kim-hendrikmerk4163 Жыл бұрын
personally i prefere ed ED. The standard text editor. It is the only text editor that isn't bloated. Things like syntax highliting or seeing the document while editing are for noobs and bloat. And this is without even mentioning errors, like who actually needs error messages? A single ? to represent an error is all you need. Ed also does not waste your storage space compared to bolat like vi.
@kodemasterx
@kodemasterx Жыл бұрын
Hey everyone Linux Noob here with quick question... So at 6:00 if I add a . at the end instead of a path, does it copy the file to the root or the current directory?
@thomasdunn496
@thomasdunn496 Жыл бұрын
Nano is my ride or die editor!
@elabeddhahbi3301
@elabeddhahbi3301 2 жыл бұрын
is there any possibility that you can make a video about nfs ganeasha with pacemaker
@anandSingh-hw6et
@anandSingh-hw6et 2 жыл бұрын
I think u forgot to mention the shortcut to jump words back and forth in a long command. For e.g. if someone need to go to 5th word from begining to modify it.
@Alianger
@Alianger Жыл бұрын
What linux text editor is the most like notepad?
@CyberpunkPizza
@CyberpunkPizza Жыл бұрын
vim if you remap the keys a bit. if you paste these into your .vimrc text file it gets you most of the way there: set mouse=a nnoremap i vnoremap x vnoremap y vnoremap p vnoremap d nnoremap / nnoremap u nnoremap inoremap u inoremap :w unhelpfully serious answer: most linux desktops come with an app very similar to notepad such as gedit, kate or mousepad.
@guilherme5094
@guilherme5094 2 жыл бұрын
Nano is great.
@robertfschmidt
@robertfschmidt Жыл бұрын
How can I change the content of existing nano file that comes with kali linux virtual box? I'm having troubles with the sudo -apt update. This file comes with the operating system. I didn't create it. Is it possible to change content of nano that came with linux?
@Alfoncos
@Alfoncos Жыл бұрын
Can nano be configured to show line numbers?
@KLiNoTweet
@KLiNoTweet 2 жыл бұрын
Hallo! Nano is real great, as is your vid. Awsome 😎
@whirledpeas5644
@whirledpeas5644 Жыл бұрын
I added a line to a file in nano and then I don't know how to save and exit? Do I "append"? The bottom has M-A for append. Which key on my keyboard gives me that function? ( Like the control key plus X is for exit? I'm a real noobie any help appreciated.
@MrABJ1983
@MrABJ1983 2 жыл бұрын
My nano does not have spell check ? ctrl t is execute ? I did install spell ???
@sambodo88
@sambodo88 2 жыл бұрын
Salam kenal mas Jay, from Indonesia
@gamerking64
@gamerking64 2 жыл бұрын
Salam!
@Baruch_Spinning_Kick
@Baruch_Spinning_Kick 2 жыл бұрын
vim ftw
@JanKowalski-gq5fc
@JanKowalski-gq5fc 2 жыл бұрын
Comment to feed yt algorithm :D
@joel53146
@joel53146 Жыл бұрын
Nano is SO much better than VIM editor.
@NilEoe
@NilEoe Жыл бұрын
yeah no
@BeesCantSwim
@BeesCantSwim 2 жыл бұрын
You still talk too much. There is no need to repeat yourself constantly.
@Dierre
@Dierre 2 жыл бұрын
Relax
Deploying Ubuntu Instances with MAAS
38:47
Learn Linux TV
Рет қаралды 40 М.
Linux Crash Course - sudo
26:11
Learn Linux TV
Рет қаралды 63 М.
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 39 МЛН
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 26 МЛН
Nano Or Vim? Which Terminal Text Editor Should You Use?
20:44
DistroTube
Рет қаралды 69 М.
I tried 10 code editors
10:28
Fireship
Рет қаралды 2,9 МЛН
Linux Command-Line Tips & Tricks: Over 15 Examples!
31:37
Learn Linux TV
Рет қаралды 212 М.
Linux Crash Course - User Account & Password Expiration
12:42
Learn Linux TV
Рет қаралды 18 М.
Linux Crash Course - The grep Command
14:57
Learn Linux TV
Рет қаралды 98 М.
The Linux Tier List
27:34
Chris Titus Tech
Рет қаралды 964 М.
NIX OS: the BEST package manager on the MOST SOLID Linux distribution
17:08
The Linux Experiment
Рет қаралды 304 М.
The BEST Text Editor on Linux? - Micro Text Editor
9:26
Planet Linux
Рет қаралды 15 М.
60 Linux Commands you NEED to know (in 10 minutes)
10:50
NetworkChuck
Рет қаралды 1,4 МЛН
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 1,2 МЛН
Что не так с яблоком Apple? #apple #macbook
0:38
Не шарю!
Рет қаралды 60 М.
Неразрушаемый смартфон
1:00
Status
Рет қаралды 2,1 МЛН
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,4 МЛН
Lid hologram 3d
0:32
LEDG
Рет қаралды 10 МЛН