> For the complete documentation index, see [llms.txt](https://book.ferro.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.ferro.pro/dev/snippets.md).

# snippets

## Linux

<https://github.com/fzinfz/scripts/blob/master/linux/init.sh>

```bash

date "+%Y%m%d_%H%M%S"

```

## Python

<https://github.com/fzinfz/ipynb/tree/main/python>

```python

import time
f = "_" + str(time.strftime('%Y%m%d_%H%M%S', time.localtime(time.time()))) + '.xlsx'

import subprocess
print(subprocess.check_output(['cat', path]))
print(subprocess.check_output(cmd, shell=True).strip())

```
