Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
FOSS-lab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
영일 곽
FOSS-lab
Commits
f99bb796
Commit
f99bb796
authored
2 years ago
by
영일 곽
Browse files
Options
Downloads
Patches
Plain Diff
Add new file
parent
0b15b842
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
foss_lab/lab0914/readme.md
+38
-0
38 additions, 0 deletions
foss_lab/lab0914/readme.md
with
38 additions
and
0 deletions
foss_lab/lab0914/readme.md
0 → 100644
+
38
−
0
View file @
f99bb796
ls -al / / 속한 파일 그룹/
특정 디렉토리의 퍼미션을 설명하시오.
이 파일을 소유하고있는 소유자와 소유자를 뺀 나머지 사람은
chmod
chmod + (u, g, o)+(r,w,x) 파일명 - 해당 파일을 유저, 그룹, 모든 사용자 에게 읽기, 쓰기, 실행 권한 부여
chmod 765 - 파일 사용자에게는 읽기,쓰기,실행 권한을 사용자 그룹에게는 읽기,쓰기 권한을 그외의 사용자에게는 읽기, 실행 권한을 부여
chmod 666 - 모든 사용자에게 읽기, 쓰기 권한만 부여
chmod 700 - 사용자에게만 모든 권한 부여 나머지 사용자는 모든 권한 x
유저랑 그룹퍼미션
테스트 디렉토리를 소유하고 있는
접근 권한, 쓰기 권한, 읽기 권한은 다르다.
df : 디스크 파일
케릭터 디바이스 : 터미널 , 프린터
mv file1 chulsoek/file2 - 현재 디렉토리의 file1 파일을 chulsoek디렉토리에 가져가고 이름을 fil2로 변경한다.
ls -li - inode가 나온다.
### 심볼링 링크
다른 파일이나 디렉토리를 가리키는 특수한 파일 형식
> inode란
>
>
> ```
> 파일을 기술하는 디스크 상의 데이터 구조로서 파일의 데이터 블록이 디스크 상의 어느 주소에 위치하고 있는가와 같은 파일에 대한 중요한 정보를 갖고 있다.
> ```
>
하드링크 - 기존 파일의 추가 이름과 비슷하며 파일의 추가 이름을 동일한 inode와 연결한다. 다른 파일 시스템 또는 파티션의 파일이나 디렉터리에 대한 하드링크를 만들 수 없다.
ln file1 link1 - file1이라는 이름으로 link1을 만든다.
소프트링크(symbolic link) - 특정 파일에 바로가기와 같은 역할을 한다. 파일 또는 디렉터리에 대한 간접 포인터로 다른 파일 시스템 또는 파티션의 파일이나 디렉터리를 가리킬 수 있습니다.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment