Last active
October 26, 2016 19:33
-
-
Save altherlex/9195f766859bf466a861 to your computer and use it in GitHub Desktop.
Track Back around who execute your method
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# All users crontab. More http://www.thegeekstuff.com/2009/11/how-to-install-edit-or-remove-cron-jobs-in-batch-mode/ | |
ls /var/spool/cron/crontabs/ | |
# An array with a list of files who invoke to irrive in method inspected. | |
ruby method caller | |
# list all linux users | |
cat /etc/passwd | |
# list w/ filters | |
ls -l | grep 15 | awk -v x=9 '{print $x}' | |
#or | |
ls -l | grep 15 | awk '{print $9}' | |
# log ftp | |
tail -f /var/log/proftpd/proftpd.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment