Два скрипта . линукс
1)create script using pico which will output the number of days passed since the beginning of the year.
2)create script which will ask user to provide a value and then, according to the value provided:
1 - set some environmental variable
2 - output this environmental variable
3 - erase this environmental variable
4 - exit without errors
any other - exit with error
Объяснение:
1:
#!/usr/bin/env bash
echo date '+%j'
2: Нужна переменная сессионная или именно что окружения для всех?
#!/usr/bin/env bash
echo "Введите слово";
read Var1;
echo $Var1;
unset Var1;
exit 0;