linux gui process session env var manager

分享

路径

~/.profile
~/.config/environment.d/*
/etc/environment*
/etc/profile*

工具

systemctl --user show-environment
/proc/$pid/environ

阅读更多

comprehensive some mod and net tip show

今天玩了一下modinfo,主要是一直对linux内核裁剪有兴趣,但是没什么条件熟悉这一块的外围。 lsmod | Select-Object -Skip 1 | ForEach-Object { $m=$_.Split()[0] $info=modinfo $m [PSCustomObject]@{ Module=$m Description=($info | Select-String "^description:" | ForEach-Object {$_.Line -replace "description:\s*",""}) Depends=($info | Select-String "^depends:" | ForEach-Object {$_.Line -replace "depends:\s*

By bakamake