Recent content by melanie17

  1. M

    Shell Script - Loops

    Thank you for the detailed explanation @JasKinasis Very interesting and clear how you can write the code in different ways. Could learn a lot from your help, am very grateful! Definitely very helpful! Best regards
  2. M

    Shell Script - Loops

    Hi Chris, thanks for the welcome! I know you guys don't do the homework... I was just asking for input and if it is possible to use a loop instead of an if-statement. I have already written the code!
  3. M

    Shell Script - Loops

    okay! he has a statement when it is time to eat (noon: 11-14 o'clock, evening: 17-21 o'clock) during this time you can choose what you want (asian, fast food or veggie) and a random generator spits out the restaurant (stored in array) the other part of the code looks like this: #!/bin/bash...
  4. M

    Shell Script - Loops

    Hello Together I am new here, as well as on Linux or Ubuntu. Need to write a useful shell script that does something useful as an exercise. For this I have decided on a small program that helps you choose a restaurant. For this, of course, you need to know what you like to eat. The task says...
Top