[Linux] 3. 파일 및 디렉토리 관리
2022. 7. 20. 18:30
Linux
(Week 2 - Day 3) - (1/3) RegExr https://regexr.com/ RegExr: Learn, Build, & Test RegEx RegExr is an online tool to learn, build, & test Regular Expressions (RegEx / RegExp). regexr.com https://en.wikipedia.org/wiki/Regular_expression Regular expression - Wikipedia From Wikipedia, the free encyclopedia Jump to navigation Jump to search Sequence of characters that forms a search pattern "Regex" re..
[Linux] 2. 파일 및 디렉토리 관련 명령어
2022. 7. 19. 18:52
Linux
(Week 2 - Day 2) - (2/2) 주요 디렉토리 디렉토리 설명 bin 시스템의 명령어가 위치하는 디렉토리 sbin 시스템 관리 명령어가 위치하는 디렉토리 dev 하드웨어 장치 파일 위치 etc 시스템 구성 파일 저장 home 일반 사용자의 홈 디렉토리가 위치 root root 사용자의 홈 디렉토리 run 시스템의 런타임 데이터 저장 boot 부팅 관련 디렉토리 tmp 임시파일 저장 usr 설치된 소프트웨어 파일 및 라이브러리 파일이 위치 var 시스템의 가변 데이터 저장 / 실행되기 위해 참조, 저장해야 하는 데이터, Log 데이터 -> 중요하다. - 운영체제는 혼자서 실행이 안돼서 부트 프로그램이 필요하다. - 편리함을 생각해서 바로 root 사용자로 작업을 들어가면 위험하다. 꼭 필요할 때..
[Linux] 1. 기본 명령어
2022. 7. 19. 18:27
Linux
(Week 2 - Day 2) - (1/2) Before 리눅스 시스템 기본 환경 리눅스 배포판(Distribution) - kernel + app 크게 데비안과 레드햇으로 나뉜다. (본인은 CentOS 7 사용예정) 리눅스 로그인 CLI - Command line interface - 기본 사용환경이고 자동화, 명령어 위주이기에 불필요한 리소스를 쓰지 않는다. GUI - 편의 제공을 위한 애플리케이션 환경 제공 - 서버에서는 사용하지 않는다. cuz, 서버에서는 영상 시청, 문서 작성이 필요없기 때문이다. 본인은 당연히 CLI를 사용한다. 명령어 기본 구조 Command [option] [argument] command : 설치되어 있는 프로그램 이름 - (/usr/bin, /usr/sbin, /bin..
[Linux] 0. 리눅스를 위한 도구 설치
2022. 7. 19. 17:59
Linux
(Week 2 - Day 1) - (2/2) Virtualbox - 설치 - 가상컴퓨터 상태를 확인할 수 있다. - Vagrant와의 충돌 가능성이 있으니 virtualbox에서 설정은 건드리지 않기로 한다. Vagrant - 설치 후 재부팅 세팅 powershell에서 작업을 하게 된다.(cmd 말고 powershell을 사용하자) > mkdir -p vagrant/linux : 디렉토리 생성 > cd vagrant/linux : 디렉토리 이동 > vagrant init generic/centos7 : Vagrantfile 생성 > vagrant up : VM 생성/부팅 - Vagrantfile이 없으면 실행이 안된다. > vagrant status : VM 상태확인 > vagrant halt : VM..
[Linux] 0. 리눅스 기초
2022. 7. 19. 17:10
Linux
(Week2 - Day1) - (1/2) OS https://en.wikipedia.org/wiki/Operating_system Operating system - Wikipedia From Wikipedia, the free encyclopedia Jump to navigation Jump to search Software that manages computer hardware resources An operating system (OS) is system software that manages computer hardware, software resources, and provides common services for compu en.wikipedia.org User Application Opera..