Linux Commands
Linux Commands
Pull Harddrive Model and Vendor Info
cat /sys/class/block/sdc/device/{model,vendor}
Find a String within a file
grep 'string' /etc …cat /sys/class/block/sdc/device/{model,vendor}
grep 'string' /etc …use pelican-bootstrapify https://github.com/getpelican/pelican/issues/1421
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import …