Skip to content

G3iX/Shell-Bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scripts list:

This is an image This is an image

ENG

sh1: A shell script that displays all user groups that exist on the system and counts their number.

sh2: a shell script that, based on the date entered by the user, prints the name of the day of the week on the screen.

sh3: bash script that sorts inputted numbers.

sh4: shell script for copying one file to another.

sh5: A shell script that counts and prints to the screen the number of options (arguments preceded by -) and arguments (arguments not preceded by -) for a command on the command line.

sh6: A shell script that copies the contents of the directory specified by the first argument to the directory specified by the second argument.

sh7: A shell script that prompts for a number between 1 and 5. It then prints a doubled value. The next line prints the value of the previous one, doubled, and so on, until a result greater than that number multiplied by 50 is printed.

sh8: script that compiles the program with various optimizations (-O) and measured its running time. If the time is small enough, it measures the running time of the algorithm starts in a cycle.

UKR

sh1: shell-сценарій, який виводить на екран усі групи користувачів, що існують у системі, і підраховує їх кількість.

sh2: shell-сценарій, який за введеною користувачем датою друкує на екрані назву дня тижня.

sh3: bash-сценарій, який сортує введені цифри.

sh4: shell-сценарій копіювання одного файла в інший.

sh5: shell-сценарій, який підраховує та друкує на екрані кількість опцій (аргументи, яким передує символ –) та аргументів (аргументи, яким не передує символ –) для команди у командному рядку.

sh6: shell-сценарій, що виконує копіювання вмісту каталогу, який задається першим аргументом до каталогу, що задається другим аргументом.

sh7: shell-сценарій, який запрошує введення числа між 1 та 5. Далі він друкує збільшене вдвічі введене значення. У наступному рядку друкується значення попереднього, збільшеного вдвічі й т.д., доки не буде надруковано результат, більший за це число помножене на 50.

sh8: сценарій, який компілює програму з різними оптимізаціями (-O) та виміряв час її роботи. Якщо час досить малий - вимірює час роботи запусків алгоритму в циклі(обирається вами).

Releases

No releases published

Packages

No packages published

Languages