User Tools

Site Tools

Return to Home page


This shows you the differences between two versions of the page.

Link to this comparison view

cs:bash_language [2019/02/26 14:33] (current)
Line 1: Line 1:
 +====== Bash Language ======
 +Some examples regarding the //bash// shell scripting language
 +  - [[cs:​bash_language:​Arguments]]:​ Passage of arguments from the shell to a //bash// script
 +  - [[cs:​bash_language:​Example 1]]: Extraction of some statistics regarding files (''​for''​ and ''​if''​ statements)
 +  - [[cs:​bash_language:​Example 2]]: Print the numbers between ''​1''​ and ''​20'',​ with the exception of the number ''​4''​ and ''​13''​ (''​while''​ and ''​if''​ statements).
 +  - [[cs:​bash_language:​Example 3]]: Sum of a set of numbers passed to the script as a command line argument.
 +  - [[cs:​bash_language:​Example 4]]: Script to obtain some statistics about running processes (bash ''​if''​ and ''​shift''​ commands)
 +  - [[cs:​bash_language:​Example 5]]: Found a file inside a list of directories

If you found any error, or if you want to partecipate to the editing of this wiki, please contact: admin [at]

You can reuse, distribute or modify the content of this page, but you must cite in any document (or webpage) this url:
/web/htdocs/ ยท Last modified: 2019/02/26 14:33 (external edit)

Privacy Policy