Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

nano with line numbers

nano --linenumbers [filename]
Comment

nano with line numbers

       -l, --linenumbers
              Display line numbers to the left of the text area.
Comment

nano line number

Accidentally found nice shortcut: Alt+#, which in some keyboard layouts can be done with Alt+Shift+3.
Comment

nano add line numbers

according to the man page for nanorc, you can add set linenumbers in ~/.nanorc, /etc/nanorc, $XDG_CONFIG_HOME/nano/nanorc or ~/.config/nano/nanorc.
Comment

nano show line numbers

To show line numbers along the side: ALT + SHIFT + 3
To show cursor position at the bottom: ALT + C (or CTRL + C for temporary)
Comment

nano line number

nano -l foo.txt
nano --linenumbers foo.txt
Comment

PREVIOUS NEXT
Code Example
Shell :: xstate install 
Shell :: stop elasticsearch 
Shell :: how to turn on wireguard 
Shell :: How to use Git for Unity3D source control? 
Shell :: download pgadmin 4 ubuntu 
Shell :: linux create file 
Shell :: connect to a vm from cloudshell 
Shell :: find command absolute path 
Shell :: how to create a script raspberry pi 
Shell :: how to checkout a remote branch in git 
Shell :: snapcraft 
Shell :: kali linux time settings 
Shell :: bash find touch 
Shell :: difference between git remote and git clone 
Shell :: append to multiple files bash 
Shell :: how to go to a previous commit state 
Shell :: windows battery report health 
Shell :: gzip multiple files at once 
Shell :: how to permanently install wifi drivers realtek 8723de in ubuntu 18.04 
Shell :: bash code for loop 
Shell :: ssh codecommit 
Shell :: kubernetes show all 
Shell :: ubuntu 20.04 aufräumen 
Shell :: select loop bash 
Shell :: shell save variable 
Shell :: find ubuntu usb port tty 
Shell :: install composer v2 ubuntu 
Shell :: upload file ssh terminal 
Shell :: git remove files untracked 
Shell :: Docker: Copying files from Docker container to host 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =