Wpis z mikrobloga

@mutencath: @vytah: a to są jakieś pdfy z pytaniami z CompTIA Linux+ które znalazłem na necie. Tak sobie z nudów przeglądam w robocie różne testy po prostu :P Kolejne pytanie:

A systems administrator is troubleshooting an intermittent network connection at the IP address 192.168.1.23. The administrator wishes to monitor the connection at five-minute intervals for one hour. Which of the following commands will accomplish this task?

A. ping -i 5 192.168.1.23
B.
  • Odpowiedz
@OperatorHydrolokator: Ale ułom, kto tak pisze... for ip in $(cat file) jest do luftu bo dzieli po wyrazach a nie po linijkach ¯\_(ツ)_/¯ poprawnie robisz tak: mapfile -t ips <file for pi in "${ips[@]}"` wtedy możesz sobie ustawić taki delimiter jaki ci pasi.
  • Odpowiedz