paris/i-013a8ed80353e321b
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=5,direct,pipe_ino=807) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatimconfigfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) /dev/nvme0n1p15 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepaortname=mixed,utf8,errors=remount-ro) admin@i-08f29920237256d8d:~$ free -m total used free shared buff/cache availableMem: 455 73 213 0 168 369Swap: 0 0 0 admin@i-08f29920237256d8d:~$ man strace admin@i-08f29920237256d8d:~$ strace ./kihei
kihei/i-08f29920237256d8d 03:41
by SadServersdrwxr-xr-x 18 root root 4096 Dec 29 19:37 .. drwxr-xr-x 2 root root 24576 Sep 24 23:20 bin drwxr-xr-x 2 root root 4096 Apr 10 2021 games drwxr-xr-x 35 root root 4096 Sep 24 23:19 include drwxr-xr-x 54 root root 4096 Sep 24 23:20 lib drwxr-xr-x 2 root root 4096 Sep 28 2021 lib32 drwxr-xr-x 2 root root 4096 Sep 20 15:53 lib64 drwxr-xr-x 4 root root 4096 Sep 28 2021 libexec drwxr-xr-x 2 root root 4096 Sep 28 2021 libx32 drwxr-xr-x 10 root root 4096 Sep 20 15:53 local drwxr-xr-x 2 root root 12288 Sep 24 23:19 sbin drwxr-xr-x 91 root root 4096 Sep 24 23:19 share drwxr-xr-x 2 root root 4096 Apr 10 2021 src admin@i-0ef21dcd15d0bb4ad:/usr$ cd .. admin@i-0ef21dcd15d0bb4ad:/$ ls -la /mnt/
paris/i-0ef21dcd15d0bb4ad 02:47
by SadServers-rw------- 1 admin admin 571 Jan 17 11:50 .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 -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-079028a920acbbf53:~$ less .bashrc admin@i-079028a920acbbf53:~$ less .profile .ansible/ .bash_history .bash_logout .bashrc .config/ .prof agent/ webserver.py admin@i-079028a920acbbf53:~$ less .profile admin@i-079028a920acbbf53:~$ less .bash_history admin@i-079028a920acbbf53:~$