paris/i-0d9acc064ebecf96a
by SadServersMore by SadServers
mke2fs 1.46.2 (28-Feb-2021) Could not open /dev/vg/lv: Permission denied admin@i-08aea5ba068999888:~$ sudo mkfs.ext4 /dev/vg/lv mke2fs 1.46.2 (28-Feb-2021) Creating filesystem with 522240 4k blocks and 130560 inodes Filesystem UUID: af627478-be69-4f91-b7e3-a2714e4f1747 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Allocating group tables: done Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done admin@i-08aea5ba068999888:~$ df -h
kihei/i-08aea5ba068999888 01:06
by SadServersadmin@i-0215c6153f5619eae:~$ ls -a .ansible/tmp/ . .. admin@i-0215c6153f5619eae:~$ ls -a agent/ . .. check.sh sadagent sadagent.txt admin@i-0215c6153f5619eae:~$ ls -a agent/sadagent agent/sadagent admin@i-0215c6153f5619eae:~$ ls -a agent/sadagent sadagent sadagent.txt admin@i-0215c6153f5619eae:~$ ls -a agent/sadagent sadagent sadagent.txt admin@i-0215c6153f5619eae:~$ less agent/check.sh admin@i-0215c6153f5619eae:~$ less agent/sadagent.txt admin@i-0215c6153f5619eae:~$ less agent/sadagent "agent/sadagent" may be a binary file. See it anyway? admin@i-0215c6153f5619eae:~$ sudo echo '
paris/i-0215c6153f5619eae 05:50
by SadServers# Define the range of ports you want to test (from PORT_START to PORT_END) PORT_START=1 PORT_END=65535 # Define the target host (localhost in this case) TARGET_HOST="localhost" # Loop through the range of ports and run curl with a 1-second timeout for ((port = PORT_START; port <= PORT_END; port++)); do "$TARGET_HOST:$port" &>/dev/null if [ $? -eq 0 ]; then echo "Port $port is open" fi done