Javatpoint.com is changed to TpointTech.com
Nano editorGNU nano is a friendly and convenient text editor like vi and emac. It offers many other extra features like word searching, replacing, jump to a line or column, filename tab completion, auto-indentation, etc. Nano is a clone of the pico text editor. Nano is not pre-installed in all distros, but Ubuntu has it. Syntax: Look at the above snapshot, this is the default nano screen on passing command "nano". At the top, GNU nano version is shown at the left and in the middle filename is shown being edited (currently no file is being edited hence New Buffer is written). At the end of the screen, keyboard commands are given. Command written as ^G means press ctrl + g key and command M-R means press alt + r. There is no use of uppercase letter in any of the keyboard command in nano editor. You can use lowercase letter with ctrl and alt keys. Note:For MAC users escape key is used instead of alt key. Press ctrl + g for the help menu. You'll get all information about nano editor in this menu. Next TopicLinux shred |
Javatpoint.com is now changed to TpointTech.com, so we request you to subscribe our newsletter for further updates.
Top Command in Linux/Unix with Examples The top command displays all the running process within the environment of your system. It helps in monitoring system usage and performances. It is mainly used to detect load on the server by system administrators. The top command stands for table of...
6 min read
List process with specific PPID As mentioned earlier, some process may have PPID along with PID number. All the sub processes having same PPID number may be listed by mentioning PPID number. Syntax: ps -f --ppid <PPID> Example: ps -f --ppid 1517 Look at the above snapshot, all the sub processes of...
1 min read
Display specific username To know the log in details of a specific user, use the username as argument of last command. Syntax: last <username> Example: last <username> Look at the above snapshot, it displays log in information only about user sssit. Display reboot information To know the reboot details, use following command Syntax: last reboot Look at...
1 min read
ps Command in Linux/Unix with Examples The ps command is used to view currently running processes on the system. It helps us to determine which process is doing what in our system, how much memory it is using, how much CPU space it occupies, user ID, command...
6 min read
Downloading in background While downloading a large file, to save your time, you can download the file in the background and meanwhile work on the terminal using option b. Syntax: wget -b <URL> Example: wget -b https://www.google.com/doodles/australia-day-2015 Look at the above snapshot, we got our terminal back while downloading is still in...
1 min read
Linux free -s Memory status can be updated regularly at a specific interval with the help of s option. It shows continuous varying of RAM usage at specified interval of time. By default, specified time is in seconds. Syntax: free -s <time> Example: free -s 4 Look at the above snapshot, memory status...
1 min read
free command The free command gives information about used and unused memory usage and swap memory of a system. By default, it displays memory in kb (kilobytes). Memory mainly consists of RAM (random access memory) and swap memory. Swap memory is a part of hard disk drive that acts...
1 min read
Completing partially downloaded file Suppose you are downloading a very large file, after 80% downloading your internet connection is interrupted due to some reason and file is not completely downloaded. In this case, instead of starting a whole download again, just restart downloading from where it stopped...
1 min read
The route command displays and manipulate IP routing table for your system. A router is a device which is basically used to determine the best way to route packets to a destination. Syntax: route Look at the above snapshot, it displays all existing routing table entries on our system. It shows...
1 min read
Download single file Single file can be downloaded with following syntax. By default this file is saved in the current directory. Syntax: wget <URL> Example: wget https://www.google.com/doodles/gerardus-mercators-503rd-birthday Look at the above snapshot, it display a progress bar showing the downloading status. Starting from the left progress bar indicates, download completion in percentage (for e.g....
1 min read
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India