command-line-murders/i-035782ea54c8902b0
by SadServersMore by SadServers
crontab [ -u user ] [ -i ] { -e | -l | -r } (default operation is replace, per 1003.2) -e (edit user's crontab) -l (list user's crontab) -r (delete user's crontab) -i (prompt before deleting user's crontab) admin@i-0707c9522c663d8b0:/etc$ crontab -e -u admin no crontab for admin - using an empty one Select an editor. To change later, run 'select-editor'. 1. /bin/nano <---- easiest 2. /usr/bin/vim.basic 3. /usr/bin/vim.tiny Choose 1-3 [1]:
paris/i-0707c9522c663d8b0 02:00
by SadServers└─576 /usr/bin/python3 /home/admin/webserver.py Dec 06 15:26:25 i-0698a665f0c5ecc54 systemd[1]: Started Flask Application. Dec 06 15:26:25 i-0698a665f0c5ecc54 python3[576]: * Serving Flask app 'webserver' Dec 06 15:26:25 i-0698a665f0c5ecc54 python3[576]: * Debug mode: off Dec 06 15:26:26 i-0698a665f0c5ecc54 python3[576]: WARNING: This is a development server. Do not use it in a production deployment. Use a product> Dec 06 15:26:26 i-0698a665f0c5ecc54 python3[576]: * Running on http://127.0.0.1:5000 Dec 06 15:26:26 i-0698a665f0c5ecc54 python3[576]: Press CTRL+C to quit admin@i-0698a665f0c5ecc54:~$
paris/i-0698a665f0c5ecc54 06:06
by SadServerstotal 48 drwxr-xr-x 6 admin admin 4096 Nov 9 15:47 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 20 15:52 .ansible -rw------- 1 admin admin 689 Nov 9 15:47 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Sep 20 15:56 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rw-r--r-- 1 admin admin 131 Nov 9 15:41 c -rw-r--r-- 1 admin admin 0 Nov 9 15:47 file.py -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-0c431aae291ececb8:~$