1969 shaares
6 private links
6 private links
13 results
tagged
script
The Principle of Least Privilege says that software shouldn't be executed with more authority than it needs to get its job done. Unfortunately, following this principle is hard; most operating systems are configured so that the scripts and programs you run can do anything you can.
SOme stuff on bash programming
for i in pidof python
; do cat /proc/$i/cmdline | tr "\0" " " | sed "s/$/ $i\n/"; done
sed '/test/{/error|critical|warning/d}' somefile
a web server in bash using netcat