mirror of
https://github.com/sahinakkaya/til.git
synced 2024-11-14 04:59:38 +01:00
7 lines
112 B
Markdown
7 lines
112 B
Markdown
You can get the size of a file in bytes with:
|
|
```
|
|
stat -c %s file_name
|
|
# example
|
|
size=$(stat -c %s $myfile)
|
|
```
|