A nano szövegszerkesztő használata
Aki parancssorban dolgozik, előbb utóbb belebotlik valami szövegszerkesztőbe. A legtöbb disztribúcióban a vi az alapértelmezett eszköz a config fájlok átírásához. Ez egy elég kemény dió egy kezdő linuxosnak. A használata felér egy önkínzással, tehát hagyjuk meg ezt az örömet a tapasztalt linuxosok és a mazochistáknak :-)
Szerencsére a Debian alapú rendszereknél, alapból ott lapul a nano szövegszerkesztő is.
A program nano [opciók] [fájlnév] formában indítható. Az opciók listáját a -h kapcsolóval kapjuk meg.
A nanonak nincsenek különféle módjai mind az előbb említett vi szerkesztőnek, így rögtön indulás után szerkesztheted a szöveget. Ha egy config fájlt szerkesztesz (mint például az /etc/fstab), akkor használd a -w kapcsolót:
nano -w /etc/fstab
Ez kikapcsolja a sortörést. Ennek az ellenkezője a -$, azaz: laza sortördelés engedélyezése.
Új fájl létrehozásához:
nano fájlnév
A nano vezérléséhez billentyűkombinációkat használunk. Minden parancs a Ctrl+betű vagy Alt+betű formában adhatók ki. A leggyakrabban használtak a nano felületének alsó részén, a segítség ablakban jelenik meg. Ez a funkció kikapcsolható (de nem érdemes!) ha a -x kapcsolóval indítottuk a programot.
Ha indításkor megadtuk a fájlnevet, akkor a fájlnak a tartalmát puffereli. A pufferelt tartalomban a nyílbillentyűkkel mozoghatunk. A változtatások nem kerülnek kiírásra addig, amíg a pufferelt tartalmat vissza nem írjuk a fájlba. Magyarul, elmentsük a fájl. A változtatások mentéséhez használd a Ctrl+O parancsot (tartsd lenyomva a Ctrl-t és közben nyomd le a O-t is). Ha nem adtunk meg fájlnevet akkor most kérdezi meg hogy milyen fájlba akarunk menteni. Kilépéshez nyomd meg a Ctrl+X billentyűkombinációt.
Szöveg másolása és beillesztése mind a grafikus felületen megszokott módon nem lehetséges. Ezért trükközni kel egy kicsit. Használd a Ctrl+K parancsot egy sor kivágásához. Ennek hatására az adott sor eltűnik. Ezután vidd a kurzort oda, ahová be akarod illeszteni, és nyomj Ctrl+U. A sor újra megjelenik. Több sort kivágni, többszöri Ctrl+K ismétlésével tudsz elérni, majd egyetlen Ctrl+U megnyomásával tudod a kivágott sorokat beilleszteni.
Ha a sornak csak egy része kel, akkor ki kell jelölnöd a szöveget. Vidd a kurzort a kivágandó szöveg elejére és nyomj Ctrl+6 (vagy Alt+A). Most vidd a kurzort a kivágandó szöveg végére. A kurzor mozgatás hatására a szöveg ki lesz emelve. A kijelölés megszüntetésére nyomj újra Ctrl+6. Nyomj Ctrl+K a szöveg kivágásához, majd Ctrl+U-val illesztheted be a kívánt pozícióba.
Szöveg részek kereséshez használd a Ctrl+W parancsot és írd be a keresendő szöveget, majd nyomj Enter-t. A következő találat kereséséhez nyomj Alt+W.
nano –c fájlnév
Sorok számozásának bekapcsolása
nano –B fájlnév
Biztonsági mentés készítés a szerkesztett fájlról. A biztonsági másolat ugyan aban a könyvtárban marad fájlnév~ néven.
Néhány fontosabb billentyűkombináció a nano használatához:
Ctrl+G
a funkciók teljes listája (a leírás oldalai között Ctrl+Y és Ctrl+V-vel mozoghatunk)
Ctrl+R
fájl beolvasása, beillesztése (a fájl tartalmát az aktuális kurzorpozíciótól illeszti be)
Ctrl+W
keresés a szövegben
Alt+W
ugrás a következő keresési találatra
Alt+6
az aktuális sor vagy a kijelölt terület másolása (copy)
Ctrl+6
kijelölés - a billentyűkombináció leütése után használjuk a kurzormozgató nyilakat a kijelöléshez
Ctrl+K
az aktuális sor kivágása (cut)
Ctrl+U
a vágólap tartalmának beillesztése (paste)
Alt+U
visszavonás (undo)
Alt+D
karakterek, szavak és sorok számlálása
Hozzászólások
Carri (nem ellenőrzött)
p, 03/13/2020 - 00:21
Permalink
Új hozzászólás | linux.valodi.info
It's great that you are getting thoughts from this piece of writing as well as from our dialogue made at this time.
Look at my webpage - Kimber
Debora (nem ellenőrzött)
cs, 04/02/2020 - 04:34
Permalink
Új hozzászólás | linux.valodi.info
Somebody necessarily assist to make seriously articles
I'd state. This is the first time I frequented your web
page and so far? I surprised with the research
you made to make this actual publish amazing. Fantastic job!
Here is my website: 카지노 24 시
Wilfredo (nem ellenőrzött)
cs, 04/02/2020 - 05:06
Permalink
Új hozzászólás | linux.valodi.info
continuously i used to read smaller posts that also clear
their motive, and that is also happening with this post which I am reading here.
my homepage - 바카라 스토리
Jurgen (nem ellenőrzött)
cs, 04/02/2020 - 05:54
Permalink
Új hozzászólás | linux.valodi.info
At this time it sounds like BlogEngine is the top blogging
platform out there right now. (from what I've read) Is that what you are using on your blog?
Here is my blog :: www.markkety.com
Emelia (nem ellenőrzött)
k, 10/19/2021 - 07:11
Permalink
Új hozzászólás | linux.valodi.info
I have to show my passion for your generosity giving support to
people who have the need for help with that concern. Your special commitment to
getting the message throughout appeared to be really insightful and
have continually made associates just like me to realize
their targets. Your own helpful guideline denotes this much a
person like me and further more to my office workers.
With thanks; from each one of us.
Also visit my blog; www.infoknygos.lt
Evangeline (nem ellenőrzött)
k, 10/19/2021 - 08:26
Permalink
Új hozzászólás | linux.valodi.info
Hi there! Someone in my Myspace group shared this website with us so
I came to give it a look. I'm definitely loving the information. I'm
bookmarking and will be tweeting this to my followers! Outstanding blog and fantastic
style and design.
My webpage :: skilled drug
Ludie (nem ellenőrzött)
k, 10/19/2021 - 09:57
Permalink
Új hozzászólás | linux.valodi.info
Do you have a spam issue on this site; I also am a blogger, and I was curious about your
situation; many of us have created some nice practices and we are looking to
trade strategies with other folks, please shoot me an e-mail if interested.
my webpage :: skin type
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 03:53
Permalink
Új hozzászólás | linux.valodi.info
healthy lifestyle blogging for profit
work at home
pharmacy affiliate commission
PharmEmpire sign-up requirements
Here is my page ... data entry work from home
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 03:54
Permalink
Új hozzászólás | linux.valodi.info
pharm empire invite
mental health teletherapy jobs
work at home
earn extra income promoting natural supplements
my homepage online surveys for cash
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 03:56
Permalink
Új hozzászólás | linux.valodi.info
health blog revenue ideas
online health content creation
remote work tips
work from home jobs for customer service
Review my website :: health blog income generation
Anonymous (nem ellenőrzött)
v, 03/26/2023 - 19:04
Permalink
Új hozzászólás | linux.valodi.info
beginner's guide to pharmacy affiliate marketing
passive income through blogging
affiliate marketing for beginners blog
work from home data entry jobs
My website part-time work from home for moms
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 04:04
Permalink
Új hozzászólás | linux.valodi.info
pharmacy affiliate blog
health product review sites
work from home jobs for it professionals
Join the top-rated supplements affiliate programs
Feel free to surf to my web page ... PharmEmpire affiliate membership benefits
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 04:06
Permalink
Új hozzászólás | linux.valodi.info
High-paying supplements affiliate programs registration
telehealth jobs
commission rates for pharmacy affiliates
pharmacy affiliate tracking software
Review my homepage - affiliate marketing for herbal remedies
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 04:11
Permalink
Új hozzászólás | linux.valodi.info
remote careers
Best supplements affiliate programs for beginners
supplement affiliate programs
blogging for profit
Here is my website: promoting natural supplements online
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 04:20
Permalink
Új hozzászólás | linux.valodi.info
online work from home
healthcare consulting jobs remote
work from home jobs for moms with babies
work from home jobs for beginners
Feel free to visit my web-site :: health blog advertising
Anonymous (nem ellenőrzött)
v, 03/26/2023 - 19:51
Permalink
Új hozzászólás | linux.valodi.info
pharmacy affiliate marketing for bloggers
Supplements affiliate programs registration
affiliate programs for natural health products
how to become a successful natural supplements affiliate
marketer
my page; health blog income strategies
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 04:38
Permalink
Új hozzászólás | linux.valodi.info
herbal supplement affiliate programs for beginners
health niche marketing
work from home jobs for graphic designers
How to choose the best supplements affiliate program
Visit my web blog - health blog income ideas
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 04:42
Permalink
Új hozzászólás | linux.valodi.info
PharmEmpire partnership code
telecommute
health blog revenue ideas
remote work culture
Check out my web page; ways to make money with natural supplements
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 04:56
Permalink
Új hozzászólás | linux.valodi.info
best affiliate programs for natural supplements
work from home jobs for introverts
tips for making money with a health blog
PharmEmpire affiliate network sign-up
Have a look at my page ... online gig
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 06:54
Permalink
Új hozzászólás | linux.valodi.info
mental health teletherapy jobs
supplements for immune system affiliate marketing
pharmacy affiliate marketing tips
best health affiliate programs 2022
my page ... work from home jobs for introverts
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 07:00
Permalink
Új hozzászólás | linux.valodi.info
PharmEmpire invitation code for publishers
affiliate marketing programs for natural supplements
PharmEmpire affiliate network registration
plant-based supplement affiliates
Also visit my website :: passive income streams
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 07:04
Permalink
Új hozzászólás | linux.valodi.info
health blog email marketing for revenue
building a brand with pharmacy affiliate marketing
work at home
work from home writing jobs for moms
Here is my page ... work from home healthcare jobs
Anonymous (nem ellenőrzött)
v, 03/26/2023 - 17:52
Permalink
Új hozzászólás | linux.valodi.info
affiliate marketing for beginners reddit
health blog consulting for profit
fitness affiliate programs for bloggers
data entry work from home for beginners
My homepage - passive income for retirees
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 07:05
Permalink
Új hozzászólás | linux.valodi.info
pharm-empire invite
affiliate marketing for pharmacists
jobs for moms returning to work
freelance work for moms
Feel free to visit my web-site ... affiliate marketing without a website
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 07:07
Permalink
Új hozzászólás | linux.valodi.info
pharm empire
make money from home with no experience
work from home pharmacist jobs
PharmEmpire partnership code
Here is my web blog; passive income with natural supplements
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 07:10
Permalink
Új hozzászólás | linux.valodi.info
web development jobs for moms
passive income for retirement
work from home ideas for beginners
passive income with stocks
Look into my webpage ... affiliate marketing tutorial for beginners
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 07:19
Permalink
Új hozzászólás | linux.valodi.info
best herbal supplement affiliates
maximizing earnings with pharmacy affiliate marketing
health product promotion
ayurvedic supplement affiliates
Stop by my web site online tutoring jobs for stay-at-home moms
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 07:21
Permalink
Új hozzászólás | linux.valodi.info
Supplements affiliate programs for beginners registration
pharmacy affiliate marketing on social media
work from home teaching jobs
PharmEmpire affiliate membership benefits
Here is my web site :: making money with a health podcast
Anonymous (nem ellenőrzött)
v, 03/26/2023 - 20:46
Permalink
Új hozzászólás | linux.valodi.info
how to choose the right natural supplements affiliate program
copywriting jobs
healthcare marketing programs
health blog affiliate marketing case study
Also visit my webpage - affiliate marketing on social media
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 07:27
Permalink
Új hozzászólás | linux.valodi.info
passive income investments
remote work productivity
Best supplements affiliate programs for beginners
affiliate marketing for beginners step by step
My web site - healthy lifestyle blogging for profit
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 07:29
Permalink
Új hozzászólás | linux.valodi.info
online gig
passive income for students
passive income apps
high paying affiliate programs for natural supplements
my web page; health-related keyword research
Anonymous (nem ellenőrzött)
v, 03/26/2023 - 17:34
Permalink
Új hozzászólás | linux.valodi.info
herbal supplement affiliate marketing without
a website
health supplements affiliate program
affiliate marketing for medical bloggers
commission-based herbal supplement affiliate programs
my page ... work from home opportunities for beginners
Anonymous (nem ellenőrzött)
v, 03/26/2023 - 20:43
Permalink
Új hozzászólás | linux.valodi.info
freelance writing jobs
Finding the right supplements affiliate program for
you
residual income
online gig
Have a look at my blog; Supplements affiliate program sign-up process
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 07:31
Permalink
Új hozzászólás | linux.valodi.info
pharmacy affiliate marketing strategies
affiliate marketing for travel blogs
affiliate marketing for herbal remedies
supplements for immune system affiliate marketing
Review my website: monetizing a pharmacy affiliate website
Anonymous (nem ellenőrzött)
v, 03/26/2023 - 18:44
Permalink
Új hozzászólás | linux.valodi.info
freelancing
work from home jobs for seniors
monetizing a pharmacy affiliate website
natural supplements for hair growth affiliate program
Here is my web-site :: natural supplement affiliate marketing
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 07:40
Permalink
Új hozzászólás | linux.valodi.info
work from home jobs for stay at home moms
PharmEmpire exclusive invite code
affiliate programs for medical equipment
e-commerce
Here is my website: virtual assistant jobs
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 07:42
Permalink
Új hozzászólás | linux.valodi.info
earn passive income
natural supplements affiliate marketing secrets
passive income business
health affiliate marketing
My web site ... ways to promote herbal supplements online
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 07:53
Permalink
Új hozzászólás | linux.valodi.info
increasing traffic to pharmacy affiliate websites
best affiliate programs for weight loss products
pharmacy affiliate marketing programs
how to choose the right pharmacy affiliate program
Here is my web site - beginner's guide to pharmacy affiliate marketing
Anonymous (nem ellenőrzött)
v, 03/26/2023 - 18:45
Permalink
Új hozzászólás | linux.valodi.info
highest converting herbal supplement affiliate programs
beginner-friendly affiliate marketing
prescription drug coupons
top rated supplement affiliate programs
my website ... telecommuting jobs
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 07:59
Permalink
Új hozzászólás | linux.valodi.info
natural supplements affiliate commissions
remote work culture
affiliate marketing strategies for beginners
best ways to market natural supplements
Check out my blog work from home jobs
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 08:01
Permalink
Új hozzászólás | linux.valodi.info
maximizing earnings with pharmacy affiliate
marketing
health and beauty affiliate programs
How to join supplements affiliate programs
graphic design services
Look into my web site; blogging for profit
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 05:08
Permalink
Új hozzászólás | linux.valodi.info
ways to promote herbal supplements online
pharmacy affiliate income
affiliate marketing programs for beginners
affiliate marketing programs for health products
Feel free to visit my site ... Kathi
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 05:13
Permalink
Új hozzászólás | linux.valodi.info
top health affiliate programs
work from home jobs for graphic designers
affiliate programs for natural supplements
pharm-empire
Here is my web-site; beginner's pharmacy affiliate marketing guide
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 05:14
Permalink
Új hozzászólás | linux.valodi.info
medication affiliate programs
home-based blogging
creating a health blog course
health content creation tips
Check out my site; health blog advertising revenue
Anonymous (nem ellenőrzött)
v, 03/26/2023 - 20:28
Permalink
Új hozzászólás | linux.valodi.info
healthcare it jobs remote
high paying affiliate programs in healthcare
work from home jobs for teachers
ways to promote herbal supplements online
Feel free to surf to my web blog; work from home nursing jobs
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 05:16
Permalink
Új hozzászólás | linux.valodi.info
make money from home
healthy lifestyle blogging for profit
remote work
home-based jobs
My homepage online jobs for beginners working from home
Anonymous (nem ellenőrzött)
cs, 03/16/2023 - 05:22
Permalink
Új hozzászólás | linux.valodi.info
best niche markets for herbal supplements
how to start a pharmacy affiliate website
how to become a successful health blogger
affiliate marketing programs for natural supplements
my website :: how to start affiliate marketing for beginners
Anonymous (nem ellenőrzött)
v, 03/26/2023 - 21:12
Permalink
Új hozzászólás | linux.valodi.info
best supplement affiliate programs
pharmacy affiliate website case studies
online transcription jobs for stay-at-home moms
affiliate programs for maternity products
my blog - writing jobs from home for fast earnings
Anonymous (nem ellenőrzött)
v, 03/26/2023 - 21:15
Permalink
Új hozzászólás | linux.valodi.info
passive income with stocks
maximizing pharmacy affiliate earnings
online pharmacy commissions
health blog sponsorships and collaborations
my homepage; remote healthcare education jobs
Arleen (nem ellenőrzött)
k, 10/19/2021 - 13:35
Permalink
Új hozzászólás | linux.valodi.info
Very rapidly this website will be famous amid all blog
people, due to it's pleasant articles or reviews
Here is my page; lower belly
Oldalak
Új hozzászólás