Interaktív shell script

Felhasználói INPUT olvasása:

  1. #!/bin/bash
  2. # Ask the user for their name
  3. echo Hello, who am I talking to?
  4. read varname
  5. echo It\'s nice to meet you $varname

Последнее изменение: Sunday, 7 November 2021, 19:51