기본 콘텐츠로 건너뛰기

Nano editor shortcut


Command Line Arguments

-A
Makes the Home key behave more intell­igently (moving to beginning of non-wh­ite­space charac­ters, instead of the beginning of the line, as is default.)
-B
Backs up edits to a copy of the file in the current directory with the suffix ~.
-E
Convert typed tabs to spaces.
-L
Don't add newlines to the ends of files.
-N
Disable automatic conversion of files from DOS/Mac format.
-O
Use the blank line below the titlebar as extra editing space.
-S
Enable smooth scrolling. Text will scroll line-b­y-line, instead of the usual chunk-­by-­chunk behavior.
-c
Constantly show the cursor position.
-w
disable wrapping of long lines.
-$
Enable softwrap (wraps lines instead of horizontal scrolling.)

NOTE: Because $ is treated as a variable by many execution enviro­nments, it is advisable to flag this option separately from others you may be using, e.g.: 
nano -ALNc -$ textfi­le.txt
nano [OPTIONS] [[+LIN­E,C­OLUMN] FILE]...




Shortcuts

^G
Display help text.
^O
Write the current file to disk
^X
Exit nano.
^T
Invoke spellc­heck, if installed.
^Y
Next screen.
^V
Previous screen.
^L
Refresh (force redraw) current screen.
^J
Justify current paragraph. (Join together broken lines of text until double newline is encoun­tered.)
^W
Search for a string or regular expres­sion.
^\
Search and replace a string or regular expres­sion.



이 블로그의 인기 게시물

Docker Tutorial (Docker Toolbox)

https://www.docker.com/products/overview 설치파일 다운로드. 내 맥북은 가상화를 지원하지 않는 CPU를 가진 2009년형. 그래서 Docker for Mac 사용불가하여 Docker Toolbox 설치. mkdir yourdockerbuild cd yourdockerbuild touch Dockerfile nano Dockerfile FROM imageNameOnHub:version - 불러올 이미지 RUN *** - 최초 실행할 명령 (설치명령 등. image 안에 설치됨) CMD *** - 이미지가 로딩되면 실행할 명령 docker build -t yourImageName . docker run yourImageName 추가로 hub를 통하지 않고 Image를 이동 하려면 Docker Registry 사용 도커 레지스트리 (Docker Registry) 설치하기 + S3 연동

Tiled Map Editor 타일맵 제작 툴

http://www.mapeditor.org/ 타일맵을 만들어주는 그래픽 툴. (꼭 플래시에서만 쓰는 건 아닙니다.) 저장은 xml로도 할 수 있고, 기본적으로는 zlib로 압축, base64로 인코딩 되도록 되어있다. xml로 저장하면 용량이 무지 커지기 때문에 압축이 필수라고 한다. xml이 아닌 압축된 데이터를 플래시에서 읽어오는 법이 검색해보니 나왔다. http://blog.naver.com/PostView.nhn?blogId=ogoon1004&logNo=30105702197 FlashPunk 엔진과 Tiled Map Editor를 이용해서 뭔가 만들어봐야겠다.

Start GPIO node.js app at Raspberry pi starting (systemd)

/etc/systemd/system/yourService.service [Unit] Description=yourService [Service] ExecStart=/usr/bin/node yourPrj/bin/www User=pi Restart=always [Install] WantedBy=multi-user.target Start node as service sudo systemctl start /etc/systemd/system/yourService.service Check service status  sudo systemctl status /etc/systemd/system/yourService.service View a log sudo journalctl