Skip to main content

Nano text editor


Normally when we used linux terminal for coding ,nano editor is more preferable to use to text editing than use normal text editor like atom.

Short cuts for nano editors
Ctrl+O Save option
Ctrl+K Cut
Ctrl+U Uncut
Ctrl+E End line
Ctrl+A Begun of line
Ctrl+W Search for text
Ctrl+X Exit
Ctrl+J Justify
Ctrl+H Backspace
Ctrl+D Delete
Ctrl+/ Line to be
Ctrl+F Move forward character
Ctrl+B Move backward character
Ctrl+sp Next word
Ctrl+N Next line
Ctrl+P Previous line
Ctrl+Z Automatic recovery
Ctrl+C Stop the running
Ctrl+6 Highlight
Ctrl+V Move down a page
Ctrl+Y Move up a page
Alt+A Step selecting
Ctrl+R Open a new file

Comments

Post a Comment

Popular posts from this blog

  Node.js What is Node.js? Node.js used as back-end (server-side) language in the development. As usual client/user deal with the front end of the applications.There are much process behind that , we call it as back-end.There, we used several languages like Node.js, php and java as server side languages and MongoDB or MySQL as data base. Node.js is an open-source ,cross-platform javascript runtime environment and library for running web applications outside the client's browser.It is a server-side platform built on Google Chrome's javascript engine(V8 Engine).Node.js was developed by Ryan Dahi in 2009 and its latest version is v14.13.0. Node.js applications are written in javascript and can be run within the Node.js runtime on OS X,Microsoft Windows and Linux.                      Node.js = Runtime Environment + JavaScript Library. Reference ( Simplilearn youtube channel, Node.js documentation)

API

API stands for Application Programming interface.API is an interface used by programs to interact with application,which mean that API allow the applications  to communicate with each other. Really API is not a database or server,API is the code that give the access point for the server.

Node.js MongoDB

Now a days all web based application has some database to store the data at the back end. Nodejs frame work have the ability to work with both relational and non relational database. Node.js  MongoDB   NoSQL database mongodb quite fame because of its ability to store the any sort of data at any format.In order work we have to download required module.Mongodb required the module to be installed is mongoose.And also with these modules we can perform many operations.Before that we have to get start mongodb in nodejs. 1.Install MongoDB Driver * We can download from official mongodb driver or open in terminal and execute it     npm install mongodb * Node.js used this module to manipulate mongodb database.   var  mongo = require( 'mongodb' ); 2.Node.js  MongoDB  Create Database To create a database: 1.Create the Mongoclient object 2.Specify the url connection (correct ip address and name of the database want...