How to Use the Nano Text Editor in Linux | Installing Nano Text Editor | $nano new_filename

1K views Aug 20, 2023
publisher-humix monibe.com

How to Use the Nano Text Editor in Linux Nano is a user-friendly, simple and WYSIWYG(What You See Is What You Get) text editor, which improves the features and user-friendliness of UW Pico text editor. Unlike vim editor or any other command-line editor, it doesn’t have any mode. It has an easy GUI(Graphical User Interface) which allows users to interact directly with the text in spite of switching between the modes as in vim editor. Installing Nano Text Editor Nano is generally by default available in many Linux distributions but in case, it is not installed you may install the same using the following commands. $sudo apt update In case of Debian/Ubuntu $sudo apt install nano In case of CentOS/Fedora $yum install nano Working with Nano Text Editor 1. To create and open a new file. $nano new_filename creating and opening a new file in nano text editor The above command will open a new file with new_filename as shown in the output. In case the file already exists it will open the same and in case the file is not there in the current directory it will create a new one. At the bottom of the window, there is a list of shortcut keys for nano. 2. To save a file

#Software