Git Product home page Git Product logo

linux_command's Introduction

linux_command

Linux 명령어

man : 명령어 도움말 보기

  • 기본형식 : man <옵션> 키워드
  • -k : 메뉴얼 목록 검색
  • -s : 입력한 섹션에서 메뉴얼 검색해서 출력
  • space : next page
  • enter : next line
  • b : backward
  • q : quit

ls : 파일목록보기

  • 기본형식 : ls <옵션> <파일 | 디렉토리>
  • -a : dot(.) 으로 시작하는 숨겨진 파일도 모두 보기
  • -l : 파일 | 디렉토리의 자세한 정보
  • -R : 하위 디렉토리까지 모두 출력
  • -d : 디렉토리 내용이 아닌 디렉토리 자체를 출력

mkdir : 디레토리 생성

  • 기본형식 : mkdir <옵션> <디렉토리이름>
  • -m : 퍼미션 설정
  • -p : 존재하지 않는 부모 디렉토리 설정

cd : 디렉토리 이동

  • 기본형식 : cd <디렉토리이름>
  • ~ : 홈 디렉토리로 이동
    • : previous 디렉토리로 이동

rmdir : 디레토리 삭제

  • 기본형식 : rmdir <옵션> <디렉토리이름>
  • -p : 비어있는 부모디렉토리 함께 삭제

rm : 파일 삭제

  • 기본형식 : rm <옵션> 파일이름 or 디렉토리이름
  • -I : 삭제할 때 한번 더 질문
  • -f : 무조건 삭제
  • -r : 하위 내용을 포함한 디렉토리 삭제

cp : 파일 복사

  • 기본형식 : rm <옵션> 원본파일이름 목적지파일이름
  • -I : 복사할 때 덮어쓰기 할건지 질문
  • -f : 무조건 덮어쓰기
  • -r : 디렉토리 복사

mv : 파일 이동

  • 기본형식 : mv <옵션> 원본파일이름 새이름
  • -I : 복사할 때 덮어쓰기 할건지 질문
  • -f : 무조건 덮어쓰기

linux_command's People

Contributors

hyeonjoonpark avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.