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
28ce8ad1
Commit
28ce8ad1
authored
3 years ago
by
한소진
Browse files
Options
Downloads
Patches
Plain Diff
Update linux.md
parent
38daa954
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
linux.md
+34
-3
34 additions, 3 deletions
linux.md
with
34 additions
and
3 deletions
linux.md
+
34
−
3
View file @
28ce8ad1
...
...
@@ -2,6 +2,37 @@
### 파일, 디렉토리 관련 명령
1.
cd, pwd, mkdir, rmdir
1.
cat - 파일 보는 명령
1.
more - 파일을 한페이지씩 보는 명령
-
cd, pwd, mkdir, rmdir
-
cat - 파일 보는 명령
-
more - 파일을 한페이지씩 보는 명령
-
ls : 현재 작업하는 디렉토리에 무슨 파일이 있는지 보여주는 명령어
-
ls -a : 숨겨준 파일도 보여줌 -> 파일명이 .으로 시작하면 숨겨진 파일
-
. : 현재 디렉토리
-
.. : 상위 디렉토리
-
man : 메뉴얼
-
touch : file 만들기
-
cp A B :a를 b에 카피
### link _ hardlink & softlink(=symoblic link)
-
```ln, ln -s```
-
hardlink
: 원본 파일도 같이 수정됨
: inode도 번호 동일 (ls -i, ls -li, ls -ali로 볼 수 있음)
-
softlink
: inode 다름
: byte 수가 slink 된 파일길이 만큼
: 내용은 동일하게 담기더라
#### 시험에 나온대
home directory는 /etc/passwd 파일에서 지정
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