Skip to content
Snippets Groups Projects
Commit 088f3dc6 authored by Ilya Zhukov's avatar Ilya Zhukov
Browse files

Align text in the tip box

parent ee1b55b1
No related branches found
No related tags found
No related merge requests found
Pipeline #188511 passed
...@@ -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>
```
::: :::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment