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:22] – lunetikk | linux:scripts:basics [2017/03/01 12:50] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Commands ===== | ===== Commands ===== | ||
- | ^ Command | + | ^ Command |
+ | | # | ||
| 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 26: | Line 27: | ||
Fix:\\ | Fix:\\ | ||
- | Make your script | + | Make your script |
< | < | ||
+ | \\ | ||
+ | \\ | ||
+ | ~~DISCUSSION~~ | ||