Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Intro2sc Handson
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ilya Zhukov
Intro2sc Handson
Commits
088f3dc6
Commit
088f3dc6
authored
May 14, 2024
by
Ilya Zhukov
Browse files
Options
Downloads
Patches
Plain Diff
Align text in the tip box
parent
ee1b55b1
No related branches found
No related tags found
No related merge requests found
Pipeline
#188511
passed
May 14, 2024
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/budgeting.md
+23
-9
23 additions, 9 deletions
docs/budgeting.md
with
23 additions
and
9 deletions
docs/budgeting.md
+
23
−
9
View file @
088f3dc6
...
@@ -54,25 +54,39 @@ An `inode` (index node) is a data structure used in Unix file systems to store m
...
@@ -54,25 +54,39 @@ An `inode` (index node) is a data structure used in Unix file systems to store m
:::tip[Handy commands]
:::tip[Handy commands]
View global data usage across all file systems
View global data usage across all file systems
```
df -h```
```
df -h
```
inode usage on all file systems
inode usage on all file systems
```
df -i
```
```
df -i
```
Breakdown of data usage in a directory
```dir```
(in ascending order)
Breakdown of data usage in a directory
```dir```
(in ascending order)
```
du -h --max-depth=1
<dir>
| sort -h
```
```
du -h --max-depth=1 <dir> | sort -h
```
List the inode usage in a directory
```dir```
(in ascending order)
List the inode usage in a directory
```dir```
(in ascending order)
```
du --inodes --max-depth=1
<dir>
| sort -h
```
```
du --inodes --max-depth=1 <dir> | sort -h
```
Identify the inode of a file
Identify the inode of a file
```
ls -il
<file>
```
```
ls -il <file>
```
Identify the inode of a directory
Identify the inode of a directory
```
ls -idl
<dir>
```
```
ls -idl <dir>
```
Display the metadata of a file or directory
Display the metadata of a file or directory
```
stat
<file
|
directory
>
```
```
stat <file|directory>
```
:::
:::
...
...
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