How do you get to the Last Line in Nano? | DevsDay.ru

IT-блоги How do you get to the Last Line in Nano?

linuxhint.com 17 октября 2020 г. Karim Buzdar


While working with the nano editor, you might want to jump to the last line of a file without having to scroll through the entire file. There are two methods of doing this which are stated below:

Method # 1: Using the “Alt+ /” Shortcut Combination:

The first thing that you need to do is to launch a file with the nano editor using the terminal command shown below:

sudo nano Testing.txt

You can provide any file name instead of Testing.txt according to the file that you want to open.

Once your file will open with the nano editor, the cursor will be pointing at the beginning of the file. Just press “Alt+ /” (Alt+ Forward Slash) and you will notice that your cursor has shifted to the end of the last line of your file as shown in the following image:

Method # 2: Using the “Ctrl+ W” and “Ctrl+ V” Shortcut Combinations:

Open any desired file with nano editor through the command stated above. Once your file is opened in the nano editor, press “Ctrl+ W”. Doing this will make a Search prompt to appear at the end of your file as shown in the image below:

Now press “Ctrl+ V” after that Search prompt appears and you will notice that your cursor is now pointing to the end of the last line of your file as shown in the following image:

These methods prove to be helpful when you are working with large files and you quickly want to navigate to the end of the file or the last line of the file. These files can either be text files or any other type of file. The methods of navigating to the last line of any file in the nano editor will remain the same.

Источник: linuxhint.com

Nano

Читайте также


How to Use Sudo Command in Linux?

DevOps linuxhint.com 20 октября 2020 г. 15:03
Among the different concepts of an operating system, the most crucial one is access control. The access control policies ensure that no user is allowed to perform those activities for which he has not been granted any privileges. Fortunately, Linux p...... читать далее
System Administration

How to Use Cron in Linux

DevOps linuxhint.com 20 октября 2020 г. 12:30
Cron is a built-in automatic scheduler for the Linux operating system and is responsible for running the commands or scripts that are added to the crontab file at a specified time. This article shows you how to use Cron in the Linux operating system.... читать далее
Uncategorized

DevOps linuxhint.com 20 октября 2020 г. 4:12

Many of today’s online transactions can be conveniently done with just a click of a mouse. Douglas Engelbart invented the very first mouse in 1964 at Stanford Research Institute (SRI). In 1968, German company Telefunken, led by Rainer Mallebrein, dev...... читать далее

Computer History

Безопасность VirusNet 18 октября 2020 г. 20:31

3 октября 2020 года программист jspenguin2017, автор расширения Nano Defender, сообщил в официальном репозитории, что продал проект «группе турецких разработчиков». Это сообщение вызвало массу слухов и опасений: что за турецкие разрабо...... читать далее

Новости информационной безопасности Уголок параноика Nano Defender

DevOps linuxhint.com 18 октября 2020 г. 15:59

If you’re using Raspberry Pi for your projects, you may face many wireless or Wi-Fi network connectivity issues once in a while. These issues may be difficult to solve for you. In this article, I am going to talk about different Wi-Fi network connect...... читать далее

Raspberry Pi Wireless

DevOps linuxhint.com 18 октября 2020 г. 11:39

The copy-paste shortcuts in the Nano editor do not copy text to your GNOME clipboard. Instead, they copy the text only to a special cut buffer inside the Nano editor. This article shows you how to copy text from the Nano editor to the shell, both usi...... читать далее

Nano

DevOps linuxhint.com 17 октября 2020 г. 21:36

We are familiar with different keyboard shortcuts that are used in the nano text editor. You can navigate within a file using the arrows keys. To move your cursor in the forward direction, you can use Ctrl+f and for backward movement, use Ctrl+b. In...... читать далее

Nano

Популярные темы

ux (301) новости (265) design (253) новость (184) web dev (171) devops (169) ux-design (161) ubuntu (158) javascript (156) security (154) headline (136) python (122) tutorial (115) ui (104) статьи (99) user-experience (88) seo (80) testing roundup (79) programming (77) api5 (76) software testing (75) игровые проекты (75) java (73) дизайн (71) product-design (67) laravel (65) google (65) design-thinking (64) primary (64) working in tech (60) ui-design (59) технологии (57) windows 10 (57) прочее (57) uncategorized (53) дайджесты вакансий от new.hr (52) español (51) бизнес (47) турбо-страницы (47) движки и конструкторы игр (46) работа (45) web design and applications (45) мероприятия (44) навыки алисы (43) covid-19 (43) обучение (43) docker (43) technology (42) hardware (42) debian (41) publication (41) case-study (41) css (39) wp (38) home page stories (38) angular (38) chrome (37) machine learning (37) инструкции (37) aspnet (36) vue.js (36) kali linux (36) тестирование (36) полезное (36) cloud (36) android (35) networking (35) web (35) ux-research (34) art (33) навыки (33) google ads (33) data (33) wordpress (33) powershell (33) tutorials (32) inspiration (32) .net (31) windows (31) алиса (31) linux mint (30) интервью с экспертами (30) dotnet (30) creativity (29) api (29) apple (29) kubernetes (28) ios (28) без рубрики (28) bash programming (28) web-design (28) c# (28) job hunting (28) разработчики (27) industry (27) автоматизация (27) api4live (27) user-research (27) development (26) vmware (26)