head.daveops.net

Snippets for yer computer needs

proc

Get filesystems kernel can use

# Get filesystems kernel can use
cat /proc/filesystems
# Get mounted file systems
cat /proc/self/mounts
# Get arguments to kernel from bootloader
cat /proc/cmdline

Get kernel command line arguments

cat /proc/cmdline