mirror of
https://github.com/sahinakkaya/til.git
synced 2024-12-22 23:29:37 +01:00
7 lines
116 B
Markdown
7 lines
116 B
Markdown
You can get the size of a file in bytes with:
|
|
```bash
|
|
stat -c %s file_name
|
|
# example
|
|
size=$(stat -c %s $myfile)
|
|
```
|