본문 바로가기 메뉴 바로가기

Programmers

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Programmers

검색하기 폼
  • 개발 노트 (287)
    • VUEJS (21)
    • JAVA (3)
    • Python (10)
    • HTML CSS JS (72)
    • Servlet JSP (67)
    • JDBC (19)
    • Oracle Database (21)
    • POSIX CLI (13)
    • Git (34)
    • 알고리즘 (4)
    • 개발자 취업 준비 (8)
    • 스크랩 [정보] (1)
    • 이것저것 정리 (6)
  • 방명록

nano (2)
POSIX CLI1: 파일수정과 삭제

1. 파일 수정 nano hello.txt: 파일내용 수정 mv hello.txt hello_world.txt: 파일 이름을 hello.txt에서 hello_world.txt로 수정 mv hello_world.txt../hello_world.txt: hello_world.txt 파일을../hello_world.txt(부모 디렉터리)로 이동 2. 파일 삭제 rm hello_world.txt: hello_world.txt 파일 삭제 *tip: rm h+tap ☞ hello_world.txt자동완성 기능 출처: https://opentutorials.org/module/3747/22524

POSIX CLI 2021. 5. 23. 20:32
POSIX CLI1: 파일생성과 읽기

1. 파일 생성 nano: 편집기 실행 nano 편집기 화면 hello world 작성 후 ^(꺽쇠) ☞ Ctrl ^O Write Out ☞ 저장 File Name to write: hello.txt ☞ hello.txt로 저장 hello world!로 수정 후 ^X(EXIT) 종료 선택 시 Save modified buffer? ☞ 수정된 내용을 저장하겠냐? 저장 후 ls -la로 hello.txt 파일이 생성된 것을 확인 2. 파일 읽기 nano hello.txt: hello.txt파일 nano편집기로 열기 cat hello.txt: 파일 간단한 읽기 출처: https://opentutorials.org/module/3747/22523

POSIX CLI 2021. 5. 23. 20:19
이전 1 다음
이전 다음
공지사항

Blog is powered by Tistory / Designed by Tistory

티스토리툴바