This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux:scripts:basics [2014/06/05 15:44] – [Commands] lunetikk | linux:scripts:basics [2015/06/15 15:37] – lunetikk | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Commands ===== | ===== Commands ===== | ||
- | ^ Command | + | ^ Command |
- | | # | + | | # |
- | or\\ | + | |
- | # | + | |
| VAR=var | | VAR=var | ||
| $VAR | inserts var whereever $VAR is placed | | $VAR | inserts var whereever $VAR is placed | ||
| case - esac | inserts case | | | case - esac | inserts case | | ||
- | | if - fi | inserts | + | | if [ " |
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
Line 29: | Line 27: | ||
Fix:\\ | Fix:\\ | ||
- | Make your script | + | Make your script |
< | < | ||
+ | \\ | ||
+ | \\ | ||
+ | ~~DISCUSSION~~ | ||