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

preview_player
Показать описание
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.

*LEARN LINUX TV - YOUR HOME FOR LINUX-RELATED FUN AND LEARNING!*

*🎓 BRAND NEW UDEMY COURSES AVAILABLE!*
Check out my new courses on Udemy and learn something new!

*Support Learn Linux Learning!*

_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 LINUX COURSES FROM LEARN LINUX TV*

*🌐 LEARN LINUX TV ON THE WEB*

*⚠️ 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. Always make sure you have written permission before working with any infrastructure and that you are compliant with all company rules, change control procedures, and local laws.

#nano #Linux #CLI
Рекомендации по теме
Комментарии
Автор

Jay, love your work. Been using Linux for years. However, love learning the fundamentals.

AkebonoRadio
Автор

Editing the nanorc file makes nano so good, it’s my daily driver for most things now.

skysaville
Автор

Thank you, Jay. Nano's limitations are offset by how easy it is for quick work.

AnzanHoshinRoshi
Автор

Ive been using nano since it was pico(in the pine email pkg)! I love it.

mikehensley
Автор

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.

tigerfish
Автор

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...

aaronperl
Автор

No wonder Mork from Ork liked Nano so much. Very useful little tool

tyler
Автор

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.

meowcula
Автор

Thank you for all your videos, these are really straight to the point and very easy tu understand, I'm learning a lot! ❤️

faustipez
Автор

Thanks for this video. I use Vim for so long I never learned how to use Nano.

brandon_wallace
Автор

Thanks for the video, as a new linux user, I learned a few new tricks on using nano.

froid_san
Автор

Thanks for the video, Nano is awsome! ops, sudo apt install spell, Ctrl + T, awesome!

thelowerping
Автор

I haven't worried about line numbers since I programmed in basic in 1987. I need to know how to find multiple occurrences of strings, how to undo, how do duplicate text, more on copy/paste. Spell checking is the last thing I need to know if a code editor.

Roachness
Автор

Esc + Shift + 4 -- to soft wrap text in nano

AndrettiUA
Автор

Thanks bro, your way to explain thinks is inspiring

olivergarcia
Автор

You done a great work. This was just what I needed <3

YrmiZ
Автор

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.

BigBlueMotors
Автор

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.

kim-hendrikmerk
Автор

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?

kodemasterx
Автор

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?

robertfschmidt