EanderAlx.org

Linux, Virtualization and whatever I find interesting ...

User Tools


Site Tools


bloglist

Check for empty variables

  • If you want to check for a empty bash variable you can do this like given here:

Calculate in bash

  • If you want to calculate with an integer it's possible without using other programs.

Bash - Parameters

  • The first parameter passed to the script is $1, the second $2 and so on
  • If you want to to check more then one possibilities of parameter passed to the script then a case is useful

Bash - Functions

  • How to use functions in bash
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
bloglist.txt · Last modified: 23.03.2013 19:10 by eanderalx