Sunday, November 10, 2019

Terminal Nano commands


  1. Ctrl+L:-  Refresh the current screen
  2. Ctrl+G:- Display this help text
  3. Alt+M:-  Mouse support enable/disable
  4. Ctrl+X:- Close the current file buffer / Exit from nano
  5. Ctrl+O:- Write the current file to disk
  6. Ctrl+R:- Insert another file into the current one
  7. Ctrl+C:- Display the position of the cursor
  8. Ctrl+W:-Search for a string or a regular expression
  9. Ctrl+U:- Uncut from the cut buffer into the current line
  10. Ctrl+\:-  Replace a string or a regular expression
  11. Ctrl+K:-Cut the current line and store it in the cut buffer
  12. Ctrl+J:-Justify the current paragraph
  13. Ctrl+T:- Invoke the spell checker, if available
  14. Ctrl+_:- Go to the line and column number
  15. Alt+Z:-  Suspension enable/disable
  16. Ctrl+Y:- Go one screenful up
  17. Ctrl+V:- Go one screenful down
  18. Ctrl+B:- Go back one character
  19. Alt+J:-   Justify the entire fileer
  20. Ctrl+F:- Go forward one charact
  21. Ctrl+A:- Go to beginning of the current line
  22. Ctrl+E:- Go to end of the current line
  23. Ctrl+P:- Go to the previous line
  24. Alt+C:-  Constant cursor position display enable/disable
  25. Ctrl+N:- Go to next line
  26. Ctrl+:-   Space Go forward one word
  27. Ctrl+D:- Delete the character under the cursor
  28. Alt+\:-    Go to the first line of the file
  29. Alt+/:-    Go to the last line of the file
  30. Alt+W:-  Repeat the last search
  31. Ctrl+M:- Insert a newline at the cursor position
  32. Alt+U:-  Undo the last operation
  33. Ctrl+Z:- Suspend the editor (if the suspension is enabled)
  34. Alt+:-     Space Go back one word
  35. Alt+(:-    Go to beginning of the paragraph; then of the previous paragraph
  36. Alt+E:-   Redo the last undone operation
  37. Alt+):-    Go just beyond the end of the paragraph; then of next paragraph
  38. Alt+-:-    Scroll up one line without scrolling the cursor
  39. Alt++:-   Scroll down one line without scrolling the cursor
  40. Alt+F:-   Reading file into separate buffer enable/disable
  41. Alt+D:-  Count the number of words, lines, and characters
  42. Alt+X:-  Help mode enable/disable

No comments:

Post a Comment