kihei/i-01b30fb688f4b5b56
by SadServersMore by SadServers
rm: cannot remove 'datafile': Permission denied admin@i-0726590fe1fcdef99:/mnt/new_partition$ sudo srm datafile sudo: srm: command not found admin@i-0726590fe1fcdef99:/mnt/new_partition$ sudo rm datafile admin@i-0726590fe1fcdef99:/mnt/new_partition$ ls lost+found admin@i-0726590fe1fcdef99:/mnt/new_partition$ cd / admin@i-0726590fe1fcdef99:/$ ls bin dev home lib32 libx32 media opt root sbin sys usr boot etc lib lib64 lost+found mnt proc run srv tmp var admin@i-0726590fe1fcdef99:/$ cd home/admin/ admin@i-0726590fe1fcdef99:~$ ls agent data datafile kihei admin@i-0726590fe1fcdef99:~$ ln -s /mnt/new_partition/ test admin@i-0726590fe1fcdef99:~$ ls
kihei/i-0726590fe1fcdef99 06:04
by SadServers# kihei runs succesfully res=$(/home/admin/kihei) res=$(echo $res|tr -d '\r') if [[ "$res" = "Done." ]] then echo -n "OK" else echo -n "NO" fi admin@i-0afe27aa1ce9cfeda:~/agent$ ls -l /home/admin/datafile |cut -d' ' -f 5 5368709120 admin@i-0afe27aa1ce9cfeda:~/agent$ ls -l /home/admin/datafile -rw-r--r-- 1 root root 5368709120 Sep 17 2023 /home/admin/datafile admin@i-0afe27aa1ce9cfeda:~/agent$
kihei/i-0afe27aa1ce9cfeda 00:59
by SadServerstage of Voter Turnout/Pourcentage de la participation électorale,Elected Candidaadmin@i-04f112c0886f6813b:~$ head table_tableau11.csv -n 2 Province,Electoral District Name/Nom de circonscription,Electoral District Numbon,Population,Electors/Électeurs,Polling Stations/Bureaux de scrutin,Valid Ballontage of Valid Ballots /Pourcentage des bulletins valides,Rejected Ballots/Bulle Rejected Ballots /Pourcentage des bulletins rejetés,Total Ballots Cast/Total detage of Voter Turnout/Pourcentage de la participation électorale,Elected Candida"Newfoundland and Labrador/Terre-Neuve-et-Labrador","Avalon",10001,81540,68487,2,61.7,"McDonald, Ken Liberal/Libéral" admin@i-04f112c0886f6813b:~$ python3 Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. >>> with open("table_tableau11.csv") as fp: ... for i in fp.readlines