Don't reinvent the wheel
There could already exist some tool for doing what you need.
Check your history files
grep mycommand .*history
Don't use command line arguments or environment variables to store sensible datas (like password)!
Always use fd (file descriptors)! Try
ps axefwww
to read all command lines and environment, currently running on your host
F. Hauri - Give Up GitHub
- 4.7k
- 2
- 23
- 34