https://www.cheatsheet.wtf/Nano/
grep
with logic orgrep -e patter1 -e pattern1
- file stats:
stat [file]
anddebugfs
- remove lines matching pattern from file
- how-to-go-to-the-previous-working-directory-in-terminal
cd ~-
https://www.cheatsheet.wtf/Nano/
grep
with logic or grep -e patter1 -e pattern1
stat [file]
and debugfs
cd ~-
I felt the importance of directly editing a file from a DigitalOcean droplet on my Ubuntu Server. I research on the internet and made a way to do it.
################################################################################ | |
# | |
# R.nanorc -- nano syntax-highlighting file for R | |
# | |
# Origin: This file is part of the pkgutils package for R. | |
# | |
# Usage: This file should be placed in a directory such as /usr/share/nano/ (on | |
# Ubuntu 12.04). That nano uses syntax highlighting at all might need to be | |
# enabled separately. |