Here is a pro tip for developers and IT pros: The following command will hide al...

@nixCraft@mastodon.social

Here is a pro tip for developers and IT pros: The following command will hide all Linux processes from ps and any other process running inside LXD/Incus/Docker, etc. This is useful in shared setups and will improve your security, especially when users pass APIs or keys using the CLI, so other processes can't see them with `hidepid=2` option:

`sudo mount -o remount,rw,nosuid,nodev,noexec,relatime,hidepid=2 /proc`

More here cyberciti.biz/faq/linux-hide-p