command-line-murders/i-02733ef0ba922a11b
by SadServersMore by SadServers
-L possibly with LWP and NLWP columns -m, m after processes -T possibly with SPID column For more details see ps(1). admin@i-06321e2dae7759c94:~$ sudo lsof -i -P -n | grep LISTEN We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin:
paris/i-06321e2dae7759c94 04:30
by SadServersroot@i-04030e005632001c7:/home/admin# df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 388K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi tmpfs 46M 0 46M 0% /run/user/0 root@i-04030e005632001c7:/home/admin# cd /home/admin/ root@i-04030e005632001c7:/home/admin# ls agent data datafile kihei root@i-04030e005632001c7:/home/admin# mkdir /tmp/admin root@i-04030e005632001c7:/home/admin# mount /dev/mapper/vg_sad-lv_sadservers /
kihei/i-04030e005632001c7 13:44
by SadServerscrontab [ -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 SadServersiberal/Libéral" "Quebec/Québec","Laurier--Sainte-Marie",24039,107034,85056,228,54681,98.9,594,1.e NDP-New Democratic Party/NPD-Nouveau Parti démocratique" "Quebec/Québec","Laval--Les Îles",24040,103053,82438,216,54205,98.8,683,1.2,5488eral/Libéral" "Quebec/Québec","Lévis--Lotbinière",24042,107593,87339,251,62588,98.5,975,1.5,63servative/Conservateur" "Quebec/Québec","Longueuil--Charles-LeMoyne",24041,104895,83844,222,51707,98.2,9Sherry Liberal/Libéral" admin@i-0cb2fe887f3a8fa52:~$ ls agent table_tableau11.csv admin@i-0cb2fe887f3a8fa52:~$ echo "Shefford" >~/mysolution admin@i-0cb2fe887f3a8fa52:~$ md5sum mysolution 1fd2c4efbfb59885a8bfd64a8d7f4937 mysolution admin@i-0cb2fe887f3a8fa52:~$