Tag: shell script
The parameters can be passed as command line to the shell scripts as $1, $2 etc. However, if there are many parameters, passing via command line is not ideal …
If your account does not have credits, you instances may be suspended, which may not be what you want. To get notified before the account runs out of credit, …
The Linux Shell provides a useful calculator which is bc. It may be short for ‘bash calculator’. The bc takes the following parameters. root@uploadbeta:~# bc --help usage: bc -h …
September 14, 2014
algorithms, BASH Shell, batch script, beginner, code, code library, console, data structure, implementation, linux, programming languages, Shell Scripts
If you major in Computer Science, you must know the 8-queens problem, which is a classical Artificial Intelligent problem that can be solved using back tracing. Previous posts can …
BASH script under linux supports the for loops. There are quite a few ways to write for loops. 1. List the Values for I in 1 2 3; do …